%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)} Name: perl-Unicode-Map8 Version: 0.13 Release: 2%{?_dist_release} Summary: Mapping table between 8-bit chars and Unicode for Perl Group: Development/Libraries License: GPL or Artistic URL: http://search.cpan.org/dist/Unicode-Map8/ Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Unicode-Map8-%{version}.tar.gz Patch0: perl-Unicode-Map8-0.12-declaration.patch Patch1: perl-Unicode-Map8-0.12-type.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Unicode::String) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Vendor: Project Vine Distribution: Vine Linux # Does not work on x86_64, see bug #182514 #ExcludeArch: x86_64 %description The Unicode::Map8 class implements efficient mapping tables between 8-bit character sets and 16 bit character sets like Unicode. About 170 different mapping tables between various known character sets and Unicode is distributed with this package. The source of these tables is the vendor mapping tables provided by Unicode, Inc. and the code tables in RFC 1345. New maps can easily be installed. %prep %setup -q -n Unicode-Map8-%{version} %patch0 -p0 -b .declaration %patch1 -p0 -b .type %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT make install \ PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \ INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib} find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check || : make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{_bindir}/umap %{perl_vendorarch}/auto/Unicode %{perl_vendorarch}/Unicode %{_mandir}/man[13]/*.[13]* %changelog * Sun Dec 14 2014 Ryoichi INAGAKI 0.13-2 - rebuilt with perl 5.16.3 - added Vendor and Distribution tag * Sat Apr 23 2011 IWAI, Masaharu 0.13-1 - new upstream release * Mon Apr 28 2008 Ryoichi INAGAKI 0.12-9vl5 - rebuilt with perl-5.10.0 - appiled new versioning policy * Thu Aug 9 2007 Ryoichi INAGAKI 0.12-8vl2 - changed Group to Development/Libraries - added Patch0 and 1 from Fedora * Sun Oct 29 2006 Aurelien Bompard 0.12-11 - actually apply the patches * Sat Oct 28 2006 Aurelien Bompard 0.12-10 - add patches for x86_64 * Mon Jul 17 2006 Ryoichi INAGAKI 0.12-8vl1 - initial build for Vine Linux * Wed Feb 22 2006 Aurelien Bompard 0.12-8 - ExcludeArch x86_64 * Wed Feb 22 2006 Aurelien Bompard 0.12-7 - disable unit tests (map8.t fails on x86_64) * Tue Feb 21 2006 Aurelien Bompard 0.12-6 - rebuild for FC5 * Fri Apr 7 2005 Michael Schwendt - rebuilt * Mon Feb 2 2004 Ville Skyttä - 0:0.12-0.fdr.4 - Reduce directory ownership bloat. * Sat Oct 11 2003 Ville Skyttä - 0:0.12-0.fdr.3 - Install into vendor dirs. - Specfile cleanup. * Mon Jul 7 2003 Ville Skyttä - 0:0.12-0.fdr.2 - Regenerate %%install section with cpanflute2. * Wed May 7 2003 Ville Skyttä - 0:0.12-0.fdr.1 - Update to current Fedora guidelines. * Sun Mar 2 2003 Ville Skyttä - 0.12-1.fedora.1 - First Fedora release.