Name: perl-App-cpanminus Version: 0.09 Release: 1%{?dist} Summary: App::cpanminus Perl module 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(LWP) BuildRequires: perl(Module::Build) Requires: perl(LWP) Requires: perl(Module::Build) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description cd ~/bin wget http://bit.ly/cpanm chmod +x cpanm # edit shebang if you don't have /usr/bin/env %prep %setup -q -n App-cpanminus-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor 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 -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 README.md %{perl_vendorlib}/* %{_bindir}/* %{_mandir}/man1/* %changelog * Tue Feb 23 2010 Dave Cross 0.09-1 - Specfile autogenerated by cpanspec 1.77.