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