2002-05-01 18:52:51 -04:00
|
|
|
# $Revision: 1.13 $, $Date: 2002/05/01 22:52:51 $
|
1999-09-04 07:42:33 -04:00
|
|
|
Name: irssi
|
|
|
|
Version: @VERSION@
|
|
|
|
Release: 1
|
2002-05-01 18:52:51 -04:00
|
|
|
Vendor: Timo Sirainen <cras@irssi.org>
|
1999-09-04 07:42:33 -04:00
|
|
|
Summary: Irssi is a IRC client
|
|
|
|
Copyright: GPL
|
|
|
|
Group: Applications/Communications
|
2001-03-29 09:38:29 -05:00
|
|
|
URL: http://irssi.org/
|
2000-06-01 21:55:03 -04:00
|
|
|
Source0: http://irssi.org/irssi/files/%{name}-%{version}.tar.gz
|
1999-09-04 07:42:33 -04:00
|
|
|
BuildRequires: glib-devel
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRoot: /tmp/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%define _sysconfdir /etc
|
1999-09-13 12:50:25 -04:00
|
|
|
%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} }
|
1999-09-03 10:27:29 -04:00
|
|
|
|
|
|
|
%description
|
2001-09-21 10:57:29 -04:00
|
|
|
Irssi is a modular IRC client that currently has only text
|
|
|
|
mode user interface, but 80-90% of the code isn't text mode specific
|
|
|
|
so other UI could be created pretty easily. Also, Irssi isn't really
|
|
|
|
even IRC specific anymore, there's already a working SILC module
|
|
|
|
available. Support for other protocols like ICQ could be create some day
|
|
|
|
too.
|
1999-10-16 09:05:25 -04:00
|
|
|
|
2001-03-29 09:38:29 -05:00
|
|
|
More information can be found at http://irssi.org/.
|
1999-09-03 10:27:29 -04:00
|
|
|
|
|
|
|
%prep
|
1999-09-04 07:42:33 -04:00
|
|
|
%setup -q
|
1999-09-03 10:27:29 -04:00
|
|
|
|
|
|
|
%build
|
2001-09-21 10:57:29 -04:00
|
|
|
export NOCONFIGURE=x
|
|
|
|
./autogen.sh
|
1999-09-04 07:42:33 -04:00
|
|
|
%configure \
|
|
|
|
--with-imlib \
|
|
|
|
--enable-ipv6 \
|
2001-09-21 10:57:29 -04:00
|
|
|
--with-textui \
|
|
|
|
--with-socks \
|
|
|
|
--with-bot \
|
|
|
|
--with-proxy \
|
|
|
|
--with-perl=yes \
|
|
|
|
--with-ncurses
|
1999-09-03 10:27:29 -04:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2001-09-21 10:57:29 -04:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT/usr install
|
|
|
|
mv $RPM_BUILD_ROOT/%{_datadir}/doc/irssi $RPM_BUILD_ROOT/%{_datadir}/doc/irssi-%version
|
|
|
|
strip $RPM_BUILD_ROOT/%{_bindir}/*
|
|
|
|
strip $RPM_BUILD_ROOT/%{_libdir}/irssi/modules/lib*.so*
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/perl5/5.6.0/i386-linux/perllocal.pod
|
1999-09-03 10:27:29 -04:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
1999-09-04 07:42:33 -04:00
|
|
|
%defattr (644,root,root,755)
|
2001-09-21 10:57:29 -04:00
|
|
|
%doc %{_datadir}/doc/irssi-%version/
|
1999-09-04 07:42:33 -04:00
|
|
|
|
2001-09-21 10:57:29 -04:00
|
|
|
%attr(755,root,root) %{_bindir}/*
|
1999-09-04 07:42:33 -04:00
|
|
|
|
2001-09-21 10:57:29 -04:00
|
|
|
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/irssi*
|
1999-09-04 07:42:33 -04:00
|
|
|
|
2001-09-21 10:57:29 -04:00
|
|
|
%dir %{_libdir}
|
|
|
|
%attr(755,root,root) %{_libdir}/irssi
|
|
|
|
%attr(755,root,root) %{_libdir}/perl5
|
1999-09-04 07:42:33 -04:00
|
|
|
|
2001-09-21 10:57:29 -04:00
|
|
|
%dir %{_datadir}/irssi
|
|
|
|
%attr(755,root,root) %{_datadir}/irssi/*
|
1999-09-04 07:42:33 -04:00
|
|
|
|
|
|
|
%changelog
|
2001-09-21 10:57:29 -04:00
|
|
|
* Fri Aug 17 2001 - Joose Vettenranta <joose@iki.fi>
|
|
|
|
Created new spec file from spec file founded in irssi-0.7.98.3
|