diff --git a/README.md b/README.md index 89badc1..8e5e609 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-IO-Stringy +Perl::IO::Stringy - Perl IO Stringy module. + diff --git a/perl-IO-Stringy.spec b/perl-IO-Stringy.spec new file mode 100644 index 0000000..c8a6d1f --- /dev/null +++ b/perl-IO-Stringy.spec @@ -0,0 +1,76 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-IO-Stringy +Version: 2.113 +Release: 1mamba +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-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 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