2006-05-08 17:37:44 +00:00
|
|
|
Name: perl-Module-Install
|
2006-06-08 22:56:41 +00:00
|
|
|
Version: 0.63
|
|
|
|
Release: 1%{?dist}
|
2006-05-08 17:37:44 +00:00
|
|
|
Summary: Standalone, extensible Perl module installer
|
|
|
|
License: GPL or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Module-Install/
|
2006-06-08 22:56:41 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Module-Install-%{version}.tar.gz
|
2006-05-08 17:37:44 +00:00
|
|
|
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
|
2006-06-08 22:56:41 +00:00
|
|
|
* Thu Jun 08 2006 Steven Pritchard <steve@kspei.com> 0.63-1
|
|
|
|
- Update to 0.63.
|
|
|
|
|
2006-05-08 17:37:44 +00:00
|
|
|
* Mon May 08 2006 Steven Pritchard <steve@kspei.com> 0.62-2
|
|
|
|
- Fix Source0 URL.
|
|
|
|
|
|
|
|
* Sat May 06 2006 Steven Pritchard <steve@kspei.com> 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 <steve@kspei.com> 0.61-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.63.
|
|
|
|
- Drop explicit BR: perl.
|
|
|
|
- Turn on TEST_POD.
|