From 89ff2c189c6a954522a3b84cb3633e43b66d005f Mon Sep 17 00:00:00 2001 From: Iain Arnell Date: May 19 2010 03:00:35 +0000 Subject: initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..2514ae7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +App-perlbrew-0.06.tar.gz diff --git a/perlbrew.spec b/perlbrew.spec new file mode 100644 index 0000000..33a6f70 --- /dev/null +++ b/perlbrew.spec @@ -0,0 +1,67 @@ +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. diff --git a/sources b/sources index e69de29..8c735b2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c19844213c36b12163b7bf100ec3ad28 App-perlbrew-0.06.tar.gz