diff --git a/.cvsignore b/.cvsignore index e69de29..00b370b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Module-Install-0.62.tar.gz diff --git a/perl-Module-Install.spec b/perl-Module-Install.spec new file mode 100644 index 0000000..d7bf62b --- /dev/null +++ b/perl-Module-Install.spec @@ -0,0 +1,71 @@ +Name: perl-Module-Install +Version: 0.62 +Release: 2%{?dist} +Summary: Standalone, extensible Perl module installer +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Module-Install/ +Source0: http://www.cpan.org/authors/id/A/AU/AUTRIJUS/Module-Install-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Module::Build) +BuildRequires: perl(Module::CoreList) +BuildRequires: perl(Module::ScanDeps) >= 0.28 +BuildRequires: perl(PAR::Dist) >= 0.03 +BuildRequires: perl(YAML) >= 0.35 +BuildRequires: perl(Test::Pod) >= 1.14 +Requires: perl(Module::Build) +Requires: perl(Module::CoreList) +Requires: perl(Module::ScanDeps) >= 0.28 +Requires: perl(PAR::Dist) >= 0.03 +Requires: perl(YAML) >= 0.35 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Module::Install is a package for writing installers for CPAN (or CPAN-like) +distributions that are clean, simple, minimalist, act in a strictly correct +manner with both the ExtUtils::MakeMaker and Module::Build build systems, +and will run on any Perl installation version 5.004 or newer. + +%prep +%setup -q -n Module-Install-%{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/* +find $RPM_BUILD_ROOT%{perl_vendorlib} -type f -perm +100 -exec chmod a-x {} \; + +%check +make test TEST_POD=1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon May 08 2006 Steven Pritchard 0.62-2 +- Fix Source0 URL. + +* Sat May 06 2006 Steven Pritchard 0.62-1 +- Update to 0.62. +- Drop executable bit from everything in vendor_perl to make rpmlint happy. + +* Thu Mar 23 2006 Steven Pritchard 0.61-1 +- Specfile autogenerated by cpanspec 1.63. +- Drop explicit BR: perl. +- Turn on TEST_POD. diff --git a/sources b/sources index e69de29..69c170c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +92eda243d936f4010883825aa2dd2993 Module-Install-0.62.tar.gz