123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- %{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
- Name: perl-Unicode-Map8
- Version: 0.12
- Release: 9%{?_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-Unicode-String
- # 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
- * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-9vl5
- - rebuilt with perl-5.10.0
- - appiled new versioning policy
- * Thu Aug 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-8vl2
- - changed Group to Development/Libraries
- - added Patch0 and 1 from Fedora
- * Sun Oct 29 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.12-11
- - actually apply the patches
- * Sat Oct 28 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.12-10
- - add patches for x86_64
- * Mon Jul 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-8vl1
- - initial build for Vine Linux
- * Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-8
- - ExcludeArch x86_64
- * Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-7
- - disable unit tests (map8.t fails on x86_64)
- * Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-6
- - rebuild for FC5
- * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- - rebuilt
- * Mon Feb 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.4
- - Reduce directory ownership bloat.
- * Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.3
- - Install into vendor dirs.
- - Specfile cleanup.
- * Mon Jul 7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.2
- - Regenerate %%install section with cpanflute2.
- * Wed May 7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.1
- - Update to current Fedora guidelines.
- * Sun Mar 2 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.12-1.fedora.1
- - First Fedora release.
|