|
|
7448d4 |
Name: perl-local-lib
|
|
|
7448d4 |
Version: 1.008010
|
|
|
8aeaf7 |
Release: 3%{?dist}
|
|
|
7448d4 |
# lib/local/lib.pm -> GPL+ or Artistic
|
|
|
7448d4 |
License: GPL+ or Artistic
|
|
|
7448d4 |
Group: Development/Libraries
|
|
|
7448d4 |
Summary: Create and use a local lib/ for perl modules
|
|
|
7448d4 |
Source: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/local-lib-%{version}.tar.gz
|
|
|
7448d4 |
# Allow evaluation in CSH, RHBZ #849609, CPAN RT #60072
|
|
|
7448d4 |
Patch0: local-lib-1.008009-Append-semicolon-to-setenv.patch
|
|
|
8aeaf7 |
# Fix setting variables in CSH, RHBZ #1032195, CPAN RT #85667,
|
|
|
8aeaf7 |
# upstream is going the refactor the whole code, patch not sent to upstream
|
|
|
8aeaf7 |
Patch1: local-lib-1.008010-Fix-setting-undefined-variable-in-CSH.patch
|
|
|
7448d4 |
Url: http://search.cpan.org/dist/local-lib
|
|
|
7448d4 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
7448d4 |
BuildArch: noarch
|
|
|
7448d4 |
|
|
|
7448d4 |
Source10: perl-homedir.sh
|
|
|
7448d4 |
Source11: perl-homedir.csh
|
|
|
7448d4 |
|
|
|
7448d4 |
BuildRequires: perl(Carp)
|
|
|
7448d4 |
BuildRequires: perl(Cwd)
|
|
|
7448d4 |
BuildRequires: perl(CPAN) >= 1.82
|
|
|
7448d4 |
BuildRequires: perl(ExtUtils::Install) >= 1.43
|
|
|
7448d4 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
|
7448d4 |
BuildRequires: perl(File::Path)
|
|
|
7448d4 |
BuildRequires: perl(File::Spec)
|
|
|
7448d4 |
BuildRequires: perl(inc::Module::Install)
|
|
|
7448d4 |
BuildRequires: perl(Module::Build) >= 0.36
|
|
|
7448d4 |
# Tests only
|
|
|
7448d4 |
BuildRequires: perl(Capture::Tiny)
|
|
|
7448d4 |
BuildRequires: perl(File::Temp)
|
|
|
7448d4 |
BuildRequires: perl(Test::More)
|
|
|
7448d4 |
|
|
|
7448d4 |
%{?perl_default_filter}
|
|
|
7448d4 |
|
|
|
7448d4 |
%description
|
|
|
7448d4 |
This module provides a quick, convenient way of bootstrapping a user-
|
|
|
7448d4 |
local Perl module library located within the user's home directory. It
|
|
|
7448d4 |
also constructs and prints out for the user the list of environment
|
|
|
7448d4 |
variables using the syntax appropriate for the user's current shell (as
|
|
|
7448d4 |
specified by the 'SHELL' environment variable), suitable for directly
|
|
|
7448d4 |
adding to one's shell configuration file.
|
|
|
7448d4 |
|
|
|
7448d4 |
More generally, local::lib allows for the bootstrapping and usage of a
|
|
|
7448d4 |
directory containing Perl modules outside of Perl's '@INC'. This makes
|
|
|
7448d4 |
it easier to ship an application with an app-specific copy of a Perl module,
|
|
|
7448d4 |
or collection of modules. Useful in cases like when an upstream maintainer
|
|
|
7448d4 |
hasn't applied a patch to a module of theirs that you need for your
|
|
|
7448d4 |
application.
|
|
|
7448d4 |
|
|
|
7448d4 |
%package -n perl-homedir
|
|
|
7448d4 |
License: GPL+ or Artistic
|
|
|
7448d4 |
Group: Development/Libraries
|
|
|
7448d4 |
Summary: Per-user Perl local::lib setup
|
|
|
7448d4 |
Requires: %{name} = %{version}-%{release}
|
|
|
7448d4 |
Requires: /usr/bin/cpan
|
|
|
7448d4 |
|
|
|
7448d4 |
%description -n perl-homedir
|
|
|
7448d4 |
perl-homedir configures the system to automatically create a ~/perl5
|
|
|
7448d4 |
directory in each user's $HOME on user login. This allows each user to
|
|
|
7448d4 |
install CPAN packages via the CPAN to their $HOME, with no additional
|
|
|
7448d4 |
configuration or privileges, and without installing them system-wide.
|
|
|
7448d4 |
|
|
|
7448d4 |
If you want your users to be able to install and use their own Perl modules,
|
|
|
7448d4 |
install this package.
|
|
|
7448d4 |
|
|
|
7448d4 |
%prep
|
|
|
7448d4 |
%setup -q -n local-lib-%{version}
|
|
|
7448d4 |
%patch0 -p1
|
|
|
8aeaf7 |
%patch1 -p1
|
|
|
7448d4 |
rm -rf inc
|
|
|
7448d4 |
|
|
|
7448d4 |
%build
|
|
|
7448d4 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
7448d4 |
make %{?_smp_mflags}
|
|
|
7448d4 |
|
|
|
7448d4 |
%install
|
|
|
7448d4 |
make pure_install DESTDIR=%{buildroot}
|
|
|
7448d4 |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
7448d4 |
%{_fixperms} %{buildroot}/*
|
|
|
7448d4 |
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
|
|
|
7448d4 |
cp %{SOURCE10} %{buildroot}%{_sysconfdir}/profile.d/
|
|
|
7448d4 |
cp %{SOURCE11} %{buildroot}%{_sysconfdir}/profile.d/
|
|
|
7448d4 |
|
|
|
7448d4 |
%check
|
|
|
7448d4 |
make test
|
|
|
7448d4 |
|
|
|
7448d4 |
%files
|
|
|
7448d4 |
%doc Changes
|
|
|
7448d4 |
%{perl_vendorlib}/*
|
|
|
7448d4 |
%{_mandir}/man3/*.3*
|
|
|
7448d4 |
|
|
|
7448d4 |
%files -n perl-homedir
|
|
|
7448d4 |
%{_sysconfdir}/profile.d/*
|
|
|
7448d4 |
|
|
|
7448d4 |
%changelog
|
|
|
8aeaf7 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.008010-3
|
|
|
8aeaf7 |
- Mass rebuild 2013-12-27
|
|
|
8aeaf7 |
|
|
|
8aeaf7 |
* Thu Nov 21 2013 Petr Pisar <ppisar@redhat.com> - 1.008010-2
|
|
|
8aeaf7 |
- Fix setting undefined variable in CSH (bug #1032195)
|
|
|
8aeaf7 |
|
|
|
7448d4 |
* Fri Jun 07 2013 Iain Arnell <iarnell@gmail.com> 1.008010-1
|
|
|
7448d4 |
- update to latest upstream version
|
|
|
7448d4 |
|
|
|
7448d4 |
* Fri Apr 19 2013 Iain Arnell <iarnell@gmail.com> 1.008009-2
|
|
|
7448d4 |
- rebase append-semicolon patch
|
|
|
7448d4 |
|
|
|
7448d4 |
* Fri Mar 08 2013 Iain Arnell <iarnell@gmail.com> 1.008009-1
|
|
|
7448d4 |
- update to latest upstream version
|
|
|
7448d4 |
|
|
|
7448d4 |
* Tue Feb 19 2013 Iain Arnell <iarnell@gmail.com> 1.008007-1
|
|
|
7448d4 |
- update to latest upstream version
|
|
|
7448d4 |
|
|
|
7448d4 |
* Fri Feb 15 2013 Iain Arnell <iarnell@gmail.com> 1.008006-1
|
|
|
7448d4 |
- udpate to latest upstream version
|
|
|
7448d4 |
|
|
|
7448d4 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008004-12
|
|
|
7448d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7448d4 |
|
|
|
7448d4 |
* Tue Nov 20 2012 Petr Šabata <contyk@redhat.com> - 1.008004-11
|
|
|
7448d4 |
- Add missing buildtime dependencies
|
|
|
7448d4 |
- Drop useless deps
|
|
|
7448d4 |
- Drop command macros
|
|
|
7448d4 |
- Modernize the spec
|
|
|
7448d4 |
|
|
|
7448d4 |
* Mon Aug 20 2012 Petr Pisar <ppisar@redhat.com> - 1.008004-10
|
|
|
7448d4 |
- Fix CSH support (bug #849609)
|
|
|
7448d4 |
|
|
|
7448d4 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008004-9
|
|
|
7448d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7448d4 |
|
|
|
7448d4 |
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 1.008004-8
|
|
|
7448d4 |
- Perl 5.16 rebuild
|
|
|
7448d4 |
|
|
|
7448d4 |
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 1.008004-7
|
|
|
7448d4 |
- Trim Module::Build depencency version to 2 digits because upstream has
|
|
|
7448d4 |
regressed the version
|
|
|
7448d4 |
|
|
|
7448d4 |
* Sun Jun 17 2012 Petr Pisar <ppisar@redhat.com> - 1.008004-6
|
|
|
7448d4 |
- Perl 5.16 rebuild
|
|
|
7448d4 |
|
|
|
7448d4 |
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 1.008004-5
|
|
|
7448d4 |
- Round Module::Build version to 2 digits
|
|
|
7448d4 |
|
|
|
7448d4 |
* Fri Feb 10 2012 Iain Arnell <iarnell@gmail.com> 1.008004-4
|
|
|
7448d4 |
- avoid creating ~/perl5/ for all users (rhbz#789146)
|
|
|
7448d4 |
- drop defattr in files lists
|
|
|
7448d4 |
|
|
|
7448d4 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008004-3
|
|
|
7448d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
7448d4 |
|
|
|
7448d4 |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.008004-2
|
|
|
7448d4 |
- Perl mass rebuild
|
|
|
7448d4 |
|
|
|
7448d4 |
* Wed Mar 16 2011 Iain Arnell <iarnell@gmail.com> 1.008004-1
|
|
|
7448d4 |
- update to latest upstream version
|
|
|
7448d4 |
|
|
|
7448d4 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008001-3
|
|
|
7448d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
7448d4 |
|
|
|
7448d4 |
* Sun Jan 23 2011 Iain Arnell <iarnell@gmail.com> 1.008001-2
|
|
|
7448d4 |
- update requires perl(Module::Build) >= 0.3600
|
|
|
7448d4 |
|
|
|
7448d4 |
* Sun Jan 23 2011 Iain Arnell <iarnell@gmail.com> 1.008001-1
|
|
|
7448d4 |
- update to latest upstream version
|
|
|
7448d4 |
- drop R/BR perl(ExtUtils::CBuilder) and perl(ExtUtils::ParseXS)
|
|
|
7448d4 |
|
|
|
7448d4 |
* Fri Dec 17 2010 Iain Arnell <iarnell@gmail.com> 1.007000-1
|
|
|
7448d4 |
- update to latest upstream version
|
|
|
7448d4 |
- fix typo in description
|
|
|
7448d4 |
|
|
|
7448d4 |
* Sun Nov 21 2010 Iain Arnell <iarnell@gmail.com> 1.006007-1
|
|
|
7448d4 |
- update to latest upstream version
|
|
|
7448d4 |
- clean up spec for modern rpmbuild
|
|
|
7448d4 |
- BR perl(Capture::Tiny)
|
|
|
7448d4 |
|
|
|
7448d4 |
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.004009-3
|
|
|
7448d4 |
- Mass rebuild with perl-5.12.0
|
|
|
7448d4 |
|
|
|
7448d4 |
* Tue Jan 05 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.004009-2
|
|
|
7448d4 |
- add perl-homedir subpackage
|
|
|
7448d4 |
|
|
|
7448d4 |
* Tue Jan 05 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.004009-1
|
|
|
7448d4 |
- add perl_default_filter
|
|
|
7448d4 |
- auto-update to 1.004009 (by cpan-spec-update 0.01)
|
|
|
7448d4 |
|
|
|
7448d4 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.004007-2
|
|
|
7448d4 |
- rebuild against perl 5.10.1
|
|
|
7448d4 |
|
|
|
7448d4 |
* Sat Sep 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.004007-1
|
|
|
7448d4 |
- auto-update to 1.004007 (by cpan-spec-update 0.01)
|
|
|
7448d4 |
|
|
|
7448d4 |
* Sat Aug 29 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.004006-1
|
|
|
7448d4 |
- auto-update to 1.004006 (by cpan-spec-update 0.01)
|
|
|
7448d4 |
|
|
|
7448d4 |
* Tue Aug 25 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.004005-1
|
|
|
7448d4 |
- auto-update to 1.004005 (by cpan-spec-update 0.01)
|
|
|
7448d4 |
|
|
|
7448d4 |
* Tue Aug 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.004004-1
|
|
|
7448d4 |
- auto-update to 1.004004 (by cpan-spec-update 0.01)
|
|
|
7448d4 |
- added a new br on perl(ExtUtils::Install) (version 1.43)
|
|
|
7448d4 |
- added a new req on perl(CPAN) (version 1.80)
|
|
|
7448d4 |
- added a new req on perl(ExtUtils::CBuilder) (version 0)
|
|
|
7448d4 |
- added a new req on perl(ExtUtils::Install) (version 1.43)
|
|
|
7448d4 |
- added a new req on perl(ExtUtils::MakeMaker) (version 6.31)
|
|
|
7448d4 |
- added a new req on perl(ExtUtils::ParseXS) (version 0)
|
|
|
7448d4 |
- added a new req on perl(Module::Build) (version 0.28)
|
|
|
7448d4 |
|
|
|
7448d4 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.004001-2
|
|
|
7448d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
7448d4 |
|
|
|
7448d4 |
* Wed Jun 03 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.004001-1
|
|
|
7448d4 |
- auto-update to 1.004001 (by cpan-spec-update 0.01)
|
|
|
7448d4 |
|
|
|
7448d4 |
* Tue May 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.004000-1
|
|
|
7448d4 |
- auto-update to 1.004000 (by cpan-spec-update 0.01)
|
|
|
7448d4 |
- altered br on perl(ExtUtils::MakeMaker) (6.31 => 6.42)
|
|
|
7448d4 |
|
|
|
7448d4 |
* Sun Mar 08 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.003002-1
|
|
|
7448d4 |
- submission
|
|
|
7448d4 |
|
|
|
7448d4 |
* Sun Mar 08 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.003002-0
|
|
|
7448d4 |
- initial RPM packaging
|
|
|
7448d4 |
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
|