2010-08-26 21:19:08 +02:00
|
|
|
# vim: set sw=4 ts=4 et nu:
|
2010-03-04 16:45:24 +01:00
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-Module-Build
|
2010-08-26 21:19:08 +02:00
|
|
|
Version: 0.3607
|
|
|
|
Release: 0
|
2010-03-04 16:45:24 +01:00
|
|
|
Summary: Build and install Perl modules
|
2010-08-26 21:19:08 +02:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Module-Build-%{version}.tar.gz
|
|
|
|
URL: http://search.cpan.org/dist/Module-Build
|
2010-03-04 16:45:24 +01:00
|
|
|
Group: Development/Libraries/Perl
|
2010-08-26 21:19:08 +02:00
|
|
|
License: Perl License
|
|
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
BuildRequires: make perl
|
2010-03-04 16:45:24 +01:00
|
|
|
BuildRequires: perl(Test::More) >= 0.49
|
2010-08-26 21:19:08 +02:00
|
|
|
BuildRequires: perl(Test::Harness) >= 3.16
|
|
|
|
BuildRequires: perl(File::Temp) >= 0.15
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.82
|
|
|
|
BuildRequires: perl(ExtUtils::Install)
|
|
|
|
BuildRequires: perl(File::Compare)
|
2010-03-04 16:45:24 +01:00
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Path)
|
2010-08-26 21:19:08 +02:00
|
|
|
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
|
|
|
|
BuildRequires: perl(ExtUtils::Manifest)
|
|
|
|
BuildRequires: perl(Text::Abbrev)
|
|
|
|
BuildRequires: perl(File::Copy)
|
2010-03-04 16:45:24 +01:00
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
BuildRequires: perl(Test::Harness)
|
2010-08-26 21:19:08 +02:00
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(ExtUtils::ParseXS) >= 2.21
|
|
|
|
BuildRequires: perl(Text::ParseWords)
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(ExtUtils::Mkbootstrap)
|
|
|
|
BuildRequires: perl(Cwd)
|
2010-03-04 16:45:24 +01:00
|
|
|
BuildRequires: perl(PAR::Dist) >= 0.17
|
2010-08-26 21:19:08 +02:00
|
|
|
BuildRequires: perl(Archive::Zip)
|
|
|
|
Requires: perl(File::Spec) >= 0.82
|
|
|
|
Requires: perl(ExtUtils::Install)
|
|
|
|
Requires: perl(File::Compare)
|
|
|
|
Requires: perl(File::Find)
|
|
|
|
Requires: perl(File::Path)
|
|
|
|
Requires: perl(ExtUtils::CBuilder) >= 0.27
|
|
|
|
Requires: perl(ExtUtils::Manifest)
|
|
|
|
Requires: perl(Text::Abbrev)
|
|
|
|
Requires: perl(File::Copy)
|
|
|
|
Requires: perl(Getopt::Long)
|
|
|
|
Requires: perl(Test::Harness)
|
|
|
|
Requires: perl(IO::File)
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
Requires: perl(ExtUtils::ParseXS) >= 2.21
|
|
|
|
Requires: perl(Text::ParseWords)
|
|
|
|
Requires: perl(File::Basename)
|
|
|
|
Requires: perl(ExtUtils::Mkbootstrap)
|
|
|
|
Requires: perl(Cwd)
|
|
|
|
Requires: perl(PAR::Dist) >= 0.17
|
|
|
|
Requires: perl(Archive::Zip)
|
2010-03-04 16:45:24 +01:00
|
|
|
# YAML support
|
2010-08-26 21:19:08 +02:00
|
|
|
Requires: perl(YAML) >= 0.35
|
2010-03-04 16:45:24 +01:00
|
|
|
# manpage_support
|
2010-08-26 21:19:08 +02:00
|
|
|
Requires: perl(Pod::Man)
|
2010-03-04 16:45:24 +01:00
|
|
|
# HTML_support
|
2010-08-26 21:19:08 +02:00
|
|
|
Requires: perl(Pod::Html)
|
2010-03-04 16:45:24 +01: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
|
2010-08-26 21:19:08 +02:00
|
|
|
%setup -q -n "Module-Build-%{version}"
|
2010-03-04 16:45:24 +01:00
|
|
|
|
|
|
|
%build
|
2010-08-26 21:19:08 +02:00
|
|
|
%__perl ./Build.PL
|
2010-03-04 16:45:24 +01:00
|
|
|
./Build
|
|
|
|
|
|
|
|
%install
|
2010-08-26 21:19:08 +02:00
|
|
|
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
2010-03-04 16:45:24 +01:00
|
|
|
%perl_process_packlist
|
|
|
|
|
2010-08-26 21:19:08 +02:00
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
2010-03-04 16:45:24 +01:00
|
|
|
|
2010-08-26 21:19:08 +02:00
|
|
|
%files
|
2010-03-04 16:45:24 +01:00
|
|
|
%defattr(-,root,root)
|
2010-08-26 21:19:08 +02:00
|
|
|
%doc Changes README LICENSE
|
|
|
|
%{_bindir}/config_data
|
|
|
|
%doc %{_mandir}/man1/config_data.1%{ext_man}
|
|
|
|
%dir %{perl_vendorlib}/Module
|
|
|
|
%{perl_vendorlib}/Module/Build.pm
|
|
|
|
%{perl_vendorlib}/Module/Build
|
|
|
|
%dir %{perl_vendorlib}/inc
|
|
|
|
%{perl_vendorlib}/inc/latest.pm
|
|
|
|
%{perl_vendorlib}/inc/latest
|
|
|
|
%dir %{perl_vendorarch}/auto/Module
|
|
|
|
%{perl_vendorarch}/auto/Module/Build
|
|
|
|
%doc %{perl_man3dir}/Module::Build.%{perl_man3ext}%{ext_man}
|
|
|
|
%doc %{perl_man3dir}/Module::Build::*.%{perl_man3ext}%{ext_man}
|
|
|
|
%doc %{perl_man3dir}/inc::latest.%{perl_man3ext}%{ext_man}
|
2010-03-04 16:45:24 +01:00
|
|
|
|