2004-11-08 04:36:20 +00:00
|
|
|
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
|
|
|
|
|
2005-12-07 08:22:00 +00:00
|
|
|
%define release_candidate rc8
|
2005-11-15 18:48:47 +00:00
|
|
|
|
2005-03-03 21:46:22 +00:00
|
|
|
Summary: Modular text mode IRC client with Perl scripting
|
|
|
|
Name: irssi
|
2005-11-15 18:48:47 +00:00
|
|
|
Version: 0.8.10
|
2005-12-07 08:22:00 +00:00
|
|
|
Release: 0.2.%{release_candidate}%{?dist}
|
2005-04-06 22:12:02 +00:00
|
|
|
|
2005-03-03 21:46:22 +00:00
|
|
|
License: GPL
|
|
|
|
Group: Applications/Communications
|
|
|
|
URL: http://irssi.org/
|
2005-11-15 18:48:47 +00:00
|
|
|
Source0: http://irssi.org/files/irssi-%{version}-%{release_candidate}.tar.gz
|
2004-11-08 04:36:20 +00:00
|
|
|
Source1: http://wouter.coekaerts.be/irssi/scripts/replace.pl
|
|
|
|
Source2: http://wouter.coekaerts.be/irssi/scripts/trigger.pl
|
|
|
|
Source3: http://wouter.coekaerts.be/irssi/scripts/convert-replace-trigger.pl
|
|
|
|
Patch1: convert-replace-trigger.pl-fixpath-patch
|
2005-03-03 21:46:22 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
2005-11-15 18:48:47 +00:00
|
|
|
BuildRequires: ncurses-devel openssl-devel zlib-devel
|
|
|
|
BuildRequires: pkgconfig gc-devel glib2-devel
|
2004-11-08 04:36:20 +00:00
|
|
|
|
2005-01-29 16:42:13 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
2005-11-15 18:48:47 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development package for irssi
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2004-11-08 04:36:20 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Irssi is a modular IRC client with Perl scripting. Only text-mode
|
|
|
|
frontend is currently supported. The GTK/GNOME frontend is no longer
|
|
|
|
being maintained.
|
|
|
|
|
2005-11-15 18:48:47 +00:00
|
|
|
%description devel
|
|
|
|
This package contains headers needed to develop irssi plugins.
|
|
|
|
|
|
|
|
Irssi is a modular IRC client with Perl scripting. Only text-mode
|
|
|
|
frontend is currently supported. The GTK/GNOME frontend is no longer
|
|
|
|
being maintained.
|
|
|
|
|
2004-11-08 04:36:20 +00:00
|
|
|
|
|
|
|
%prep
|
2005-11-15 18:48:47 +00:00
|
|
|
%setup -q -n %{name}-%{version}-%{release_candidate}
|
2004-11-08 04:36:20 +00:00
|
|
|
install -m 0644 %{SOURCE3} .
|
|
|
|
%patch1 -p0
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --enable-ipv6 --with-textui \
|
2005-03-03 21:46:22 +00:00
|
|
|
--with-proxy \
|
|
|
|
--with-bot \
|
|
|
|
--with-perl=module \
|
|
|
|
--with-perl-lib=vendor --with-gc
|
2004-11-08 04:36:20 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%makeinstall PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# Extra script
|
|
|
|
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts
|
|
|
|
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts
|
|
|
|
|
|
|
|
# Clean up
|
2005-03-03 21:46:22 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/lib*.*a
|
2004-11-08 04:36:20 +00:00
|
|
|
rm -Rf $RPM_BUILD_ROOT/%{_docdir}/%{name}
|
|
|
|
find $RPM_BUILD_ROOT%{perl_vendorarch} -type f -a -name '*.bs' -a -empty -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT%{perl_vendorarch} -type f -a -name .packlist -exec rm {} ';'
|
|
|
|
|
|
|
|
# Fix permissions
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT%{perl_vendorarch}
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc docs/*.txt docs/*.html AUTHORS COPYING NEWS README TODO convert-replace-trigger.pl
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/botti
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_libdir}/%{name}
|
|
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
%{perl_vendorarch}/Irssi*
|
|
|
|
%{perl_vendorarch}/auto/Irssi
|
|
|
|
|
|
|
|
|
2005-11-15 18:48:47 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/irssi
|
|
|
|
|
2004-11-08 04:36:20 +00:00
|
|
|
%changelog
|
2005-12-07 08:22:00 +00:00
|
|
|
* Wed Dec 7 2005 Dams <anvil[AT]livna.org> - 0.8.10-0.2.rc8
|
|
|
|
- Updated to rc8
|
|
|
|
|
2005-11-15 18:48:47 +00:00
|
|
|
* Tue Nov 15 2005 Dams <anvil[AT]livna.org> - 0.8.10-0.1.rc7
|
|
|
|
- Dropped patch 2 (seems applied upstream) and 3 (no longer needed)
|
|
|
|
- Removed conditionnal build against glib1 parts
|
|
|
|
|
2005-11-14 04:39:31 +00:00
|
|
|
* Sun Nov 13 2005 Luke Macken <lmacken@redhat.com> 0.8.9-8
|
|
|
|
- Rebuild against new openssl
|
|
|
|
|
2005-04-11 21:26:34 +00:00
|
|
|
* Mon Apr 11 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0.8.9-7
|
|
|
|
- Two patches to fix build for GCC4 and new Perl with config.h.
|
|
|
|
|
2005-04-06 22:12:02 +00:00
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-01-29 16:42:13 +00:00
|
|
|
* Fri Dec 24 2004 Michael Schwendt <mschwendt[AT]users.sf.net> 0:0.8.9-5
|
|
|
|
- Reduce Perl dir ownership and add MODULE_COMPAT dependency.
|
|
|
|
|
2004-11-08 04:36:26 +00:00
|
|
|
* Fri Apr 2 2004 Dams <anvil[AT]livna.org> 0:0.8.9-0.fdr.4
|
|
|
|
- Rebuilt to use new perl to prevent random segmentation fault at load
|
|
|
|
time
|
|
|
|
|
2004-11-08 04:36:20 +00:00
|
|
|
* Fri Feb 6 2004 Dams <anvil[AT]livna.org> 0:0.8.9-0.fdr.3
|
|
|
|
- Patch from Michael Schwendt to fix convert-replace-trigger script
|
|
|
|
(bug #1120 comment #3)
|
|
|
|
|
|
|
|
* Sat Dec 20 2003 Dams <anvil[AT]livna.org> 0:0.8.9-0.fdr.2
|
|
|
|
- Fixed changelog typo
|
|
|
|
- Added trigger.pl as replace.pl wont be maintained anymore
|
|
|
|
- Updated replace.pl to 0.1.4 version
|
|
|
|
- Added replace.pl URL in Source tag
|
|
|
|
- Removed .packlist files
|
|
|
|
- Added as doc a script to convert pref from replace.pl to trigger.pl
|
|
|
|
|
|
|
|
* Thu Dec 11 2003 Dams <anvil[AT]livna.org> 0:0.8.9-0.fdr.1
|
|
|
|
- Updated to 0.8.9
|
|
|
|
|
|
|
|
* Mon Nov 24 2003 Dams <anvil[AT]livna.org> 0:0.8.8-0.fdr.1
|
|
|
|
- Updated to 0.8.8
|
|
|
|
- Enabled gc
|
|
|
|
|
|
|
|
* Sun Sep 14 2003 Dams <anvil[AT]livna.org> 0:0.8.6-0.fdr.13
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
* Sun Sep 14 2003 Michael Schwendt <mschwendt[AT]users.sf.net> 0:0.8.6-0.fdr.12
|
|
|
|
- apply openssl patch only if openssl-devel supports pkgconfig
|
|
|
|
|
|
|
|
* Thu Sep 11 2003 Dams <anvil[AT]livna.org> 0:0.8.6-0.fdr.11
|
|
|
|
- Installing replace.pl in good directory
|
|
|
|
|
|
|
|
* Thu Sep 11 2003 Dams <anvil[AT]livna.org> 0:0.8.6-0.fdr.10
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
* Thu Sep 11 2003 Dams <anvil[AT]livna.org> 0:0.8.6-0.fdr.9
|
|
|
|
- Using vendor perl directories
|
|
|
|
|
|
|
|
* Thu Sep 11 2003 Dams <anvil[AT]livna.org> 0:0.8.6-0.fdr.8
|
|
|
|
- Added missing unowned directories
|
|
|
|
- Added an additionnal useful perl script (replace.pl)
|
|
|
|
|
|
|
|
* Tue Aug 5 2003 Dams <anvil[AT]livna.org> 0:0.8.6-0.fdr.7
|
|
|
|
- Added zlib-devel buildrequires
|
|
|
|
|
|
|
|
* Sat Jul 12 2003 Dams <anvil[AT]livna.org> 0:0.8.6-0.fdr.6
|
2005-03-03 21:46:22 +00:00
|
|
|
- Applied Patches from Ville Skyttä (bug #277 comment #11 and
|
2004-11-08 04:36:20 +00:00
|
|
|
comment #12)
|
|
|
|
|
|
|
|
* Mon Jun 23 2003 Dams <anvil[AT]livna.org> 0:0.8.6-0.fdr.5
|
|
|
|
- Modified BuildRequires for ssl
|
|
|
|
|
|
|
|
* Wed Jun 11 2003 Dams <anvil[AT]livna.org> 0:0.8.6-0.fdr.4
|
|
|
|
- Added another dir entry
|
|
|
|
|
|
|
|
* Sun Jun 8 2003 Dams <anvil[AT]livna.org> 0:0.8.6-0.fdr.3
|
|
|
|
- Added some dir entry in file section
|
|
|
|
|
|
|
|
* Tue May 20 2003 Dams <anvil[AT]livna.org> 0:0.8.6-0.fdr.2
|
|
|
|
- Exclude modules ".a" files
|
|
|
|
- Include more files as doc
|
|
|
|
|
2005-03-03 21:46:22 +00:00
|
|
|
* Sat May 10 2003 Dams <anvil[AT]livna.org>
|
2004-11-08 04:36:20 +00:00
|
|
|
- Initial build.
|