perl-Unicode-MapUTF8-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. %{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
  2. Name: perl-Unicode-MapUTF8
  3. Version: 1.11
  4. Release: 2%{?_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. %description
  18. Unicode::MapUTF8 Provides an adapter layer between core routines for
  19. converting to and from UTF8 and other encodings. In essence, a way to
  20. give multiple existing Unicode modules a single common interface so
  21. you don't have to know the underlaying implementations to do simple
  22. UTF8 to-from other character set string conversions. As such, it wraps
  23. the Unicode::String, Unicode::Map8, Unicode::Map and Jcode modules in
  24. a standardized and simple API.
  25. %prep
  26. %setup -q -n Unicode-MapUTF8-%{version}
  27. %build
  28. CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install \
  33. PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
  34. INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
  35. find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
  36. -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
  37. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  38. chmod -R u+w $RPM_BUILD_ROOT/*
  39. %check || :
  40. make test
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc README
  46. %{perl_vendorlib}/Unicode
  47. %{_mandir}/man3/*.3*
  48. %changelog
  49. * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 1.11-2vl5
  50. - spec in utf-8
  51. * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-1vl5
  52. - rebuilt with perl-5.10.0
  53. - appiled new versioning policy
  54. * Thu Aug 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-0vl2
  55. - changed Group to Development/Libraries
  56. * Mon Jul 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-0vl1
  57. - initial build for Vine Linux
  58. * Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 1.09-6
  59. - rebuild for FC5
  60. - ExcludeArch x86_64 because perl-Unicode-Map8 does not work on this arch
  61. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  62. - rebuilt
  63. * Mon Feb 2 2004 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.4
  64. - Reduce directory ownership bloat.
  65. * Sat Oct 11 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.3
  66. - Install into vendor dirs.
  67. - Specfile cleanup.
  68. * Mon Jul 7 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.2
  69. - Regenerate %%install section with cpanflute2.
  70. - Improve %%description.
  71. * Wed May 7 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.1
  72. - Update to current Fedora guidelines.
  73. * Sun Mar 2 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 1.09-1.fedora.1
  74. - First Fedora release.