perl-Module-Install/perl-Module-Install.spec

82 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: perl-Module-Install
2006-08-25 20:51:24 +00:00
Version: 0.64
2006-09-17 22:44:23 +00:00
Release: 2%{?dist}
Summary: Standalone, extensible Perl module installer
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Module-Install/
2006-08-25 20:51:24 +00:00
Source0: http://www.cpan.org/authors/id/A/AU/AUDREYT/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 {} \;
2006-08-25 20:51:24 +00:00
find $RPM_BUILD_ROOT -depth -type d -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-09-17 22:44:23 +00:00
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 0.64-2
- Rebuild.
2006-08-25 20:51:24 +00:00
* Fri Aug 25 2006 Steven Pritchard <steve@kspei.com> 0.64-1
- Update to 0.64.
- Fix find option order.
2006-06-08 22:56:41 +00:00
* Thu Jun 08 2006 Steven Pritchard <steve@kspei.com> 0.63-1
- Update to 0.63.
* 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.