perl-Unicode-Map8-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. %{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
  2. Name: perl-Unicode-Map8
  3. Version: 0.13
  4. Release: 2%{?_dist_release}
  5. Summary: Mapping table between 8-bit chars and Unicode for Perl
  6. Group: Development/Libraries
  7. License: GPL or Artistic
  8. URL: http://search.cpan.org/dist/Unicode-Map8/
  9. Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Unicode-Map8-%{version}.tar.gz
  10. Patch0: perl-Unicode-Map8-0.12-declaration.patch
  11. Patch1: perl-Unicode-Map8-0.12-type.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. BuildRequires: perl(Unicode::String)
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. # Does not work on x86_64, see bug #182514
  19. #ExcludeArch: x86_64
  20. %description
  21. The Unicode::Map8 class implements efficient mapping tables between
  22. 8-bit character sets and 16 bit character sets like Unicode. About
  23. 170 different mapping tables between various known character sets and
  24. Unicode is distributed with this package. The source of these tables
  25. is the vendor mapping tables provided by Unicode, Inc. and the code
  26. tables in RFC 1345. New maps can easily be installed.
  27. %prep
  28. %setup -q -n Unicode-Map8-%{version}
  29. %patch0 -p0 -b .declaration
  30. %patch1 -p0 -b .type
  31. %build
  32. CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
  33. make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install \
  37. PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
  38. INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
  39. find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
  40. -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
  41. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  42. chmod -R u+w $RPM_BUILD_ROOT/*
  43. %check || :
  44. make test
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc Changes README
  50. %{_bindir}/umap
  51. %{perl_vendorarch}/auto/Unicode
  52. %{perl_vendorarch}/Unicode
  53. %{_mandir}/man[13]/*.[13]*
  54. %changelog
  55. * Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.13-2
  56. - rebuilt with perl 5.16.3
  57. - added Vendor and Distribution tag
  58. * Sat Apr 23 2011 IWAI, Masaharu <iwai@alib.jp> 0.13-1
  59. - new upstream release
  60. * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-9vl5
  61. - rebuilt with perl-5.10.0
  62. - appiled new versioning policy
  63. * Thu Aug 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-8vl2
  64. - changed Group to Development/Libraries
  65. - added Patch0 and 1 from Fedora
  66. * Sun Oct 29 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.12-11
  67. - actually apply the patches
  68. * Sat Oct 28 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.12-10
  69. - add patches for x86_64
  70. * Mon Jul 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-8vl1
  71. - initial build for Vine Linux
  72. * Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-8
  73. - ExcludeArch x86_64
  74. * Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-7
  75. - disable unit tests (map8.t fails on x86_64)
  76. * Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-6
  77. - rebuild for FC5
  78. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  79. - rebuilt
  80. * Mon Feb 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.4
  81. - Reduce directory ownership bloat.
  82. * Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.3
  83. - Install into vendor dirs.
  84. - Specfile cleanup.
  85. * Mon Jul 7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.2
  86. - Regenerate %%install section with cpanflute2.
  87. * Wed May 7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.1
  88. - Update to current Fedora guidelines.
  89. * Sun Mar 2 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.12-1.fedora.1
  90. - First Fedora release.