Name: perl-Module-Build Version: 0.3607 Epoch: 1 Release: 1%{?dist} 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006001 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(Module::Build) BuildRequires: perl(Test::Harness) >= 3.16 BuildRequires: perl(Test::More) >= 0.49 BuildRequires: perl(version) >= 0.74 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 Requires: perl(Test::Harness) Requires: perl(version) >= 0.74 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %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 %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./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 ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes contrib LICENSE README scripts %{perl_vendorlib}/* %{_bindir}/* %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Thu Aug 26 2010 Dave Cross 0.3607-1 - Specfile autogenerated by cpanspec 1.78.