From 4936fcbd963b2ac7aad10a7dadab441e9e8433ed Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:51:53 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 0.112-4mamba;Tue Nov 13 2012] --- README.md | 2 ++ perl-Unicode-Map.spec | 64 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 perl-Unicode-Map.spec diff --git a/README.md b/README.md index f89f2cf..a4e9873 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Unicode-Map +This module converts strings from and to 2-byte Unicode UCS2 format. All mappings happen via 2 byte UTF16 encodings, not via 1 byte UTF8 encoding. To transform these use Unicode::String + diff --git a/perl-Unicode-Map.spec b/perl-Unicode-Map.spec new file mode 100644 index 0000000..1acefdb --- /dev/null +++ b/perl-Unicode-Map.spec @@ -0,0 +1,64 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Unicode-Map +Version: 0.112 +Release: 4mamba +Summary: Unicode::Map - Maps charsets from and to utf16 unicode +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWARTZ/Unicode-Map-%{version}.tar.gz +License: perl +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: perl-devel +BuildRequires: perl-libwww +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This module converts strings from and to 2-byte Unicode UCS2 format. All mappings happen via 2 byte UTF16 encodings, not via 1 byte UTF8 encoding. To transform these use Unicode::String + +%prep +%setup -q -n Unicode-Map-%{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 $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 +* Tue Nov 13 2012 Silvan Calarco 0.112-4mamba +- perl 5.16 mass rebuild + +* Wed Nov 05 2008 Silvan Calarco 0.112-3mamba +- automatic rebuild by autodist + +* Sat Jul 26 2008 Silvan Calarco 0.112-2mamba +- specfile updated + +* Thu Dec 29 2005 Alessandro Ramazzina 0.112-1qilnx +- package created by autospec