|
|
89ff2c1 |
Name: perlbrew
|
|
|
2735c9c |
Version: 0.22
|
|
|
ed82e93 |
Release: 1%{?dist}
|
|
|
89ff2c1 |
Summary: Manage perl installations in your $HOME
|
|
|
89ff2c1 |
License: MIT
|
|
|
89ff2c1 |
Group: Development/Libraries
|
|
|
89ff2c1 |
URL: http://search.cpan.org/dist/App-perlbrew/
|
|
|
89ff2c1 |
Source0: http://www.cpan.org/authors/id/G/GU/GUGOD/App-perlbrew-%{version}.tar.gz
|
|
|
89ff2c1 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
89ff2c1 |
BuildArch: noarch
|
|
|
89ff2c1 |
BuildRequires: perl >= 1:5.8.0
|
|
|
78fb8fa |
BuildRequires: perl(Devel::PatchPerl)
|
|
|
89ff2c1 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
2735c9c |
BuildRequires: perl(IO::All)
|
|
|
2735c9c |
BuildRequires: perl(Path::Class)
|
|
|
2735c9c |
BuildRequires: perl(Test::Exception)
|
|
|
89ff2c1 |
BuildRequires: perl(Test::More)
|
|
|
78fb8fa |
BuildRequires: perl(Test::Output)
|
|
|
2735c9c |
BuildRequires: perl(Try::Tiny)
|
|
|
89ff2c1 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
78fb8fa |
Requires: perl(Devel::PatchPerl) >= 0.26
|
|
|
a8068ee |
Requires: curl
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
# maybe someone expects to find
|
|
|
89ff2c1 |
Provides: perl-App-perlbrew = %{version}-%{release}
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
%{?perl_default_filter}
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
%description
|
|
|
89ff2c1 |
perlbrew is a program to automate the building and installation of perl in
|
|
|
89ff2c1 |
the users HOME. At the moment, it installs everything to ~/perl5/perlbrew,
|
|
|
89ff2c1 |
and requires you to tweak your PATH by including a bashrc/cshrc file it
|
|
|
89ff2c1 |
provides. You then can benefit from not having to run 'sudo' commands to
|
|
|
89ff2c1 |
install cpan modules because those are installed inside your HOME too. It's
|
|
|
89ff2c1 |
almost like an isolated perl environments.
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
%prep
|
|
|
89ff2c1 |
%setup -q -n App-perlbrew-%{version}
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
%build
|
|
|
89ff2c1 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
89ff2c1 |
make %{?_smp_mflags}
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
%install
|
|
|
89ff2c1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
89ff2c1 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
%check
|
|
|
89ff2c1 |
make test
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
%clean
|
|
|
89ff2c1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
%files
|
|
|
89ff2c1 |
%doc Changes LICENSE README
|
|
|
89ff2c1 |
%{perl_vendorlib}/*
|
|
|
89ff2c1 |
%{_bindir}/%{name}
|
|
|
89ff2c1 |
%{_mandir}/man1/*
|
|
|
89ff2c1 |
%{_mandir}/man3/*
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
%changelog
|
|
|
2735c9c |
* Fri May 27 2011 Iain Arnell <iarnell@gmail.com> 0.22-1
|
|
|
2735c9c |
- update to latest upstream version
|
|
|
2735c9c |
|
|
|
78fb8fa |
* Wed May 11 2011 Iain Arnell <iarnell@gmail.com> 0.20-1
|
|
|
78fb8fa |
- update to latest upstream version
|
|
|
78fb8fa |
|
|
|
db99f68 |
* Wed Mar 16 2011 Iain Arnell <iarnell@gmail.com> 0.18-1
|
|
|
db99f68 |
- update to latest upstream version
|
|
|
db99f68 |
|
|
|
3bd2501 |
* Thu Mar 10 2011 Iain Arnell <iarnell@gmail.com> 0.17-1
|
|
|
3bd2501 |
- update to latest upstream version
|
|
|
3bd2501 |
|
|
|
ed82e93 |
* Sun Feb 20 2011 Iain Arnell <iarnell@gmail.com> 0.16-1
|
|
|
ed82e93 |
- update to latest upstream version
|
|
|
ed82e93 |
|
|
|
538df30 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-3
|
|
|
538df30 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
538df30 |
|
|
|
a585420 |
* Thu Dec 09 2010 Iain Arnell <iarnell@gmail.com> 0.15-2
|
|
|
a585420 |
- actually apply the older-Test-More patch
|
|
|
a585420 |
|
|
|
dfd8a0b |
* Thu Dec 09 2010 Iain Arnell <iarnell@gmail.com> 0.15-1
|
|
|
dfd8a0b |
- update to latest upstream version
|
|
|
dfd8a0b |
- no longer requires perl(File::Path::Tiny)
|
|
|
dfd8a0b |
- patch tests to work on older Test::More for EPEL
|
|
|
dfd8a0b |
|
|
|
a4d167b |
* Thu Dec 02 2010 Iain Arnell <iarnell@gmail.com> 0.14-1
|
|
|
a4d167b |
- update to latest upstream version
|
|
|
a4d167b |
|
|
|
a8068ee |
* Tue Nov 23 2010 Iain Arnell <iarnell@gmail.com> 0.13-1
|
|
|
a8068ee |
- update to latest upstream version
|
|
|
a8068ee |
|
|
|
8d97dfc |
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-3
|
|
|
8d97dfc |
- Mass rebuild with perl-5.12.0
|
|
|
8d97dfc |
|
|
|
89ff2c1 |
* Tue May 18 2010 Iain Arnell <iarnell@gmail.com> 0.06-2
|
|
|
89ff2c1 |
- License is MIT, not "same as Perl"
|
|
|
89ff2c1 |
|
|
|
89ff2c1 |
* Sat May 08 2010 Iain Arnell 0.06-1
|
|
|
89ff2c1 |
- Specfile autogenerated by cpanspec 1.78.
|