Name: perlbrew Version: 0.06 Release: 2%{?dist} Summary: Manage perl installations in your $HOME License: MIT Group: Development/Libraries URL: http://search.cpan.org/dist/App-perlbrew/ Source0: http://www.cpan.org/authors/id/G/GU/GUGOD/App-perlbrew-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.8.0 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(HTTP::Lite) >= 2.2 BuildRequires: perl(Test::More) Requires: perl(HTTP::Lite) >= 2.2 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # maybe someone expects to find Provides: perl-App-perlbrew = %{version}-%{release} %{?perl_default_filter} %description perlbrew is a program to automate the building and installation of perl in the users HOME. At the moment, it installs everything to ~/perl5/perlbrew, and requires you to tweak your PATH by including a bashrc/cshrc file it provides. You then can benefit from not having to run 'sudo' commands to install cpan modules because those are installed inside your HOME too. It's almost like an isolated perl environments. %prep %setup -q -n App-perlbrew-%{version} %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 LICENSE README %{perl_vendorlib}/* %{_bindir}/%{name} %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Tue May 18 2010 Iain Arnell 0.06-2 - License is MIT, not "same as Perl" * Sat May 08 2010 Iain Arnell 0.06-1 - Specfile autogenerated by cpanspec 1.78.