perl-Jcode-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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.06
  6. Release: 2%{?_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.0
  11. BuildRequires: perl >= 5.8.0
  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. * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.06-2
  53. - spec in UTF-8
  54. * Wed Apr 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.06-1
  55. - applied new versioning policy
  56. * Fri Feb 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.06-0vl1
  57. - new upstream release
  58. - changed Group to Development/Libraries
  59. - changed noarch
  60. * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 0.88-0vl1
  61. - build on perl-5.8.6-0vl1
  62. * Tue Nov 11 2003 IWAI, Masaharu <iwai@alib.jp> 0.83-0vl4
  63. - build with perl-5.8.2
  64. * Thu May 8 2003 IWAI Masaharu <iwai@alib.jp> 0.83-0vl3
  65. - drop scripts for installing on the MS Windows and MacOS
  66. * Tue May 06 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.83-0vl2
  67. - fixed install dir of perllocal.pod
  68. * Wed Apr 16 2003 IWAI Masaharu <iwai@alib.jp> 0.83-0vl1
  69. - update to 0.83
  70. - build with perl-5.8.0
  71. - eliminate perl-MIME-Base64 in {Build,}Requires
  72. * Sat Feb 15 2003 IWAI Masaharu <iwai@alib.jp> 0.82-0vl1
  73. - update to 0.82
  74. * Sun May 19 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.80-0vl1
  75. - updated to 0.80
  76. - HISTORY -> Changes
  77. * Thu Sep 06 2001 Toru Sagami <sagami@vinelinux.org>
  78. - 0.75-0vl2: was ported to VineSeedPlus with minor spec fixes
  79. * Tue Jul 24 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
  80. - updated to 0.75
  81. * Thu Jun 14 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
  82. - fixed Copyright.
  83. * Thu Jun 14 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
  84. - first version of rpm.
  85. # end of file