ca0a34
Name:           perl-local-lib
ca0a34
Version:        2.000023
ca0a34
Release:        2%{?dist}
ca0a34
License:        GPL+ or Artistic
ca0a34
Group:          Development/Libraries
ca0a34
Summary:        Create and use a local lib/ for perl modules
ca0a34
Url:            http://search.cpan.org/dist/local-lib
ca0a34
Source:         http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/local-lib-%{version}.tar.gz
ca0a34
Source10:       perl-homedir.sh
ca0a34
Source11:       perl-homedir.csh
ca0a34
BuildArch:      noarch
ca0a34
# Build
ca0a34
BuildRequires:  coreutils
ca0a34
BuildRequires:  make
ca0a34
BuildRequires:  perl
ca0a34
BuildRequires:  perl-generators
ca0a34
BuildRequires:  perl(CPAN)
ca0a34
BuildRequires:  perl(CPAN::HandleConfig)
ca0a34
BuildRequires:  perl(ExtUtils::MakeMaker) >= 7.00
ca0a34
BuildRequires:  perl(File::HomeDir)
ca0a34
BuildRequires:  perl(File::Spec)
ca0a34
BuildRequires:  perl(strict)
ca0a34
BuildRequires:  perl(warnings)
ca0a34
# Runtime
ca0a34
BuildRequires:  perl(Carp)
ca0a34
BuildRequires:  perl(Carp::Heavy)
ca0a34
BuildRequires:  perl(Config)
ca0a34
BuildRequires:  perl(File::Basename)
ca0a34
BuildRequires:  perl(File::Glob)
ca0a34
# Tests only
ca0a34
BuildRequires:  perl(base)
ca0a34
BuildRequires:  perl(Cwd)
ca0a34
BuildRequires:  perl(Data::Dumper)
ca0a34
BuildRequires:  perl(Exporter)
ca0a34
BuildRequires:  perl(File::Path)
ca0a34
BuildRequires:  perl(File::Spec::Functions)
ca0a34
BuildRequires:  perl(File::Temp)
ca0a34
BuildRequires:  perl(IPC::Open3)
ca0a34
BuildRequires:  perl(lib)
ca0a34
BuildRequires:  perl(Test::More)
ca0a34
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
ca0a34
Requires:       perl(Carp)
ca0a34
Requires:       perl(Carp::Heavy)
ca0a34
Requires:       perl(File::Basename)
ca0a34
Requires:       perl(File::Glob)
ca0a34
Requires:       perl(File::Spec)
ca0a34
ca0a34
%description
ca0a34
This module provides a quick, convenient way of bootstrapping a user-
ca0a34
local Perl module library located within the user's home directory. It
ca0a34
also constructs and prints out for the user the list of environment
ca0a34
variables using the syntax appropriate for the user's current shell (as
ca0a34
specified by the 'SHELL' environment variable), suitable for directly
ca0a34
adding to one's shell configuration file.
ca0a34
ca0a34
More generally, local::lib allows for the bootstrapping and usage of a
ca0a34
directory containing Perl modules outside of Perl's '@INC'. This makes
ca0a34
it easier to ship an application with an app-specific copy of a Perl module,
ca0a34
or collection of modules. Useful in cases like when an upstream maintainer
ca0a34
hasn't applied a patch to a module of theirs that you need for your
ca0a34
application.
ca0a34
ca0a34
%package -n perl-homedir
ca0a34
License:    GPL+ or Artistic
ca0a34
Group:      Development/Libraries
ca0a34
Summary:    Per-user Perl local::lib setup
ca0a34
Requires:   %{name} = %{version}-%{release}
ca0a34
Requires:   sed
ca0a34
ca0a34
%description -n perl-homedir
ca0a34
perl-homedir configures the system to automatically create a ~/perl5
ca0a34
directory in each user's $HOME on user login.  This allows each user to
ca0a34
install CPAN packages via the CPAN to their $HOME, with no additional
ca0a34
configuration or privileges, and without installing them system-wide.
ca0a34
ca0a34
If you want your users to be able to install and use their own Perl modules,
ca0a34
install this package.
ca0a34
ca0a34
%prep
ca0a34
%setup -q -n local-lib-%{version}
ca0a34
ca0a34
%build
ca0a34
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
ca0a34
make %{?_smp_mflags}
ca0a34
ca0a34
%install
ca0a34
make pure_install DESTDIR=%{buildroot}
ca0a34
%{_fixperms} %{buildroot}/*
ca0a34
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
ca0a34
install -pm0644 %{SOURCE10} %{buildroot}%{_sysconfdir}/profile.d/
ca0a34
install -pm0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/profile.d/
ca0a34
ca0a34
%check
ca0a34
make test
ca0a34
ca0a34
%files
ca0a34
%doc Changes
ca0a34
%{perl_vendorlib}/*
ca0a34
%{_mandir}/man3/*
ca0a34
ca0a34
%files -n perl-homedir
ca0a34
%{_sysconfdir}/profile.d/*
ca0a34
ca0a34
%changelog
ca0a34
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.000023-2
ca0a34
- Rebuild with enable hardening (bug #1636329)
ca0a34
ca0a34
* Mon Jun 12 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.000023-1
ca0a34
- 2.000023 bump
ca0a34
ca0a34
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.000019-3
ca0a34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ca0a34
ca0a34
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.000019-2
ca0a34
- Perl 5.24 rebuild
ca0a34
ca0a34
* Fri Apr 22 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.000019-1
ca0a34
- 2.000019 bump
ca0a34
ca0a34
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.000018-2
ca0a34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ca0a34
ca0a34
* Mon Nov 02 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.000018-1
ca0a34
- 2.000018 bump
ca0a34
ca0a34
* Tue Oct 06 2015 Petr Šabata <contyk@redhat.com> - 2.000017-1
ca0a34
- 2.000017 bump
ca0a34
- Drop the hard CPAN dependency from perl-homedir
ca0a34
ca0a34
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.000015-4
ca0a34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ca0a34
ca0a34
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.000015-3
ca0a34
- Perl 5.22 rebuild
ca0a34
ca0a34
* Thu Jan 15 2015 Petr Pisar <ppisar@redhat.com> - 2.000015-2
ca0a34
- Do not hard-code /usr/bin
ca0a34
ca0a34
* Wed Dec 17 2014 Petr Šabata <contyk@redhat.com> - 2.000015-1
ca0a34
- 2.000015 bump
ca0a34
ca0a34
* Tue Nov 11 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.000014-1
ca0a34
- 2.000014 bump
ca0a34
ca0a34
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.008010-8
ca0a34
- Perl 5.20 rebuild
ca0a34
ca0a34
* Mon Jul 28 2014 Petr Pisar <ppisar@redhat.com> - 1.008010-7
ca0a34
- sed(1) is packaged as /bin/sed
ca0a34
ca0a34
* Fri Jul 25 2014 Petr Pisar <ppisar@redhat.com> - 1.008010-6
ca0a34
- Parse perl-homedir configuration bash syntax by csh profile script
ca0a34
  (bug #1122993)
ca0a34
ca0a34
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008010-5
ca0a34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ca0a34
ca0a34
* Thu Nov 21 2013 Petr Pisar <ppisar@redhat.com> - 1.008010-4
ca0a34
- Fix setting undefined variable in CSH (bug #1033018)
ca0a34
ca0a34
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008010-3
ca0a34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ca0a34
ca0a34
* Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 1.008010-2
ca0a34
- Perl 5.18 rebuild
ca0a34
ca0a34
* Fri Jun 07 2013 Iain Arnell <iarnell@gmail.com> 1.008010-1
ca0a34
- update to latest upstream version
ca0a34
ca0a34
* Fri Apr 19 2013 Iain Arnell <iarnell@gmail.com> 1.008009-2
ca0a34
- rebase append-semicolon patch
ca0a34
ca0a34
* Fri Mar 08 2013 Iain Arnell <iarnell@gmail.com> 1.008009-1
ca0a34
- update to latest upstream version
ca0a34
ca0a34
* Tue Feb 19 2013 Iain Arnell <iarnell@gmail.com> 1.008007-1
ca0a34
- update to latest upstream version
ca0a34
ca0a34
* Fri Feb 15 2013 Iain Arnell <iarnell@gmail.com> 1.008006-1
ca0a34
- udpate to latest upstream version
ca0a34
ca0a34
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008004-12
ca0a34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ca0a34
ca0a34
* Tue Nov 20 2012 Petr Šabata <contyk@redhat.com> - 1.008004-11
ca0a34
- Add missing buildtime dependencies
ca0a34
- Drop useless deps
ca0a34
- Drop command macros
ca0a34
- Modernize the spec
ca0a34
ca0a34
* Mon Aug 20 2012 Petr Pisar <ppisar@redhat.com> - 1.008004-10
ca0a34
- Fix CSH support (bug #849609)
ca0a34
ca0a34
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008004-9
ca0a34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ca0a34
ca0a34
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 1.008004-8
ca0a34
- Perl 5.16 rebuild
ca0a34
ca0a34
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 1.008004-7
ca0a34
- Trim Module::Build depencency version to 2 digits because upstream has
ca0a34
  regressed the version
ca0a34
ca0a34
* Sun Jun 17 2012 Petr Pisar <ppisar@redhat.com> - 1.008004-6
ca0a34
- Perl 5.16 rebuild
ca0a34
ca0a34
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 1.008004-5
ca0a34
- Round Module::Build version to 2 digits
ca0a34
ca0a34
* Fri Feb 10 2012 Iain Arnell <iarnell@gmail.com> 1.008004-4
ca0a34
- avoid creating ~/perl5/ for all users (rhbz#789146)
ca0a34
- drop defattr in files lists
ca0a34
ca0a34
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008004-3
ca0a34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ca0a34
ca0a34
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.008004-2
ca0a34
- Perl mass rebuild
ca0a34
ca0a34
* Wed Mar 16 2011 Iain Arnell <iarnell@gmail.com> 1.008004-1
ca0a34
- update to latest upstream version
ca0a34
ca0a34
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008001-3
ca0a34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ca0a34
ca0a34
* Sun Jan 23 2011 Iain Arnell <iarnell@gmail.com> 1.008001-2
ca0a34
- update requires perl(Module::Build) >= 0.3600
ca0a34
ca0a34
* Sun Jan 23 2011 Iain Arnell <iarnell@gmail.com> 1.008001-1
ca0a34
- update to latest upstream version
ca0a34
- drop R/BR perl(ExtUtils::CBuilder) and perl(ExtUtils::ParseXS)
ca0a34
ca0a34
* Fri Dec 17 2010 Iain Arnell <iarnell@gmail.com> 1.007000-1
ca0a34
- update to latest upstream version
ca0a34
- fix typo in description
ca0a34
ca0a34
* Sun Nov 21 2010 Iain Arnell <iarnell@gmail.com> 1.006007-1
ca0a34
- update to latest upstream version
ca0a34
- clean up spec for modern rpmbuild
ca0a34
- BR perl(Capture::Tiny)
ca0a34
ca0a34
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.004009-3
ca0a34
- Mass rebuild with perl-5.12.0
ca0a34
ca0a34
* Tue Jan 05 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.004009-2
ca0a34
- add perl-homedir subpackage
ca0a34
ca0a34
* Tue Jan 05 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.004009-1
ca0a34
- add perl_default_filter
ca0a34
- auto-update to 1.004009 (by cpan-spec-update 0.01)
ca0a34
ca0a34
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.004007-2
ca0a34
- rebuild against perl 5.10.1
ca0a34
ca0a34
* Sat Sep 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.004007-1
ca0a34
- auto-update to 1.004007 (by cpan-spec-update 0.01)
ca0a34
ca0a34
* Sat Aug 29 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.004006-1
ca0a34
- auto-update to 1.004006 (by cpan-spec-update 0.01)
ca0a34
ca0a34
* Tue Aug 25 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.004005-1
ca0a34
- auto-update to 1.004005 (by cpan-spec-update 0.01)
ca0a34
ca0a34
* Tue Aug 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.004004-1
ca0a34
- auto-update to 1.004004 (by cpan-spec-update 0.01)
ca0a34
- added a new br on perl(ExtUtils::Install) (version 1.43)
ca0a34
- added a new req on perl(CPAN) (version 1.80)
ca0a34
- added a new req on perl(ExtUtils::CBuilder) (version 0)
ca0a34
- added a new req on perl(ExtUtils::Install) (version 1.43)
ca0a34
- added a new req on perl(ExtUtils::MakeMaker) (version 6.31)
ca0a34
- added a new req on perl(ExtUtils::ParseXS) (version 0)
ca0a34
- added a new req on perl(Module::Build) (version 0.28)
ca0a34
ca0a34
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.004001-2
ca0a34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ca0a34
ca0a34
* Wed Jun 03 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.004001-1
ca0a34
- auto-update to 1.004001 (by cpan-spec-update 0.01)
ca0a34
ca0a34
* Tue May 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.004000-1
ca0a34
- auto-update to 1.004000 (by cpan-spec-update 0.01)
ca0a34
- altered br on perl(ExtUtils::MakeMaker) (6.31 => 6.42)
ca0a34
ca0a34
* Sun Mar 08 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.003002-1
ca0a34
- submission
ca0a34
ca0a34
* Sun Mar 08 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.003002-0
ca0a34
- initial RPM packaging
ca0a34
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)