%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-IO-Stringy Version: 2.113 Release: 2mamba Summary: Perl::IO::Stringy - Perl IO Stringy module Group: Development/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org/ Source: https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/IO-Stringy-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: libperl BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl >= 2:5.36.0 BuildRequires: perl-Compress-Zlib >= 1.22 Provides: perl-IO-stringy Obsoletes: perl-IO-stringy < 2.113 %description Perl::IO::Stringy - Perl IO Stringy module. %prep %setup -q -n IO-Stringy-%{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 Apr 17 2023 Sdk Build System 2.113-2mamba - rebuilt with perl 5.36.0 * Mon Jan 10 2022 Silvan Calarco 2.113-1mamba - update to 2.113 * Sat May 16 2015 Automatic Build System 2.111-1mamba - automatic update by autodist * Tue Nov 13 2012 Silvan Calarco 2.110-3mamba - perl 5.16 mass rebuild * Wed Nov 05 2008 Silvan Calarco 2.110-2mamba - automatic rebuild by autodist * Wed Sep 24 2008 Silvan Calarco 2.110-1mamba - update to 2.110 * Tue Feb 01 2005 Silvan Calarco 2.109-2qilnx - rebuild to fix a apt-get update error because of perl version requirements * Fri Oct 22 2004 Alessandro Ramazzina 2.109-1qilnx - package created by autospec (rebuilt after SRPM loss) * Thu Sep 08 2003 Silvan Calarco 2.108-1qilnx - First build