perl-local-lib/perl-local-lib.spec

217 lines
7.6 KiB
RPMSpec
Raw Normal View History

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