perl-Unicode-MapUTF8-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. %{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
  2. Name: perl-Unicode-MapUTF8
  3. Version: 1.11
  4. Release: 4%{?_dist_release}
  5. Summary: Conversions to and from arbitrary character sets and UTF8
  6. Summary(ja): 任意の文字コードと UTF8 を相互変換する perl モジュール
  7. Group: Development/Libraries
  8. License: GPL or Artistic
  9. URL: http://search.cpan.org/dist/Unicode-MapUTF8/
  10. Source0: http://www.cpan.org/authors/id/S/SN/SNOWHARE/Unicode-MapUTF8-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: perl(Jcode)
  14. BuildRequires: perl(Unicode::String)
  15. BuildRequires: perl(Unicode::Map)
  16. BuildRequires: perl(Unicode::Map8)
  17. BuildRequires: perl(ExtUtils::MakeMaker)
  18. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %description
  22. Unicode::MapUTF8 Provides an adapter layer between core routines for
  23. converting to and from UTF8 and other encodings. In essence, a way to
  24. give multiple existing Unicode modules a single common interface so
  25. you don't have to know the underlaying implementations to do simple
  26. UTF8 to-from other character set string conversions. As such, it wraps
  27. the Unicode::String, Unicode::Map8, Unicode::Map and Jcode modules in
  28. a standardized and simple API.
  29. %prep
  30. %setup -q -n Unicode-MapUTF8-%{version}
  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 README
  50. %{perl_vendorlib}/Unicode
  51. %{_mandir}/man3/*.3*
  52. %changelog
  53. * Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.11-4
  54. - rebuilt with perl 5.16.3
  55. - added Vendor and Distribution tag
  56. * Sat Apr 23 2011 IWAI, Masaharu <iwai@alib.jp> 1.11-3vl6
  57. - build with perl 5.12.3
  58. * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 1.11-2vl5
  59. - spec in utf-8
  60. * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-1vl5
  61. - rebuilt with perl-5.10.0
  62. - appiled new versioning policy
  63. * Thu Aug 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-0vl2
  64. - changed Group to Development/Libraries
  65. * Mon Jul 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-0vl1
  66. - initial build for Vine Linux
  67. * Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 1.09-6
  68. - rebuild for FC5
  69. - ExcludeArch x86_64 because perl-Unicode-Map8 does not work on this arch
  70. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  71. - rebuilt
  72. * Mon Feb 2 2004 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.4
  73. - Reduce directory ownership bloat.
  74. * Sat Oct 11 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.3
  75. - Install into vendor dirs.
  76. - Specfile cleanup.
  77. * Mon Jul 7 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.2
  78. - Regenerate %%install section with cpanflute2.
  79. - Improve %%description.
  80. * Wed May 7 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.1
  81. - Update to current Fedora guidelines.
  82. * Sun Mar 2 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 1.09-1.fedora.1
  83. - First Fedora release.