%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} Name: perl-Module-Build Version: 0.2610 Release: 1 Epoch: 0 Summary: Perl module for building and installing Perl modules Group: Development/Libraries License: GPL or Artistic URL: http://search.cpan.org/dist/Module-Build/ Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Module-Build-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::ParseXS), perl(YAML) >= 0.35, perl(YAML) < 0.49 Requires: perl(ExtUtils::ParseXS), perl(YAML) >= 0.35, perl(YAML) < 0.49 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Perl module for building and installing Perl modules, a replacement to ExtUtils::MakeMaker. %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 chmod -R u+w $RPM_BUILD_ROOT/* %check || : ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{_bindir}/config_data %{perl_vendorlib}/Module %{_mandir}/man1/config_data.1* %{_mandir}/man3/Module::Build*.3* %changelog * Sat Apr 16 2005 Ville Skyttä - 0:0.2610-1 - 0.2610. * Thu Jan 27 2005 Ville Skyttä - 0:0.2608-1 - Update to 0.2608, Test::Harness kludge no longer needed. * Sun Dec 19 2004 Ville Skyttä - 0:0.2606-1 - Update to 0.2606. * Wed Dec 1 2004 Ville Skyttä - 0:0.2605-1 - Update to 0.2605. - Disable some tests if Test::Harness::Straps is < 0.20 to avoid failing when the default @INC is longish, such as in FC3 Perl. http://sourceforge.net/mailarchive/forum.php?thread_id=6056820&forum_id=10905 http://rt.cpan.org/NoAuth/Bug.html?id=5649 * Sun Oct 10 2004 Ville Skyttä - 0:0.26-0.fdr.1 - Update to 0.26. * Sat May 22 2004 Ville Skyttä - 0:0.25-0.fdr.3 - Require perl(YAML) and perl(ExtUtils::ParseXS) (bug 1348). * Tue Apr 27 2004 Ville Skyttä - 0:0.25-0.fdr.2 - Do not require Archive::Tar, it is not used on Unix platforms anyway. Instead, gzip and tar are used, but even they are optional and used only in the 'dist' and 'ppmdist' actions. * Mon Apr 26 2004 Ville Skyttä - 0:0.25-0.fdr.1 - Update to 0.25. * Sun Apr 25 2004 Ville Skyttä - 0:0.24-0.fdr.2 - Require perl(:MODULE_COMPAT_*). * Thu Feb 26 2004 Ville Skyttä - 0:0.24-0.fdr.1 - Update to 0.24. * Mon Jan 26 2004 Ville Skyttä - 0:0.22-0.fdr.1 - Update to 0.22. * Thu Sep 4 2003 Ville Skyttä - 0:0.20-0.fdr.1 - First build.