From 94033d6d493fa78c6850f1a3040a14df8492bca4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:52:05 +0100 Subject: [PATCH] automatic rebuild by autodist [release 1.11-5mamba;Wed Nov 05 2008] --- README.md | 2 ++ perl-Unicode-MapUTF8.spec | 70 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 perl-Unicode-MapUTF8.spec diff --git a/README.md b/README.md index b58d1a8..b2a4f7d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Unicode-MapUTF8 +Provides an adapter layer between core routines for converting to and from UTF8 and other encodings. In essence, a way to give multiple existing Unicode modules a single common interface so you don't have to know the underlaying implementations to do simple UTF8 to-from other character set encoding conversions. As such, it wraps the Unicode::String, Unicode::Map8, Unicode::Map and Jcode modules in a standardized and simple API + diff --git a/perl-Unicode-MapUTF8.spec b/perl-Unicode-MapUTF8.spec new file mode 100644 index 0000000..63b88ae --- /dev/null +++ b/perl-Unicode-MapUTF8.spec @@ -0,0 +1,70 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Unicode-MapUTF8 +Version: 1.11 +Release: 5mamba +Summary: Routines for converting to and from UTF8 and other encodings +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://www.cpan.org/authors/id/S/SN/SNOWHARE/Unicode-MapUTF8-%{version}.tar.gz +License: Artistic, GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +BuildRequires: perl-Unicode-Jcode +BuildRequires: perl-Unicode-Map +BuildRequires: perl-Unicode-Map8 +BuildRequires: perl-Unicode-String +## AUTOBUILDREQ-END +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Provides an adapter layer between core routines for converting to and from UTF8 and other encodings. In essence, a way to give multiple existing Unicode modules a single common interface so you don't have to know the underlaying implementations to do simple UTF8 to-from other character set encoding conversions. As such, it wraps the Unicode::String, Unicode::Map8, Unicode::Map and Jcode modules in a standardized and simple API + +%prep +%setup -q -n Unicode-MapUTF8-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make +#./Build test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +make install DESTDIR=%{buildroot} + +find %{buildroot}%{_prefix} \ + -type f \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \; + +find %{buildroot} \( -type f -or -type l \) | \ + sed "s@%{buildroot}@@g;s@.*/man./.*@&.gz@g" | \ + sort -u > .packlist +find %{buildroot} -type d | \ + grep "%{perl_sitearch}/" | \ + sed "s@%{buildroot}@@g;s@.*@%dir &@g" >> .packlist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Wed Nov 05 2008 Silvan Calarco 1.11-5mamba +- automatic rebuild by autodist + +* Sat Jul 26 2008 Silvan Calarco 1.11-4mamba +- specfile updated + +* Wed Oct 11 2006 Stefano Cotta Ramusino 1.11-3qilnx +- fixed licenses + +* Tue Jan 03 2006 Davide Madrisan 1.11-2qilnx +- perllocal.pod and .packlist files removed + +* Thu Dec 29 2005 Alessandro Ramazzina 1.11-1qilnx +- package created by autospec