2006-08-08 18:39:54 +00:00
|
|
|
%define module_version 0.2805
|
2006-05-17 19:33:47 +00:00
|
|
|
|
2004-11-08 05:06:44 +00:00
|
|
|
Name: perl-Module-Build
|
2006-07-28 18:23:44 +00:00
|
|
|
# When the module version is x.yz, set Version to x.yz00.
|
2006-08-08 18:39:54 +00:00
|
|
|
Version: 0.2805
|
2006-05-22 21:08:22 +00:00
|
|
|
Release: 1%{?dist}
|
2004-11-08 05:06:44 +00:00
|
|
|
Summary: Perl module for building and installing Perl modules
|
|
|
|
License: GPL or Artistic
|
2006-05-12 17:08:10 +00:00
|
|
|
Group: Development/Libraries
|
2004-11-08 05:06:44 +00:00
|
|
|
URL: http://search.cpan.org/dist/Module-Build/
|
2006-05-17 19:33:47 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Module-Build-%{module_version}.tar.gz
|
2004-11-08 05:06:44 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
2006-03-16 01:54:11 +00:00
|
|
|
BuildRequires: perl(Archive::Tar) >= 1.08
|
2006-05-12 17:08:10 +00:00
|
|
|
BuildRequires: perl(ExtUtils::CBuilder) >= 0.15
|
|
|
|
BuildRequires: perl(ExtUtils::ParseXS) >= 1.02
|
|
|
|
BuildRequires: perl(YAML)
|
|
|
|
BuildRequires: perl(Pod::Readme) >= 0.04
|
2006-08-08 18:39:54 +00:00
|
|
|
#BuildRequires: perl(version) >= 0.661
|
2006-03-16 01:54:11 +00:00
|
|
|
Requires: perl(Archive::Tar) >= 1.08
|
2006-05-12 17:08:10 +00:00
|
|
|
Requires: perl(ExtUtils::CBuilder) >= 0.15
|
|
|
|
Requires: perl(ExtUtils::ParseXS) >= 1.02
|
|
|
|
Requires: perl(Pod::Readme) >= 0.04
|
2005-09-06 01:04:44 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2004-11-08 05:06:44 +00:00
|
|
|
|
|
|
|
%description
|
2006-05-12 17:08:10 +00:00
|
|
|
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.
|
2004-11-08 05:06:44 +00:00
|
|
|
|
|
|
|
%prep
|
2006-05-17 19:33:47 +00:00
|
|
|
%setup -q -n Module-Build-%{module_version}
|
2004-11-08 05:06:44 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
./Build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-09-06 01:04:44 +00:00
|
|
|
|
2005-04-16 12:31:28 +00:00
|
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
2006-07-28 18:23:44 +00:00
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
2004-11-08 05:06:44 +00:00
|
|
|
|
2005-09-06 01:04:44 +00:00
|
|
|
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
2006-05-22 21:08:22 +00:00
|
|
|
./Build test
|
2004-11-08 05:06:44 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2006-05-12 17:08:10 +00:00
|
|
|
%doc Changes README
|
2004-11-08 05:07:59 +00:00
|
|
|
%{_bindir}/config_data
|
2004-11-08 05:06:44 +00:00
|
|
|
%{perl_vendorlib}/Module
|
2004-11-08 05:07:59 +00:00
|
|
|
%{_mandir}/man1/config_data.1*
|
|
|
|
%{_mandir}/man3/Module::Build*.3*
|
2004-11-08 05:06:44 +00:00
|
|
|
|
|
|
|
%changelog
|
2006-08-08 18:39:54 +00:00
|
|
|
* Sat Aug 05 2006 Steven Pritchard <steve@kspei.com> 0.2805-1
|
|
|
|
- Update to 0.2805.
|
|
|
|
- Use the bundled version.pm code for now.
|
|
|
|
|
2006-07-28 18:23:44 +00:00
|
|
|
* Fri Jul 28 2006 Steven Pritchard <steve@kspei.com> 0.2804-1
|
|
|
|
- Update to 0.2804.
|
|
|
|
- BR perl(version).
|
|
|
|
- Fix find option order.
|
|
|
|
|
2006-05-22 21:08:22 +00:00
|
|
|
* Mon May 22 2006 Steven Pritchard <steve@kspei.com> 0.2801-1
|
|
|
|
- Update to 0.2801.
|
|
|
|
- Drop the /dev/zero hack. (Upstream fixed this problem.)
|
|
|
|
|
2006-05-18 22:33:05 +00:00
|
|
|
* Thu May 18 2006 Steven Pritchard <steve@kspei.com> 0.2800-2
|
|
|
|
- Take input from /dev/zero during "Build test" to avoid test failure.
|
|
|
|
|
2006-05-17 19:33:47 +00:00
|
|
|
* Wed May 17 2006 Steven Pritchard <steve@kspei.com> 0.2800-1
|
|
|
|
- Update to 0.28, but call it 0.2800 to avoid an epoch bump.
|
2006-05-12 17:08:10 +00:00
|
|
|
- Various spec cleanups to closer match cpanspec output.
|
|
|
|
|
2006-03-16 01:54:11 +00:00
|
|
|
* Wed Mar 15 2006 Steven Pritchard <steve@kspei.com> - 0.2612-2
|
|
|
|
- Add versioned deps for Archive::Tar, ExtUtils::CBuilder, and
|
|
|
|
ExtUtils::ParseXS.
|
|
|
|
|
2006-03-12 02:14:33 +00:00
|
|
|
* Sat Mar 11 2006 Steven Pritchard <steve@kspei.com> - 0.2612-1
|
|
|
|
- Update to 0.2612.
|
|
|
|
|
2005-09-06 01:04:44 +00:00
|
|
|
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> - 0.2611-2
|
|
|
|
- Minor spec cleanup.
|
|
|
|
- Add COPYING and Artistic.
|
|
|
|
|
2005-07-06 05:36:18 +00:00
|
|
|
* Wed Jul 06 2005 Steven Pritchard <steve@kspei.com> - 0.2611-1
|
2005-09-06 01:04:44 +00:00
|
|
|
- Update to 0.2611.
|
2005-07-06 05:36:18 +00:00
|
|
|
|
2005-05-07 19:06:22 +00:00
|
|
|
* Sat May 7 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.2610-3
|
|
|
|
- Rebuild.
|
|
|
|
|
2005-04-16 12:31:28 +00:00
|
|
|
* Sat Apr 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.2610-2
|
|
|
|
- 0.2610.
|
|
|
|
- Trust that %%{perl_vendorlib} is defined.
|
|
|
|
|
2005-04-06 22:13:07 +00:00
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-01-27 17:50:59 +00:00
|
|
|
* Thu Jan 27 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.2608-1
|
|
|
|
- Update to 0.2608, Test::Harness kludge no longer needed.
|
|
|
|
|
2004-12-30 18:29:11 +00:00
|
|
|
* Sun Dec 19 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.2606-1
|
|
|
|
- Update to 0.2606.
|
|
|
|
|
2004-12-04 15:32:59 +00:00
|
|
|
* Wed Dec 1 2004 Ville Skyttä <ville.skytta at iki.fi> - 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
|
|
|
|
|
2004-11-08 05:07:59 +00:00
|
|
|
* Sun Oct 10 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.26-0.fdr.1
|
|
|
|
- Update to 0.26.
|
|
|
|
|
2004-11-08 05:06:44 +00:00
|
|
|
* Sat May 22 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.25-0.fdr.3
|
|
|
|
- Require perl(YAML) and perl(ExtUtils::ParseXS) (bug 1348).
|
|
|
|
|
|
|
|
* Tue Apr 27 2004 Ville Skyttä <ville.skytta at iki.fi> - 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ä <ville.skytta at iki.fi> - 0:0.25-0.fdr.1
|
|
|
|
- Update to 0.25.
|
|
|
|
|
|
|
|
* Sun Apr 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.24-0.fdr.2
|
|
|
|
- Require perl(:MODULE_COMPAT_*).
|
|
|
|
|
|
|
|
* Thu Feb 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.24-0.fdr.1
|
|
|
|
- Update to 0.24.
|
|
|
|
|
|
|
|
* Mon Jan 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.22-0.fdr.1
|
|
|
|
- Update to 0.22.
|
|
|
|
|
|
|
|
* Thu Sep 4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.20-0.fdr.1
|
|
|
|
- First build.
|