%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Unicode-String Version: 2.10 Release: 2mamba Summary: Unicode::String - Represents a sequence of Unicode characters Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org/ Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/GAAS/Unicode-String-%{version}.tar.gz License: Artistic, GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libperl BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl >= 2:5.36.0 Requires: perl >= %perl_major_ver %description Represents a sequence of Unicode characters. Methods are provided to convert between various external formats (encodings) and Unicode::String objects, and methods are provided for common string manipulations. %prep %setup -q -n Unicode-String-%{version} %build perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor %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 $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} -name *.so -exec chmod u+w {} \; %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" rm -f .packlist %files -f .packlist %defattr(-,root,root) %changelog * Sun Apr 16 2023 Sdk Build System 2.10-2mamba - rebuilt with perl 5.36.0 * Wed Nov 09 2016 Silvan Calarco 2.10-1mamba - update to 2.10 * Wed Nov 09 2016 Silvan Calarco 2.09-6mamba - rebuilt with perl 5.24 * Tue Nov 13 2012 Silvan Calarco 2.09-5mamba - perl 5.16 mass rebuild * Wed Nov 05 2008 Silvan Calarco 2.09-4mamba - automatic rebuild by autodist * Sat Jul 26 2008 Silvan Calarco 2.09-3mamba - specfile updated * Wed Oct 11 2006 Stefano Cotta Ramusino 2.09-2qilnx - fixed license * Thu Dec 29 2005 Alessandro Ramazzina 2.09-1qilnx - package created by autospec