1 |
|
# Copyright (c) 2003-2005 FlashCode <flashcode@flashtux.org> |
2 |
|
# |
3 |
|
# This program is free software; you can redistribute it and/or modify |
4 |
|
# it under the terms of the GNU General Public License as published by |
5 |
|
# the Free Software Foundation; either version 2 of the License, or |
6 |
|
# (at your option) any later version. |
7 |
|
# |
8 |
|
# This program is distributed in the hope that it will be useful, |
9 |
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 |
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 |
|
# GNU General Public License for more details. |
12 |
|
# |
13 |
|
# You should have received a copy of the GNU General Public License |
14 |
|
# along with this program; if not, write to the Free Software |
15 |
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
16 |
|
# |
17 |
|
# This RPM spec file is designed for SuSE |
18 |
|
# |
19 |
|
|
20 |
%define name weechat |
%define name weechat |
21 |
%define version 0.1.6 |
%define version 0.1.6 |
22 |
%define release 1 |
%define release 1 |
27 |
Release: %{release} |
Release: %{release} |
28 |
Source: http://weechat.flashtux.org/download/%{name}-%{version}.tar.gz |
Source: http://weechat.flashtux.org/download/%{name}-%{version}.tar.gz |
29 |
URL: http://weechat.flashtux.org |
URL: http://weechat.flashtux.org |
30 |
Group: Networking/IRC |
Group: Productivity/Networking/IRC |
31 |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
32 |
Requires: perl, python, gnutls |
Requires: perl, python, gnutls, ncurses |
33 |
License: GPL |
License: GPL |
|
Distribution: Any RPM based distro |
|
34 |
Vendor: FlashCode <flashcode@flashtux.org> |
Vendor: FlashCode <flashcode@flashtux.org> |
35 |
|
Packager: [Odin] <odin@dtdm.org> |
36 |
|
|
37 |
%description |
%description |
38 |
WeeChat (Wee Enhanced Environment for Chat) is a portable, fast, light and |
WeeChat (Wee Enhanced Environment for Chat) is a portable, fast, light and |
44 |
%setup |
%setup |
45 |
|
|
46 |
%build |
%build |
47 |
./configure --prefix=/usr --enable-perl --enable-python |
./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --enable-perl --enable-python |
48 |
make |
make |
49 |
|
|
50 |
%install |
%install |
51 |
%makeinstall |
%makeinstall |
52 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/weechat/plugins/ |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/ |
|
mv $RPM_BUILD_ROOT%{_libdir}/lib* $RPM_BUILD_ROOT%{_libdir}/weechat/plugins/ |
|
53 |
|
|
54 |
%find_lang %name |
%find_lang %name |
55 |
|
|
59 |
%files -f %{name}.lang |
%files -f %{name}.lang |
60 |
%defattr(-,root,root,0755) |
%defattr(-,root,root,0755) |
61 |
%doc AUTHORS BUGS ChangeLog COPYING FAQ FAQ.fr INSTALL NEWS README TODO |
%doc AUTHORS BUGS ChangeLog COPYING FAQ FAQ.fr INSTALL NEWS README TODO |
62 |
%{_mandir}/man1/weechat-curses.1* |
%{_mandir}/man1/%{name}-curses.1* |
63 |
%{_bindir}/weechat-curses |
%{_bindir}/%{name}-curses |
64 |
%{_libdir}/weechat/plugins/* |
%{_libdir}/%{name}/plugins/* |
65 |
%{_infodir}/weechat_doc_en.info* |
%{_infodir}/%{name}_doc_en.info* |
66 |
%{_infodir}/weechat_doc_es.info* |
%{_infodir}/%{name}_doc_es.info* |
67 |
%{_infodir}/weechat_doc_fr.info* |
%{_infodir}/%{name}_doc_fr.info* |
68 |
%{_infodir}/weechat_doc_pt.info* |
%{_infodir}/%{name}_doc_pt.info* |
69 |
|
|
70 |
%changelog |
%changelog |
71 |
* Fri Nov 11 2005 FlashCode <flashcode@flashtux.org> 0.1.6-1 |
* Fri Nov 11 2005 FlashCode <flashcode@flashtux.org> 0.1.6-1 |