2024-01-06 09:52:11 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Unicode-String
|
2024-01-06 09:52:11 +01:00
|
|
|
Version: 2.10
|
|
|
|
Release: 1mamba
|
2024-01-06 09:52:11 +01:00
|
|
|
Summary: Unicode::String - Represents a sequence of Unicode characters
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.cpan.org
|
2024-01-06 09:52:11 +01:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/GAAS/Unicode-String-%{version}.tar.gz
|
2024-01-06 09:52:11 +01:00
|
|
|
License: Artistic, GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
rm -f .packlist
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:52:11 +01:00
|
|
|
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10-1mamba
|
|
|
|
- update to 2.10
|
|
|
|
|
|
|
|
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.09-6mamba
|
|
|
|
- rebuilt with perl 5.24
|
|
|
|
|
2024-01-06 09:52:11 +01:00
|
|
|
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.09-5mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.09-4mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sat Jul 26 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.09-3mamba
|
|
|
|
- specfile updated
|
|
|
|
|
|
|
|
* Wed Oct 11 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.09-2qilnx
|
|
|
|
- fixed license
|
|
|
|
|
|
|
|
* Thu Dec 29 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.09-1qilnx
|
|
|
|
- package created by autospec
|