Name: perl-local-lib Version: 1.004000 Release: 1%{?dist} Summary: Create and use a local lib/ for perl modules with PERL5LIB License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/local-lib/ Source0: http://www.cpan.org/authors/id/A/AP/APEIRON/local-lib-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.8.1 BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(ExtUtils::ParseXS) BuildRequires: perl(Module::Build) >= 0.28 Requires: perl(ExtUtils::CBuilder) Requires: perl(ExtUtils::ParseXS) Requires: perl(Module::Build) >= 0.28 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %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. %prep %setup -q -n local-lib-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun May 17 2009 Dave Cross 1.004000-1 - Specfile autogenerated by cpanspec 1.77.