1 # $Revision: 1.3 $, $Date: 2002/10/20 12:13:29 $
2 Name: irssi
3 Version: @VERSION@
4 Release: 1
5 Vendor: Timo Sirainen <cras@irssi.org>
6 Summary: Irssi is a IRC client
7 Copyright: GPL
8 Group: Applications/Communications
9 URL: http://irssi.org/
10 Source0: http://irssi.org/irssi/files/%{name}-%{version}.tar.gz
11 BuildRequires: glib-devel
12 BuildRequires: ncurses-devel
13 BuildRoot: /tmp/%{name}-%{version}-root
14
15 %define _sysconfdir /etc
16 %define configure { CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; ./configure %{_target_platform} --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir} }
17
18 %description
19 Irssi is a modular IRC client that currently has only text
20 mode user interface, but 80-90% of the code isn't text mode specific
21 so other UI could be created pretty easily. Also, Irssi isn't really
22 even IRC specific anymore, there's already a working SILC module
23 available. Support for other protocols like ICQ could be create some day
24 too.
25
26 More information can be found at http://irssi.org/.
27
28 %prep
29 %setup -q
30
31 %build
32 export NOCONFIGURE=x
33 ./autogen.sh
34 %configure \
35 --with-imlib \
36 --enable-ipv6 \
37 --with-textui \
38 --with-socks \
39 --with-bot \
40 --with-proxy \
41 --with-perl=yes \
42 --with-ncurses
43 make
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 make DESTDIR=$RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT/usr install
48 mv $RPM_BUILD_ROOT/%{_datadir}/doc/irssi $RPM_BUILD_ROOT/%{_datadir}/doc/irssi-%version
49 strip $RPM_BUILD_ROOT/%{_bindir}/*
50 strip $RPM_BUILD_ROOT/%{_libdir}/irssi/modules/lib*.so*
51 rm -f $RPM_BUILD_ROOT/%{_libdir}/perl5/5.6.0/i386-linux/perllocal.pod
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr (644,root,root,755)
58 %doc %{_datadir}/doc/irssi-%version/
59
60 %attr(755,root,root) %{_bindir}/*
61
62 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/irssi*
63
64 %dir %{_libdir}
65 %attr(755,root,root) %{_libdir}/irssi
66 %attr(755,root,root) %{_libdir}/perl5
67
68 %dir %{_datadir}/irssi
69 %attr(755,root,root) %{_datadir}/irssi/*
70
71 %changelog
72 * Fri Aug 17 2001 - Joose Vettenranta <joose@iki.fi>
73 Created new spec file from spec file founded in irssi-0.7.98.3
This page was automatically generated by the LXR engine.
Free-text search provided by Glimpse