From 718dca01f042859368b18d6f73be2026ddb676d1 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Thu, 13 Apr 2006 17:36:56 +0000 Subject: [PATCH] auto-import perl-Module-Load-0.10-1 on branch devel from perl-Module-Load-0.10-1.src.rpm --- .cvsignore | 1 + perl-Module-Load.spec | 51 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+) create mode 100644 perl-Module-Load.spec diff --git a/.cvsignore b/.cvsignore index e69de29..daae852 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Module-Load-0.10.tar.gz diff --git a/perl-Module-Load.spec b/perl-Module-Load.spec new file mode 100644 index 0000000..9afb481 --- /dev/null +++ b/perl-Module-Load.spec @@ -0,0 +1,51 @@ +Name: perl-Module-Load +Version: 0.10 +Release: 1%{?dist} +Summary: Runtime require of both modules and files +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Module-Load/ +Source0: http://www.cpan.org/authors/id/K/KA/KANE/Module-Load-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Module::Load eliminates the need to know whether you are trying to +require either a file or a module. + +%prep +%setup -q -n Module-Load-%{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 -type d -depth -exec rmdir {} 2>/dev/null \; + +chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Mar 23 2006 Steven Pritchard 0.10-1 +- Specfile autogenerated by cpanspec 1.62. +- Fix License. +- Modify description slightly. +- Capitalize Summary. diff --git a/sources b/sources index e69de29..9b276f7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ee40eb2fa3059381e43d1f14d414fe67 Module-Load-0.10.tar.gz