Author: pghmcfc Update of /cvs/pkgs/rpms/perl-Jcode/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31326 Modified Files: .cvsignore perl-Jcode.spec sources Log Message: - Update to 2.07 (fix mime_encode, CPAN RT#29049) - Run test suite in "C" locale to support build on old distributions - Fix argument order for find with -depth - Encode manpages in UTF-8 - Include old Changes file too - Mark POD file as %doc - Add explicit perl(MIME::Base64) dependency for MIME header support Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-Jcode/devel/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -p -r1.5 -r1.6 --- .cvsignore 30 Aug 2006 16:00:39 -0000 1.5 +++ .cvsignore 24 Aug 2009 20:49:02 -0000 1.6 @@ -1 +1 @@ -Jcode-2.06.tar.gz +Jcode-2.07.tar.gz Index: perl-Jcode.spec =================================================================== RCS file: /cvs/pkgs/rpms/perl-Jcode/devel/perl-Jcode.spec,v retrieving revision 1.19 retrieving revision 1.20 diff -u -p -r1.19 -r1.20 --- perl-Jcode.spec 26 Jul 2009 08:51:53 -0000 1.19 +++ perl-Jcode.spec 24 Aug 2009 20:49:02 -0000 1.20 @@ -1,56 +1,65 @@ -Name: perl-Jcode -Version: 2.06 -Release: 9%{?dist} - -Summary: Perl extension interface for converting Japanese text - -License: GPL+ or Artistic -Group: Development/Libraries -URL: http://search.cpan.org/dist/Jcode/ -Source0: http://www.cpan.org/authors/id/D/DA/DANKOGAI/Jcode-2.06.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildArch: noarch -BuildRequires: perl-devel >= 3:5.8.1, perl-Test-Simple -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Name: perl-Jcode +Version: 2.07 +Release: 1%{?dist} +Summary: Perl extension interface for converting Japanese text +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Jcode/ +Source0: http://www.cpan.org/authors/id/D/DA/DANKOGAI/Jcode-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: perl(ExtUtils::MakeMaker), perl(MIME::Base64), perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(MIME::Base64) %description %{summary}. - %prep %setup -q -n Jcode-%{version} +# Fix character encoding of pod file +%{__mv} Jcode/Nihongo.pod Jcode/Nihongo.pod.euc-jp +%{__sed} -e 's/^=encoding euc-jp/=encoding utf8/' Jcode/Nihongo.pod.euc-jp | + /usr/bin/iconv -f euc-jp -t utf-8 -o Jcode/Nihongo.pod +%{__rm} Jcode/Nihongo.pod.euc-jp %build %{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} - +%{__make} %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* - +%{__rm} -rf %{buildroot} +%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot} +/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';' +/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';' +%{__chmod} -R u+w %{buildroot} %check -make test - +LC_ALL=C %{__make} test %clean -rm -rf $RPM_BUILD_ROOT - +%{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) -%doc Changes README -%{perl_vendorlib}/Jcode* -%{_mandir}/man3/*.3* - +%doc Changes* README +%{perl_vendorlib}/Jcode.pm +%dir %{perl_vendorlib}/Jcode/ +%doc %{perl_vendorlib}/Jcode/Nihongo.pod +%{_mandir}/man3/Jcode.3pm* +%{_mandir}/man3/Jcode::Nihongo.3pm* %changelog +* Mon Aug 24 2009 Paul Howarth <paul@xxxxxxxxxxxx> - 2.07-1 +- Update to 2.07 (fix mime_encode, CPAN RT#29049) +- Run test suite in "C" locale to support build on old distributions +- Fix argument order for find with -depth +- Encode manpages in UTF-8 +- Include old Changes file too +- Mark POD file as %%doc +- Add explicit perl(MIME::Base64) dependency for MIME header support + * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.06-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-Jcode/devel/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -p -r1.5 -r1.6 --- sources 30 Aug 2006 16:00:39 -0000 1.5 +++ sources 24 Aug 2009 20:49:02 -0000 1.6 @@ -1 +1 @@ -56d787a94cbb557d8b21d10972befd94 Jcode-2.06.tar.gz +f6c52253ff69a44c38a9183c469f6eb0 Jcode-2.07.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list