perl-Jcode-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. %define real_name Jcode
  2. Summary: a Perl extension interface to convert Japanese text
  3. Summary(ja): さまざまな日本語文字コードを Perl で扱うための Module
  4. Name: perl-Jcode
  5. Version: 2.07
  6. Release: 1%{?_dist_release}
  7. License: Free (the same terms as Perl itself)
  8. Group: Development/Libraries
  9. Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Net/%{real_name}-%{version}.tar.gz
  10. Requires: perl >= 5.8.1
  11. BuildRequires: perl >= 5.8.1
  12. Buildroot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArch: noarch
  14. %description
  15. This is a Perl module for using Japanese charset.
  16. %description -l ja
  17. さまざまな日本語文字コードを Perl で扱うための Module
  18. %prep
  19. %setup -q -n %{real_name}-%{version}
  20. %build
  21. perl Makefile.PL INSTALLDIRS=vendor
  22. make
  23. %install
  24. rm -rf %{buildroot}
  25. make install DESTDIR=%{buildroot}
  26. rm -f %{buildroot}%{perl_vendorarch}/mac_install.pl
  27. rm -f %{buildroot}%{perl_vendorarch}/win_install.pl
  28. find $RPM_BUILD_ROOT%{_libdir} -type f -print |
  29. sed "s@^$RPM_BUILD_ROOT@@g" |
  30. grep -v perllocal.pod |
  31. grep -v "\.packlist" > %{name}.files
  32. if [ "$(cat %{name}.files)X" = "X" ] ; then
  33. echo "ERROR: EMPTY FILE LIST"
  34. exit -1
  35. fi
  36. perllocalfile=`find %{buildroot} -name perllocal.pod`
  37. echo "mv $perllocalfile ."
  38. mv $perllocalfile .
  39. %clean
  40. rm -rf %{buildroot}
  41. %check
  42. make test
  43. %files -f %{name}.files
  44. %defattr(-,root,root)
  45. %doc Changes MANIFEST README perllocal.pod
  46. %dir %{perl_vendorlib}/Jcode
  47. #dir %{perl_vendorarch}/Jcode/Unicode
  48. #dir %{perl_vendorarch}/auto/Jcode
  49. #dir %{perl_vendorarch}/auto/Jcode/Unicode
  50. %{_mandir}/man3/*
  51. %changelog
  52. * Sat Apr 23 2011 IWAI, Masaharu <iwai@alib.jp> 2.07-1
  53. - new upstream release
  54. - update {,Build}Requires perl version: 5.8.1+
  55. * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.06-2
  56. - spec in UTF-8
  57. * Wed Apr 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.06-1
  58. - applied new versioning policy
  59. * Fri Feb 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.06-0vl1
  60. - new upstream release
  61. - changed Group to Development/Libraries
  62. - changed noarch
  63. * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 0.88-0vl1
  64. - build on perl-5.8.6-0vl1
  65. * Tue Nov 11 2003 IWAI, Masaharu <iwai@alib.jp> 0.83-0vl4
  66. - build with perl-5.8.2
  67. * Thu May 8 2003 IWAI Masaharu <iwai@alib.jp> 0.83-0vl3
  68. - drop scripts for installing on the MS Windows and MacOS
  69. * Tue May 06 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.83-0vl2
  70. - fixed install dir of perllocal.pod
  71. * Wed Apr 16 2003 IWAI Masaharu <iwai@alib.jp> 0.83-0vl1
  72. - update to 0.83
  73. - build with perl-5.8.0
  74. - eliminate perl-MIME-Base64 in {Build,}Requires
  75. * Sat Feb 15 2003 IWAI Masaharu <iwai@alib.jp> 0.82-0vl1
  76. - update to 0.82
  77. * Sun May 19 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.80-0vl1
  78. - updated to 0.80
  79. - HISTORY -> Changes
  80. * Thu Sep 06 2001 Toru Sagami <sagami@vinelinux.org>
  81. - 0.75-0vl2: was ported to VineSeedPlus with minor spec fixes
  82. * Tue Jul 24 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
  83. - updated to 0.75
  84. * Thu Jun 14 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
  85. - fixed Copyright.
  86. * Thu Jun 14 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
  87. - first version of rpm.
  88. # end of file