perl-Module-Build/perl-Module-Build.spec

129 lines
4.5 KiB
RPMSpec
Raw Normal View History

2010-09-27 06:27:14 +00:00
Name: perl-Module-Build
2011-03-02 15:03:49 +00:00
Epoch: 1
Version: 0.3800
Release: 3%{?dist}
2010-09-27 06:27:14 +00:00
Summary: Build and install Perl modules
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Module-Build/
Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Module-Build-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: perl(Archive::Tar)
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(CPAN::Meta) >= 2.110420
BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
2010-09-27 06:27:14 +00:00
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
BuildRequires: perl(ExtUtils::Install) >= 0.3
BuildRequires: perl(ExtUtils::Manifest) >= 1.54
BuildRequires: perl(ExtUtils::Mkbootstrap)
BuildRequires: perl(ExtUtils::ParseXS) >= 2.21
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Compare)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::ShareDir)
BuildRequires: perl(File::Spec) >= 0.82
BuildRequires: perl(File::Temp) >= 0.15
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(IO::File)
BuildRequires: perl(lib)
2011-02-28 12:02:15 +00:00
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Metadata) >= 1.000002
BuildRequires: perl(PAR::Dist)
BuildRequires: perl(Parse::CPAN::Meta)
2011-02-28 12:02:15 +00:00
BuildRequires: perl(Perl::OSType) >= 1
BuildRequires: perl(Pod::Readme)
2010-09-27 06:27:14 +00:00
BuildRequires: perl(Test::Harness) >= 3.16
BuildRequires: perl(Test::More) >= 0.49
2011-02-28 12:02:15 +00:00
BuildRequires: perl(version) >= 0.87
Requires: perl(CPAN::Meta) >= 2.110420
Requires: perl(Cwd)
Requires: perl(Data::Dumper)
2010-09-27 06:27:14 +00:00
Requires: perl(ExtUtils::CBuilder) >= 0.27
Requires: perl(ExtUtils::Install) >= 0.3
Requires: perl(ExtUtils::Manifest) >= 1.54
Requires: perl(ExtUtils::Mkbootstrap)
Requires: perl(ExtUtils::ParseXS) >= 2.21
2011-02-28 12:02:15 +00:00
Requires: perl(Module::Metadata) >= 1.000002
Requires: perl(Perl::OSType) >= 1
Requires: perl(Test::Harness)
Requires: perl(version) >= 0.87
2010-09-27 06:27:14 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
2010-09-27 06:27:14 +00:00
%description
Module::Build is a system for building, testing, and installing Perl
modules. It is meant to be an alternative to ExtUtils::MakeMaker.
Developers may alter the behavior of the module through subclassing in a
much more straightforward way than with MakeMaker. It also does not require
a make on your system - most of the Module::Build code is pure-perl and
written in a very cross-platform way. In fact, you don't even need a shell,
so even platforms like MacOS (traditional) can use it fairly easily. Its
only prerequisites are modules that are included with perl 5.6.0, and it
works fine on perl 5.005 if you can install a few additional modules.
%prep
%setup -q -n Module-Build-%{version}
%build
2011-02-28 12:02:15 +00:00
%{__perl} Build.PL installdirs=vendor
2010-09-27 06:27:14 +00:00
./Build
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
rm t/signature.t
2011-02-28 12:02:15 +00:00
LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
2010-09-27 06:27:14 +00:00
%files
%doc Changes contrib LICENSE README
2010-09-27 06:27:14 +00:00
%{_bindir}/config_data
2011-02-28 12:02:15 +00:00
%{perl_vendorlib}/*
%{_mandir}/man1/*
2010-09-27 06:27:14 +00:00
%{_mandir}/man3/*
%changelog
* Mon Jun 27 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.3800-3
- BR on perl-devel because this package contains macros used by rpmbuild
for Perl packages
2011-06-20 11:46:10 +00:00
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.3800-2
- rebuild with Perl 5.14.1, remove defatter
* Wed Mar 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.3800-1
- update to 0.3800
2011-03-02 15:03:49 +00:00
* Wed Mar 02 2011 Petr Pisar <ppisar@redhat.com> - 1:0.3624-2
- Raise epoch to Core level
- Remove BuildRoot stuff
2011-02-28 12:02:15 +00:00
* Mon Feb 28 2011 Marcela Mašláňová <mmaslano@redhat.com> 0.3624-1
- update to new version
- fix BR, R
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3607-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-09-27 06:27:14 +00:00
* Mon Aug 30 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.3607-3
- switch off experimental test
* Tue Jun 8 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.3607-2
- copy check part&upload key from Paul Howarth
- fix macro
* Mon May 31 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.3607-1
- add BR, update, switch on some other tests
* Tue Mar 09 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.3603-1
- Specfile autogenerated by cpanspec 1.78.