Name: perl-App-cpanminus Version: 1.4004 Release: 1%{?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 BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # Required by bin/cpanm Requires: perl(Cwd) Requires: perl(File::Path) Requires: perl(File::Spec) Requires: perl(Getopt::Long) Requires: perl(IO::File) Requires: perl(IO::Socket) Requires: perl(JSON) Requires: perl(LWP) Requires: perl(Module::Build) Requires: perl(Parse::CPAN::Meta) Requires: perl(Time::Local) Requires: perl(YAML) # XXX: Keep Provides: cpanminus to allow `yum install cpanminus' instead of # longer `yum install perl-App-cpanminus'. Provides: cpanminus = %{version}-%{release} Obsoletes: cpanminus <= %{version}-1.2002 %{?filter_setup: %filter_from_requires /^perl(App::cpanminus::script)$/d %?perl_default_filter } %description Why? It's dependency free, requires zero configuration, and stands alone but it's maintainable and extensible with plug-ins and friendly to shell scripting. When running, it requires only 10 MB of RAM. %prep %setup -q -n App-cpanminus-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install 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 %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %{_mandir}/man1/* %{_bindir}/cpanm %changelog * Fri Mar 11 2011 Petr Sabata - 1.4004-1 - 1.4004 bump * Thu Mar 10 2011 Petr Pisar - 1.4003-1 - 1.4003 bump * Tue Mar 08 2011 Petr Pisar - 1.4000-1 - 1.4000 bump * Fri Mar 04 2011 Petr Pisar - 1.3001-1 - 1.3001 bump * Thu Mar 03 2011 Petr Pisar - 1.3000-1 - 1.3000 bump - Clean up spec file - Require modules needed by cpanm - Merge cpanminus into main package as cpanminus required main package and main package did not contain any code (i.e. was useless). * Thu Feb 17 2011 Petr Sabata - 1.2001-1 - 1.2001 bump * Tue Feb 08 2011 Fedora Release Engineering - 1.1008-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Jan 27 2011 Petr Pisar - 1.1008-1 - 1.1008 bump * Mon Jan 24 2011 Petr Pisar - 1.1007-1 - 1.1007 bump * Mon Jan 3 2011 Petr Sabata - 1.1006-1 - 1.1006 bump * Thu Dec 2 2010 Petr Sabata - 1.1004-1 - 1.1004 bump * Fri Nov 19 2010 Petr Pisar - 1.1002-1 - 1.1002 bump * Mon Sep 27 2010 Petr Pisar - 1.0015-1 - 1.0015 bump * Thu Sep 23 2010 Petr Pisar - 1.0014-1 - 1.0014 bump * Tue Sep 14 2010 Petr Pisar - 1.0013-1 - 1.0013 bump - Correct description spelling * 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.