rpms/perl-local-lib/F-10 import.log, NONE, 1.1 perl-local-lib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Mon Mar 9 17:03:01 UTC 2009


Author: cweyl

Update of /cvs/extras/rpms/perl-local-lib/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5981/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-local-lib.spec 
Log Message:
initial import


--- NEW FILE import.log ---
perl-local-lib-1_003002-1_fc10:F-10:perl-local-lib-1.003002-1.fc10.src.rpm:1236618136


--- NEW FILE perl-local-lib.spec ---
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 at alumni.drew.edu> 1.003002-1
- submission

* Sun Mar 08 2009 Chris Weyl <cweyl at alumni.drew.edu> 1.003002-0
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-local-lib/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Mar 2009 16:13:47 -0000	1.1
+++ .cvsignore	9 Mar 2009 17:02:31 -0000	1.2
@@ -0,0 +1 @@
+local-lib-1.003002.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-local-lib/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Mar 2009 16:13:47 -0000	1.1
+++ sources	9 Mar 2009 17:02:31 -0000	1.2
@@ -0,0 +1 @@
+e3988eb5f0dff67b4bca98fe0cc3790d  local-lib-1.003002.tar.gz




More information about the Fedora-perl-devel-list mailing list