From fbbfaacda352408c7a876b1acaf858fe0f8b1bbf Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:11:02 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 1.10-2mamba;Mon Nov 12 2012] --- README.md | 2 ++ perl-IO-Tty.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 perl-IO-Tty.spec diff --git a/README.md b/README.md index 1d6da6a..47fce07 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-IO-Tty +IO::Tty and IO::Pty provide an interface to pseudo tty's. + diff --git a/perl-IO-Tty.spec b/perl-IO-Tty.spec new file mode 100644 index 0000000..0949cc1 --- /dev/null +++ b/perl-IO-Tty.spec @@ -0,0 +1,65 @@ +%define PERL_VERSION %(eval `perl -V:version`; echo $version) +Name: perl-IO-Tty +Version: 1.10 +Release: 2mamba +Summary: IO::Tty and IO::Pty provide an interface to pseudo tty's +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +Source: http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IO-Tty-%{version}.tar.gz +URL: http://www.cpan.org +License: GPL +BuildRequires: perl-devel >= %PERL_VERSION +Requires: perl >= %PERL_VERSION +BuildRoot: %{_tmppath}/perl-root + +%description +IO::Tty and IO::Pty provide an interface to pseudo tty's. + +%prep +%setup -q -n IO-Tty-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl + +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm -f $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 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Mon Nov 12 2012 Silvan Calarco 1.10-2mamba +- perl 5.16 mass rebuild + +* Thu Apr 12 2012 Silvan Calarco 1.10-1mamba +- update to 1.10 + +* Wed Nov 05 2008 Silvan Calarco 1.07-2mamba +- automatic rebuild by autodist + +* Fri Sep 26 2008 Silvan Calarco 1.07-1mamba +- update to 1.07 + +* Tue Feb 01 2005 Silvan Calarco 1.02-2qilnx +- changed perl version check to non strict (>=) + +* Fri Apr 30 2004 Silvan Calarco 1.02-1qilnx +- First build