65 lines
1.9 KiB
RPMSpec
65 lines
1.9 KiB
RPMSpec
![]() |
# vim: set sw=4 ts=4 et nu:
|
||
|
|
||
|
Name: perl-Module-Package
|
||
|
Version: 0.11
|
||
|
Release: 0
|
||
|
Summary: Postmodern Perl Module Packaging
|
||
|
Source: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Module-Package-%{version}.tar.gz
|
||
|
URL: http://search.cpan.org/dist/Module-Package
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
|
||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||
|
%{perl_requires}
|
||
|
BuildRequires: perl-macros
|
||
|
BuildRequires: make
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||
|
BuildRequires: perl(Module::Install::ManifestSkip)
|
||
|
BuildRequires: perl(Module::Install) >= 1.01
|
||
|
Requires: perl(Module::Install::ManifestSkip)
|
||
|
Requires: perl(Module::Install) >= 1.01
|
||
|
%if 0%{?suse_version} >= 1120
|
||
|
BuildArch: noarch
|
||
|
%endif
|
||
|
|
||
|
%description
|
||
|
This is the inc::Module::Package bootstrapping module. It works something
|
||
|
like inc::Module::Install. This code should only be loaded in an author
|
||
|
environment.
|
||
|
|
||
|
See Module::Package for more information.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n "Module-Package-%{version}"
|
||
|
%__sed -i '/^auto_install/d' Makefile.PL
|
||
|
|
||
|
%build
|
||
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||
|
%__make %{?_smp_flags}
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%check
|
||
|
%__make test
|
||
|
|
||
|
%clean
|
||
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc Changes README
|
||
|
%dir %{perl_vendorlib}/Module
|
||
|
%{perl_vendorlib}/Module/Package.pm
|
||
|
%dir %{perl_vendorlib}/Module/Install
|
||
|
%{perl_vendorlib}/Module/Install/Package.pm
|
||
|
%doc %{perl_vendorlib}/Module/Install/Package.pod
|
||
|
%dir %{perl_vendorlib}/inc
|
||
|
%dir %{perl_vendorlib}/inc/Module
|
||
|
%{perl_vendorlib}/inc/Module/Package.pm
|
||
|
%doc %{perl_vendorlib}/inc/Module/Package.pod
|
||
|
%doc %{perl_man3dir}/Module::Package.%{perl_man3ext}%{ext_man}
|
||
|
%doc %{perl_man3dir}/Module::Install::Package.%{perl_man3ext}%{ext_man}
|
||
|
%doc %{perl_man3dir}/inc::Module::Package.%{perl_man3ext}%{ext_man}
|
||
|
|