68 lines
2.2 KiB
RPMSpec
68 lines
2.2 KiB
RPMSpec
Name: perl-Module-Package
|
|
Version: 0.30
|
|
Release: 5%{?dist}
|
|
Summary: Postmodern Perl Module Packaging
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Module-Package/
|
|
Source0: http://www.cpan.org/authors/id/I/IN/INGY/Module-Package-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
# Run-time:
|
|
BuildRequires: perl(Cwd)
|
|
BuildRequires: perl(Data::Dumper)
|
|
BuildRequires: perl(File::Path)
|
|
BuildRequires: perl(IO::All) >= 0.41
|
|
BuildRequires: perl(Module::Install) >= 1.01
|
|
BuildRequires: perl(Module::Install::AuthorRequires) >= 0.02
|
|
BuildRequires: perl(Module::Install::Base)
|
|
BuildRequires: perl(Module::Install::ManifestSkip) >= 0.19
|
|
BuildRequires: perl(Moo) >= 0.009008
|
|
# Tests:
|
|
BuildRequires: perl(Test::More)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
Requires: perl(Data::Dumper)
|
|
Requires: perl(File::Path)
|
|
|
|
%description
|
|
This module is a drop-in replacement for Module::Install. It does everything
|
|
Module::Install does, but just a bit better.
|
|
|
|
%prep
|
|
%setup -q -n Module-Package-%{version}
|
|
# XXX: Do not unbundle ./inc/ because of bootstrap
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
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/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes LICENSE README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Sat Jun 23 2012 Petr Pisar <ppisar@redhat.com> - 0.30-2
|
|
- Perl 5.16 rebuild
|
|
|
|
* Mon Apr 23 2012 Petr Pisar <ppisar@redhat.com> 0.30-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|