From af5f82c08dca6244cf5225febadd7e5be23e894a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:58:30 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 0.8.15-2mamba;Thu Nov 15 2012] --- README.md | 2 ++ irssi.spec | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 irssi.spec diff --git a/README.md b/README.md index 584cc05..b9b8fd1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # irssi +Irssi is a terminal based IRC client for UNIX systems. It also supports SILC and ICB protocols via plugins. + diff --git a/irssi.spec b/irssi.spec new file mode 100644 index 0000000..bcbf3a7 --- /dev/null +++ b/irssi.spec @@ -0,0 +1,83 @@ +Name: irssi +Version: 0.8.15 +Release: 2mamba +Summary: A terminal based IRC client for UNIX systems +Group: Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.irssi.org +Source: http://www.irssi.org/files/irssi-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libglib-devel +BuildRequires: libncurses-devel +BuildRequires: libopenssl-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Irssi is a terminal based IRC client for UNIX systems. It also supports SILC and ICB protocols via plugins. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Irssi is a terminal based IRC client for UNIX systems. It also supports SILC and ICB protocols via plugins. + +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +find %{buildroot}%{_prefix}/lib \ + -type f \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \; + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f .packlist +%defattr(-,root,root) +%{_sysconfdir}/irssi.conf +%{_bindir}/irssi +%dir %{_datadir}/irssi +%{_datadir}/irssi/* +%{_docdir}/irssi/* + +%{_mandir}/man1/irssi.1.gz +%doc AUTHORS COPYING ChangeLog NEWS README TODO + +%files devel +%defattr(-,root,root) +%dir %{_includedir} +%dir %{_includedir}/irssi +%{_includedir}/irssi/* + +%changelog +* Thu Nov 15 2012 Silvan Calarco 0.8.15-2mamba +- perl 5.16 mass rebuild + +* Thu Jun 03 2010 Silvan Calarco 0.8.15-1mamba +- package created by autospec