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