Name: perl-Module-Build Version: 0.2612 Release: 2%{?dist} 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(Archive::Tar) >= 1.08 BuildRequires: perl(ExtUtils::CBuilder) >= 0.02 BuildRequires: perl(ExtUtils::ParseXS) >= 2.02 BuildRequires: perl(YAML) >= 0.35, perl(YAML) < 0.49 Requires: perl(Archive::Tar) >= 1.08 Requires: perl(ExtUtils::CBuilder) >= 0.02 Requires: perl(ExtUtils::ParseXS) >= 2.02 Requires: 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 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \; chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/* perldoc -t perlgpl > COPYING perldoc -t perlartistic > Artistic %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README COPYING Artistic %{_bindir}/config_data %{perl_vendorlib}/Module %{_mandir}/man1/config_data.1* %{_mandir}/man3/Module::Build*.3* %changelog * Wed Mar 15 2006 Steven Pritchard - 0.2612-2 - Add versioned deps for Archive::Tar, ExtUtils::CBuilder, and ExtUtils::ParseXS. * Sat Mar 11 2006 Steven Pritchard - 0.2612-1 - Update to 0.2612. * Mon Sep 05 2005 Steven Pritchard - 0.2611-2 - Minor spec cleanup. - Add COPYING and Artistic. * Wed Jul 06 2005 Steven Pritchard - 0.2611-1 - Update to 0.2611. * Sat May 7 2005 Ville Skyttä - 0.2610-3 - Rebuild. * Sat Apr 16 2005 Ville Skyttä - 0.2610-2 - 0.2610. - Trust that %%{perl_vendorlib} is defined. * Fri Apr 7 2005 Michael Schwendt - rebuilt * 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.