perl-ExtUtils-MakeMaker/perl-ExtUtils-MakeMaker.spec

64 lines
1.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-ExtUtils-MakeMaker (Version 6.56)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
Name: perl-ExtUtils-MakeMaker
URL: http://cpan.org/modules/by-module/ExtUtils/
License: Perl License
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
# BuildRequires: perl-Test-Pod
Autoreqprov: on
Summary: ExtUtils-MakeMaker Perl module
Version: 6.56
Release: 1
Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/ExtUtils-MakeMaker-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%description
Up-to-date ExtUtils-MakeMaker Perl module.
Module::Build is the official heir apparent to MakeMaker and we encourage
people to work on M::B rather than spending time adding features to MakeMaker.
%prep
%setup -n ExtUtils-MakeMaker-%{version}
%build
%__perl Makefile.PL
%__make
%check
%__make test
%install
%perl_make_install
%perl_process_packlist
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc Changes README
%if 0%{?suse_version} < 1100
%exclude %doc %{_mandir}/man3/*.%{perl_man3ext}%{ext_man}
%else
%doc %{_mandir}/man3/*.%{perl_man3ext}%{ext_man}
%endif
%{perl_vendorlib}/ExtUtils
%{perl_vendorarch}/auto/ExtUtils
%exclude /usr/bin/instmodsh
%exclude %{_mandir}/man1/instmodsh.1%{ext_man}
%changelog