|
@@ -4,7 +4,7 @@ Summary: a Perl extension interface to convert Japanese text
|
|
|
Summary(ja): さまざまな日本語文字コードを Perl で扱うための Module
|
|
|
Name: perl-Jcode
|
|
|
Version: 2.07
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
License: Free (the same terms as Perl itself)
|
|
|
Group: Development/Libraries
|
|
|
Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Net/%{real_name}-%{version}.tar.gz
|
|
@@ -13,6 +13,9 @@ BuildRequires: perl >= 5.8.1
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildArch: noarch
|
|
|
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+
|
|
|
%description
|
|
|
This is a Perl module for using Japanese charset.
|
|
|
|
|
@@ -33,36 +36,25 @@ make install DESTDIR=%{buildroot}
|
|
|
rm -f %{buildroot}%{perl_vendorarch}/mac_install.pl
|
|
|
rm -f %{buildroot}%{perl_vendorarch}/win_install.pl
|
|
|
|
|
|
-
|
|
|
-find $RPM_BUILD_ROOT%{_libdir} -type f -print |
|
|
|
- sed "s@^$RPM_BUILD_ROOT@@g" |
|
|
|
- grep -v perllocal.pod |
|
|
|
- grep -v "\.packlist" > %{name}.files
|
|
|
-if [ "$(cat %{name}.files)X" = "X" ] ; then
|
|
|
- echo "ERROR: EMPTY FILE LIST"
|
|
|
- exit -1
|
|
|
-fi
|
|
|
-
|
|
|
-perllocalfile=`find %{buildroot} -name perllocal.pod`
|
|
|
-echo "mv $perllocalfile ."
|
|
|
-mv $perllocalfile .
|
|
|
-
|
|
|
-%clean
|
|
|
+%clean
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
%check
|
|
|
make test
|
|
|
|
|
|
-%files -f %{name}.files
|
|
|
+%files
|
|
|
%defattr(-,root,root)
|
|
|
-%doc Changes MANIFEST README perllocal.pod
|
|
|
-%dir %{perl_vendorlib}/Jcode
|
|
|
-#dir %{perl_vendorarch}/Jcode/Unicode
|
|
|
-#dir %{perl_vendorarch}/auto/Jcode
|
|
|
-#dir %{perl_vendorarch}/auto/Jcode/Unicode
|
|
|
-%{_mandir}/man3/*
|
|
|
+%doc Changes MANIFEST README
|
|
|
+%{perl_vendorlib}/Jcode.pm
|
|
|
+%{perl_vendorlib}/Jcode
|
|
|
+%{_mandir}/man3/*3pm*
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Jul 1 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.07-2
|
|
|
+- build with Perl 5.16
|
|
|
+- add Vendor and Distribution tags
|
|
|
+- clean up %%install section
|
|
|
+
|
|
|
* Sat Apr 23 2011 IWAI, Masaharu <iwai@alib.jp> 2.07-1
|
|
|
- new upstream release
|
|
|
- update {,Build}Requires perl version: 5.8.1+
|