forked from pool/weechat
- Make the thing build again on SLE11 as we use it in SUSE on
server :) OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=56
This commit is contained in:
parent
c1bc37a0ef
commit
9fdb85ec5c
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 23 09:24:24 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Make the thing build again on SLE11 as we use it in SUSE on
|
||||||
|
server :)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 26 14:30:57 UTC 2014 - gber@opensuse.org
|
Mon May 26 14:30:57 UTC 2014 - gber@opensuse.org
|
||||||
|
|
||||||
|
64
weechat.spec
64
weechat.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package weechat
|
# spec file for package weechat
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,40 +22,47 @@ Release: 0
|
|||||||
Summary: Portable, Fast, Light and Extensible Chat Client
|
Summary: Portable, Fast, Light and Extensible Chat Client
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
|
Url: http://www.weechat.org
|
||||||
Source: http://www.weechat.org/files/src/weechat-%{version}.tar.bz2
|
Source: http://www.weechat.org/files/src/weechat-%{version}.tar.bz2
|
||||||
Source1: weechat.desktop
|
Source1: weechat.desktop
|
||||||
# PATCH-FIX-UPSTREAM weechat-capath.patch https://savannah.nongnu.org/patch/index.php?8153 lnussel@suse.de -- use system's default certificate store
|
# PATCH-FIX-UPSTREAM weechat-capath.patch https://savannah.nongnu.org/patch/index.php?8153 lnussel@suse.de -- use system's default certificate store
|
||||||
Patch0: weechat-capath.patch
|
Patch0: weechat-capath.patch
|
||||||
# PATCH-FIX-UPSTREAM weechat-link-pthread.patch https://bugs.gentoo.org/show_bug.cgi?id=501078 gber@opensuse.org -- Link Weechat against libpthread
|
# PATCH-FIX-UPSTREAM weechat-link-pthread.patch https://bugs.gentoo.org/show_bug.cgi?id=501078 gber@opensuse.org -- Link Weechat against libpthread
|
||||||
Patch1: weechat-link-pthread.patch
|
Patch1: weechat-link-pthread.patch
|
||||||
Url: http://www.weechat.org
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: curl-devel
|
BuildRequires: curl-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: grep
|
BuildRequires: grep
|
||||||
|
BuildRequires: guile-devel
|
||||||
|
BuildRequires: hicolor-icon-theme
|
||||||
|
BuildRequires: libgcrypt-devel
|
||||||
|
BuildRequires: libgnutls-devel
|
||||||
|
BuildRequires: libgpg-error-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
BuildRequires: lzo-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: lua51-devel
|
|
||||||
BuildRequires: ruby-devel
|
|
||||||
BuildRequires: libgnutls-devel
|
|
||||||
BuildRequires: enchant-devel
|
|
||||||
BuildRequires: guile-devel
|
|
||||||
BuildRequires: libgcrypt-devel
|
|
||||||
BuildRequires: libgpg-error-devel
|
|
||||||
BuildRequires: lzo-devel
|
|
||||||
BuildRequires: ruby-devel
|
BuildRequires: ruby-devel
|
||||||
BuildRequires: tcl-devel
|
BuildRequires: tcl-devel
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
Requires: hicolor-icon-theme
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if 0%{?suse_version} > 1220
|
||||||
|
BuildRequires: enchant-devel
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1220
|
||||||
|
BuildRequires: lua51-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: lua-devel
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1220
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: source-highlight
|
|
||||||
BuildRequires: docbook5-xsl-stylesheets
|
BuildRequires: docbook5-xsl-stylesheets
|
||||||
BuildRequires: libxslt-tools
|
BuildRequires: libxslt-tools
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: source-highlight
|
||||||
BuildRequires: hicolor-icon-theme
|
%endif
|
||||||
Requires: hicolor-icon-theme
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light cross-platform
|
WeeChat (Wee Enhanced Environment for Chat) is a fast and light cross-platform
|
||||||
@ -73,6 +80,8 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
%description devel
|
%description devel
|
||||||
Development environment for authoring %{name} plugins.
|
Development environment for authoring %{name} plugins.
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1220
|
||||||
|
|
||||||
%package guile
|
%package guile
|
||||||
Summary: Guile Scripting Support for %{name}
|
Summary: Guile Scripting Support for %{name}
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
@ -80,6 +89,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
|
|
||||||
%description guile
|
%description guile
|
||||||
Support for %{name} scripts written in the Guile language.
|
Support for %{name} scripts written in the Guile language.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package lua
|
%package lua
|
||||||
Summary: Lua Scripting Support for %{name}
|
Summary: Lua Scripting Support for %{name}
|
||||||
@ -122,6 +132,8 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
%description ruby
|
%description ruby
|
||||||
Support for %{name} scripts written in the Ruby language.
|
Support for %{name} scripts written in the Ruby language.
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1220
|
||||||
|
|
||||||
%package aspell
|
%package aspell
|
||||||
Summary: Aspell Spell-Checking Support for %{name}
|
Summary: Aspell Spell-Checking Support for %{name}
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
@ -129,6 +141,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
|
|
||||||
%description aspell
|
%description aspell
|
||||||
Spell-checking support for %{name}, using the aspell library.
|
Spell-checking support for %{name}, using the aspell library.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -157,7 +170,7 @@ popd #build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
pushd build
|
pushd build
|
||||||
%makeinstall
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
popd #build
|
popd #build
|
||||||
|
|
||||||
# due to an unknown race condition cmake does not always create a compatibility
|
# due to an unknown race condition cmake does not always create a compatibility
|
||||||
@ -169,10 +182,14 @@ install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.de
|
|||||||
%suse_update_desktop_file -r "%{name}" Network IRCClient
|
%suse_update_desktop_file -r "%{name}" Network IRCClient
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1220
|
||||||
mv "%{buildroot}%{_datadir}/doc/weechat" html
|
mv "%{buildroot}%{_datadir}/doc/weechat" html
|
||||||
|
%endif
|
||||||
|
|
||||||
%find_lang "%{name}" --with-man
|
%find_lang "%{name}" --with-man
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1220
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
%icon_theme_cache_post
|
%icon_theme_cache_post
|
||||||
@ -180,10 +197,14 @@ mv "%{buildroot}%{_datadir}/doc/weechat" html
|
|||||||
%postun
|
%postun
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS ChangeLog COPYING NEWS README html/
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||||
|
%if 0%{?suse_version} > 1220
|
||||||
|
%doc html/
|
||||||
|
%endif
|
||||||
%{_bindir}/weechat-curses
|
%{_bindir}/weechat-curses
|
||||||
%{_bindir}/weechat
|
%{_bindir}/weechat
|
||||||
%dir %{_libdir}/weechat
|
%dir %{_libdir}/weechat
|
||||||
@ -197,20 +218,26 @@ mv "%{buildroot}%{_datadir}/doc/weechat" html
|
|||||||
%{_libdir}/weechat/plugins/rmodifier.so
|
%{_libdir}/weechat/plugins/rmodifier.so
|
||||||
%{_libdir}/weechat/plugins/script.so
|
%{_libdir}/weechat/plugins/script.so
|
||||||
%{_libdir}/weechat/plugins/xfer.so
|
%{_libdir}/weechat/plugins/xfer.so
|
||||||
|
%if 0%{?suse_version} > 1220
|
||||||
%{_mandir}/man1/weechat.1*
|
%{_mandir}/man1/weechat.1*
|
||||||
|
%endif
|
||||||
%{_datadir}/applications/weechat.desktop
|
%{_datadir}/applications/weechat.desktop
|
||||||
%{_datadir}/icons/hicolor/*/apps/weechat.png
|
%{_datadir}/icons/hicolor/*/apps/weechat.png
|
||||||
|
|
||||||
%files -f "%{name}.lang" lang
|
%files -f "%{name}.lang" lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/weechat
|
%{_includedir}/weechat
|
||||||
%{_libdir}/pkgconfig/weechat.pc
|
%{_libdir}/pkgconfig/weechat.pc
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1220
|
||||||
|
|
||||||
%files guile
|
%files guile
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/weechat/plugins/guile.so
|
%{_libdir}/weechat/plugins/guile.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files lua
|
%files lua
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -232,8 +259,11 @@ mv "%{buildroot}%{_datadir}/doc/weechat" html
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/weechat/plugins/ruby.so
|
%{_libdir}/weechat/plugins/ruby.so
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1220
|
||||||
|
|
||||||
%files aspell
|
%files aspell
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/weechat/plugins/aspell.so
|
%{_libdir}/weechat/plugins/aspell.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user