7612ba4670
- Remove TEST_POD (Unused). - Add AUTOMATED_TESTING. - BR: perl(Test::Pod) for AUTOMATED_TESTING. - Adjust License-tag.
108 lines
3.3 KiB
RPMSpec
108 lines
3.3 KiB
RPMSpec
Name: perl-Module-Install
|
|
Version: 0.67
|
|
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/AD/ADAMK/Module-Install-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
BuildRequires: perl(Archive::Tar) >= 0.23
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(ExtUtils::ParseXS)
|
|
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
|
|
BuildRequires: perl(YAML::Tiny) >= 1.03
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(CPAN)
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
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(YAML::Tiny) >= 1.03
|
|
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 -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
find $RPM_BUILD_ROOT%{perl_vendorlib} -type f -perm +100 -exec chmod a-x {} \;
|
|
|
|
%check
|
|
make test AUTOMATED_TESTING=1
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes LICENSE README ToDo
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Sun Dec 30 2007 Ralf Corsépius <rc040203@freenet.de> - 0.67-2
|
|
- BR: perl(Test::More), perl(CPAN) (BZ 419631).
|
|
- Remove TEST_POD (Unused).
|
|
- Add AUTOMATED_TESTING.
|
|
- BR: perl(Test::Pod) for AUTOMATED_TESTING.
|
|
- Adjust License-tag.
|
|
|
|
* Fri May 18 2007 Steven Pritchard <steve@kspei.com> 0.67-1
|
|
- Update to 0.67.
|
|
- BR Archive::Tar, ExtUtils::ParseXS, and YAML::Tiny.
|
|
- Add a couple more docs.
|
|
|
|
* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 0.65-1
|
|
- Update to 0.65.
|
|
- Use fixperms macro instead of our own chmod incantation.
|
|
- BR ExtUtils::MakeMaker.
|
|
|
|
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 0.64-2
|
|
- Rebuild.
|
|
|
|
* Fri Aug 25 2006 Steven Pritchard <steve@kspei.com> 0.64-1
|
|
- Update to 0.64.
|
|
- Fix find option order.
|
|
|
|
* 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.
|