SHA256
1
0
forked from pool/weechat
OBS User unknown 2007-06-08 22:48:34 +00:00 committed by Git OBS Bridge
parent 5439f1768f
commit d21ef9092f

View File

@ -2,6 +2,11 @@
%define _prefix /usr
%if 0%{?!_without_lua:1} && 0%{?suse_version:1}0 && 0%{suse_version} < 920
%else
%define with_lua
%endif
Name: weechat
Version: 0.2.5
Release: 0
@ -13,15 +18,18 @@ URL: http://weechat.flashtux.org/
Group: Productivity/Networking/IRC
License: GNU General Public License (GPL)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: ncurses ncurses-devel lua lua-devel perl python python-devel
BuildRequires: ncurses ncurses-devel perl python python-devel
BuildRequires: ruby gcc gnutls gnutls-devel glibc-devel aspell aspell-devel
%if %{?with_lua:1}0
BuildRequires: lua-devel
%endif
%if 0%{suse_version} >= 1000
BuildRequires: ruby-devel
%endif
BuildRequires: lzo lzo-devel libgpg-error libgcrypt
BuildRequires: libgpg-error-devel libgcrypt-devel
BuildRequires: autoconf automake libtool
%if 0%{suse_release}
%if 0%{?suse_version:1}
BuildRequires: update-desktop-files
%endif
@ -31,6 +39,7 @@ for many operating systems. Everything can be done with a keyboard, and it
is customizable and extensible with scripts. Many GUIs are available (Curses,
GTK, and Qt). It is compliant with RFCs 1459, 2810, 2811, 2812, and 2813.
%if %{?with_lua:1}0
%package lua
Summary: Lua Scripting Support for %{name}
Group: Productivity/Networking/IRC
@ -38,6 +47,7 @@ Requires: %{name} = %{version}-%{release}
%description lua
Lua scripting plugin for %{name}
%endif
%package perl
Summary: Perl Scripting Support for %{name}
@ -93,7 +103,7 @@ Spell-checking support for %{name}, using aspell.
%__install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
%__install -D -m 0644 weechat_icon_32.png "%{buildroot}%{_datadir}/pixmaps/%{name}.png"
%if 0%{suse_release}
%if 0%{?suse_version:1}
%suse_update_desktop_file -r "%{name}" Network IRCClient
%endif
@ -114,10 +124,12 @@ Spell-checking support for %{name}, using aspell.
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%if %{?with_lua:1}0
%files lua
%defattr(-,root,root)
%{_libdir}/weechat/plugins/lua.so
%{_libdir}/weechat/plugins/lua.so.*
%endif
%files perl
%defattr(-,root,root)