%define module CPAN-Mini %define name perl-%{module} %define version 0.571 %define release %mkrel 2 Name: %{name} Version: %{version} Release: %{release} Summary: Create a minimal mirror of CPAN License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/CPAN/%{module}-%{version}.tar.gz %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildRequires: perl(URI) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Compress::Zlib) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description CPAN::Mini provides a simple mechanism to build and update a minimal mirror of the CPAN on your local disk. It comes with a small utility, minicpan(1), to create and update such mirrors. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/CPAN %{_mandir}/*/* %{_bindir}/minicpan %changelog * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.571-2mdv2009.0 + Revision: 268373 - rebuild early 2009.0 package (before pixel changes) * Sat May 24 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.571-1mdv2009.0 + Revision: 210845 - update to new version 0.571 * Tue May 06 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.570-1mdv2009.0 + Revision: 201847 - update to new version 0.570 * Mon Mar 10 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.568-1mdv2008.1 + Revision: 183287 - update to new version 0.568 * Thu Feb 21 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.567-1mdv2008.1 + Revision: 173531 - update to new version 0.567 * Tue Jan 22 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.566-1mdv2008.1 + Revision: 156853 - update to new version 0.566 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Wed Nov 21 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.565-1mdv2008.1 + Revision: 110894 - new version * Fri Nov 02 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.564-1mdv2008.1 + Revision: 105302 - update to new version 0.564 * Sun Oct 21 2007 Funda Wang <fundawang@mandriva.org> 0.563-1mdv2008.1 + Revision: 101003 - update to new version 0.563 * Thu Jul 26 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.562-1mdv2008.0 + Revision: 55686 - update to new version 0.562 * Sat Dec 09 2006 Olivier Thauvin <nanardon@mandriva.org> 0.55.2-1mdv2007.0 + Revision: 93907 - 0.552 * Sat Nov 18 2006 Olivier Thauvin <nanardon@mandriva.org> 0.55.1-1mdv2007.1 + Revision: 85442 - 0.551 - 0.55 - Import perl-CPAN-Mini * Thu Aug 03 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.50.0-1mdv2007.0 - New version (upstream version 0.500) * Thu Nov 10 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.40-1mdk - 0.40 * Fri Oct 14 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.38-1mdk - 0.38 * Tue Oct 11 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.36-3mdk - Fix BuildRequires - %%mkrel * Sat Oct 01 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.36-2mdk - buildrequires fix * Fri Jan 07 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.36-1mdk - 0.36 * Tue Dec 07 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.24-1mdk - Initial MDK release.