Name: perl-App-cpanminus Version: 0.9935 Release: 3%{?dist} Summary: Library for get, unpack, build and install CPAN modules License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/App-cpanminus/ Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(LWP) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) Requires: perl(LWP) Requires: perl(Module::Build) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Why? It's dependency free, requires zero configuration, and stands alone but it's maintainable and extensible with plugins and friendly to shell scripting. When running, it requires only 10MB of RAM. %package -n cpanminus License: GPL+ or Artistic Group: Development/Libraries Summary: Get, unpack, build and install modules from CPAN Requires: %{name} = %{version}-%{release} %description -n cpanminus cpanminus is a script to get, unpack, build and install modules from CPAN. Deps-free, zero-conf, standalone... %prep %setup -q -n App-cpanminus-%{version} %{?filter_setup: %filter_from_requires /^perl(App::cpanminus::script)$/d %?perl_default_filter } %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes %{perl_vendorlib}/* %{_mandir}/man3/* %files -n cpanminus %defattr(-,root,root,-) %{_bindir}/cpanm %changelog * Thu Apr 29 2010 Marcela Maslanova - 0.9935-3 - Mass rebuild with perl-5.12.0 * Tue Mar 16 2010 Marcela Mašláňová 0.9935-2 - filter unwanted requires * Tue Mar 16 2010 Marcela Mašláňová 0.9935-1 - update * Tue Mar 16 2010 Marcela Mašláňová 0.9923-1 - update - create sub-package * Tue Mar 2 2010 Marcela Mašláňová 0.9911-1 - new version & fix description * Tue Feb 23 2010 Marcela Mašláňová 0.09-1 - Specfile autogenerated by cpanspec 1.78.