auto-import perl-Module-Install-0.62-2 on branch devel from
perl-Module-Install-0.62-2.src.rpm
This commit is contained in:
parent
1f7a3b8227
commit
b5a2195233
@ -0,0 +1 @@
|
||||
Module-Install-0.62.tar.gz
|
71
perl-Module-Install.spec
Normal file
71
perl-Module-Install.spec
Normal file
@ -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 <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.
|
Loading…
Reference in New Issue
Block a user