initial import
This commit is contained in:
parent
387c08288f
commit
326aa846cd
@ -0,0 +1 @@
|
||||
local-lib-1.003002.tar.gz
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
||||
perl-local-lib-1_003002-1_fc10:HEAD:perl-local-lib-1.003002-1.fc10.src.rpm:1236618084
|
72
perl-local-lib.spec
Normal file
72
perl-local-lib.spec
Normal file
@ -0,0 +1,72 @@
|
||||
Name: perl-local-lib
|
||||
Version: 1.003002
|
||||
Release: 1%{?dist}
|
||||
# lib/local/lib.pm -> GPL+ or Artistic
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
Summary: Create and use a local lib/ for perl modules
|
||||
Source: http://search.cpan.org/CPAN/authors/id/A/AP/APEIRON/local-lib-%{version}.tar.gz
|
||||
Url: http://search.cpan.org/dist/local-lib
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
|
||||
BuildRequires: perl(CPAN) >= 1.80
|
||||
BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(ExtUtils::ParseXS)
|
||||
BuildRequires: perl(Module::Build) >= 0.28
|
||||
# testing...
|
||||
BuildRequires: perl(Test::More)
|
||||
|
||||
%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
|
||||
application.
|
||||
|
||||
%prep
|
||||
%setup -q -n local-lib-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* 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)
|
||||
|
Loading…
Reference in New Issue
Block a user