X-Git-Url: https://git.pld-linux.org/?p=packages%2Fperl-CPAN.git;a=blobdiff_plain;f=perl-CPAN.spec;h=dc637e8590b83298bdf38193969a1e1b39c6dd30;hp=3b561f4186ac8199b91a3d755d70887ee4a5f25f;hb=HEAD;hpb=16e4353e30794d26003403f9a488fbbddc55daf5 diff --git a/perl-CPAN.spec b/perl-CPAN.spec index 3b561f4..dc637e8 100644 --- a/perl-CPAN.spec +++ b/perl-CPAN.spec @@ -2,17 +2,18 @@ # Conditional build: %bcond_without tests # do not perform "make test" # -%include /usr/lib/rpm/macros.perl %define pdir CPAN Summary: CPAN Perl module - query, download and build Perl modules from CPAN sites Summary(pl.UTF-8): Moduł Perla CPAN - odpytywanie, ściąganie i budowanie modułów Perla z serwisów CPAN Name: perl-CPAN -Version: 1.9205 +Version: 2.26 Release: 1 -License: unknown +# same as perl +License: GPL v1+ or Artistic Group: Development/Languages/Perl -Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz -# Source0-md5: 779a03a6c79bf81b0e5a463f0593bbbf +Source0: http://www.cpan.org/modules/by-module/CPAN/%{pdir}-%{version}.tar.gz +# Source0-md5: f8b88baa35bd6ae582d3dd9b6c5e4771 +URL: http://search.cpan.org/dist/CPAN/ %if %{with tests} BuildRequires: perl-Test-Simple %endif @@ -54,10 +55,27 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc ChangeLog Todo +%doc Todo %attr(755,root,root) %{_bindir}/cpan +%attr(755,root,root) %{_bindir}/cpan-mirrors %{perl_vendorlib}/*.pm +%{perl_vendorlib}/App/Cpan.pm %dir %{perl_vendorlib}/CPAN %{perl_vendorlib}/CPAN/*.pm +%dir %{perl_vendorlib}/CPAN/API +%{perl_vendorlib}/CPAN/API/HOWTO.pod +%dir %{perl_vendorlib}/CPAN/Exception +%{perl_vendorlib}/CPAN/Exception/*.pm +%dir %{perl_vendorlib}/CPAN/FTP +%{perl_vendorlib}/CPAN/FTP/netrc.pm +%dir %{perl_vendorlib}/CPAN/HTTP +%{perl_vendorlib}/CPAN/HTTP/*.pm +%dir %{perl_vendorlib}/CPAN/Kwalify +%{perl_vendorlib}/CPAN/Kwalify/distroprefs* +%dir %{perl_vendorlib}/CPAN/LWP +%{perl_vendorlib}/CPAN/LWP/UserAgent.pm +%dir %{perl_vendorlib}/CPAN/Plugin +%{perl_vendorlib}/CPAN/Plugin/*.pm %{_mandir}/man1/* +%{_mandir}/man3/App::Cpan.3pm* %{_mandir}/man3/C*