%{expand:%%define perl_version %(rpm -q perl|sed 's/perl-\([0-9].*\)-.*$/\1/')} Name: irssi Version: 0.8.6 Release: 1.fedora.1 Summary: Irssi is an IRC client License: GPL Group: Networking/IRC BuildRequires: gcc glib-devel ncurses-devel URL: http://irssi.org/ Source: http://irssi.org/irssi/files/irssi-%{version}.tar.bz2 Source1: irssi-icons.tar.bz2 Requires: perl = %{perl_version} BuildRoot: %_tmppath/%name-%version-root %description Irssi is a textUI IRC client with IPv6 support written by Timo Sirainen . More information can be found at http://irssi.org %package devel Group: Development/C Summary: Header files and static libs for the development of irssi applications. Requires: %{name} = %{version} %description devel Header files and static libs for the development of irssi applications. %prep %setup -q -n %name-%version %setup -T -D -a1 %build CFLAGS="%optflags" %configure \ --with-plugins \ --enable-ipv6 \ --with-proxy \ --with-socks \ --with-bot # --with-perl-lib=${RPM_BUILD_ROOT}%{_libdir}/perl5/site_perl make %install rm -rf $RPM_BUILD_ROOT %makeinstall PREFIX="${RPM_BUILD_ROOT}%{_prefix}" # Ugh! Fix stupid doc dir attempt. (this is a major hack!) mkdir docdir mv ${RPM_BUILD_ROOT}%{_docdir}/%{name}/* docdir/ rmdir ${RPM_BUILD_ROOT}%{_docdir}/%{name} %clean rm -rf %buildroot %files %defattr (-,root,root) %doc AUTHORS COPYING INSTALL ChangeLog README TODO NEWS #This should actually copy the files into the root of the document directory. %doc docdir/* %attr(755,root,root) %{_bindir}/* %{_datadir}/irssi/* %{_libdir}/irssi/modules/*.so %{_libdir}/irssi/modules/*.la %{_libdir}/irssi/modules/*so.0.0.0 %{_libdir}/perl5 %{_mandir}/man1/irssi.1* %config(noreplace) /etc/irssi.conf %files devel %defattr(-,root,root) %doc AUTHORS COPYING INSTALL ChangeLog README TODO NEWS %{_libdir}/irssi/modules/*.a %changelog * Thu Feb 20 2003 Jeremy Porzter 0.8.6-1.fedora.1 - Adjust release for fedora * Thu Dec 19 2002 Tanner Lovelace 0.8.6-2trilug - Fix irssi's attempt at a doc directory. - Add man file into rpm. * Thu Dec 19 2002 Tanner Lovelace 0.8.6-1trilug - Update to 0.8.6 * Tue Nov 12 2002 Tanner Lovelace 0.8.5-6trilug - Fix perl-lib directory. * Sun Aug 11 2002 Pixel 0.8.5-5mdk - re-enable perl, using patch from irssi author (via Han ) * Sun Aug 11 2002 Pixel 0.8.5-4mdk - disabling perl * Mon Aug 5 2002 Pixel 0.8.5-3mdk - rebuild for perl thread-multi * Tue Jul 9 2002 Pixel 0.8.5-2mdk - rebuild for perl 5.8.0 * Thu Jun 20 2002 Han Boetes 0.8.5-1mdk - VersionBump * Fri Mar 22 2002 Lenny Cartier 0.8.4-1mdk - form Han Boetes : - Bump! Ouch! Sorry. - And now for real ... do a little cleanup :) - No more i18n. * Fri Mar 1 2002 dam's 0.8.1-3mdk - From Han Boetes : - Add Irssi.pm to PLIST (oops) * Mon Feb 25 2002 dam's 0.8.1-2mdk - moved perllocal.pod to %{perl_vendorlib}/i386-linux/Irssi/ * Sun Feb 17 2002 Stefan van der Eijk 0.8.1-1mdk - Bump version. (Han Boetes ) * Sun Feb 17 2002 Stefan van der Eijk 0.8.0-1mdk - Bump version. (Han Boetes ) - BuildRequires * Sat Feb 16 2002 Han Boetes 0.7.99-0.beta1mdk - Beta test for new version. - Removed patch. - Lots off little changes. * Thu Jan 31 2002 Thierry Vignaud 0.7.98.4-3mdk - xpm -> png icons * Wed Dec 5 2001 Stefan van der Eijk 0.7.98.4-2mdk - fix %%files section * Mon Oct 22 2001 dam's 0.7.98.4-1mdk - From Han : - updated to next version - menus are now installed. * Fri Oct 12 2001 dam's 0.7.98.3-6mdk - removed bad menu. * Mon Oct 08 2001 Stefan van der Eijk 0.7.98.3-5mdk - BuildRequires: perl-devel - Removed redundantBuildRequires * Mon Aug 13 2001 dam's 0.7.98.3-4mdk - added devel package * Sat Aug 4 2001 Pixel 0.7.98.3-3mdk - add require the perl-base used for building (the libperl.so auto-require is not enough) * Sun Jun 17 2001 Geoffrey Lee 0.7.98.3-2mdk - Rebuild against the newest and shiniest perl 5.6.1 (dam's you suck for forgetting to rebuild this :) . * Sun Apr 08 2001 Geoffrey Lee 0.7.98.3-1mdk - New and shiny source. * Sun Apr 08 2001 Geoffrey Lee 0.7.98.2-3mdk - Use %%perl_vendorarch and %%perl_archlib. * Sun Apr 08 2001 Geoffrey Lee 0.7.98.2-2mdk - Add nls support. - Make it build much better. * Tue Mar 6 2001 Daouda Lo 0.7.98.2-1mdk - release 0.7.98.2 * Wed Jan 03 2001 David BAUDENS 0.7.97.2-2mdk - Use optimizations * Tue Dec 19 2000 Daouda Lo 0.7.97.2-1mdk - update - cleanups * Tue Dec 5 2000 Daouda Lo 0.7.97-1mdk - update - big changes in spec (cleanup, GTK/GNOME support dropped by the author) - fix ncurses build dependencies - new description - libproplist isn't needed anymore (irssi ship his own conf lib) * Thu Nov 16 2000 David BAUDENS 0.7.96-2mdk - Fix again build for archs <> than i386 * Mon Nov 13 2000 Daouda Lo 0.7.96-1mdk - big release ;-) - build with bot , perl , mysql support - text based support - provides all icons - mv from /usr/doc to /usr/share/doc * Fri Sep 29 2000 Daouda Lo 0.7.20.1-10mdk - icons should be transparents. - include menu entry in the body of spec file. - more macrozifications. * Mon Sep 25 2000 Daouda Lo 0.7.20.1-9mdk - add 32*32 icon for menu & replace gif icons format by xpm format. * Wed Sep 20 2000 David BAUDENS 0.7.20.1-8mdk - %%config(noreplace) - Remove stupid hard coded PATH in Menu entry - Macros - Use %%_tmppath for BuidRoot - Spec clean up - Remove french Description and Summary - Fix typos in longtile (Menu entry) * Mon Aug 07 2000 Frederic Lepied 0.7.20.1-7mdk - automatically added BuildRequires * Tue Apr 11 2000 Daouda Lo 0.7.20.1-6mdk - change icons - clean spec. * Fri Apr 04 2000 Daouda Lo 0.7.20.1-5mdk - add icons * Sat Apr 1 2000 Daouda Lo 0.7.20.1-3mdk - add menu entry * Sat Mar 25 2000 Daouda Lo 0.7.20.1-2mdk - group fix * Thu Dec 02 1999 Axalon Bloodstone - 0.7.20.1 * Thu Nov 04 1999 Axalon Bloodstone - Clean up the file section (removes xmms conflict) * Sun Oct 31 1999 Axalon Bloodstone - 0.7.18 : - Authors Note : There's still a small bug in 0.7.18 irssi, if you use GtkText to print text it won't scroll down automatically. Solution: Use irssi text widget.. - update URL & src url - Enable SMP check/build & add bzip2 macro * Mon Aug 23 1999 Thierry Vignaud - 0.7.14 * Mon Jul 26 1999 Axalon Bloodstone - Rebuild (4mdk) * Thu Jul 15 1999 Axalon Bloodstone - --sysconfdir=/etc * Tue May 11 1999 Alexandre Dussart - Make Mandrake compliant again * Fri Apr 30 1999 Gaël Duval - lipstick * Fri Apr 16 1999 Alexandre Dussart - Mandrake compliant - Change Group to Internet * Mon Mar 29 1999 JT Traub - Updated to 0.7.6. - text mode client re-added. * Thu Mar 25 1999 JT Traub - Updated sources * Sat Mar 13 1999 JT Traub - Updated to 0.7.4 sources - Added the irssi-text bin to the package. * Mon Feb 22 1999 JT Traub - Made spec file compliant with RHCN guidelines. * Sun Feb 13 1999 JT Traub - Updated to 0.6.0 sources. - Cleaned up spec file to make it relocatable on install * Sun Feb 7 1999 JT Traub - Updated sources to 0.5.0 - removed obsolete patch lines * Sat Feb 3 1999 JT Traub - Updated sources to 0.4.0 - Deleted old patch line * Sat Jan 30 1999 JT Traub - Updated sources to 0.3.6 - Updated spec to install the .desktop file. - Removed the now obsolete patch lines * Wed Jan 27 1999 JT Traub - Upgraded to 0.3.5 * Sun Jan 24 1999 JT Traub - First attempt at building this