Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
96c3dd9bd4 | ||
|
b2f074bfc9 | ||
|
350fd5411e | ||
|
b4729e2342 | ||
|
61752aa3a0 | ||
|
b053725a03 |
@ -1 +0,0 @@
|
||||
Module-Build-0.2608.tar.gz
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
Module-Build-0.2807.tar.gz
|
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
||||
# Makefile for source rpm: perl-Module-Build
|
||||
# $Id$
|
||||
NAME := perl-Module-Build
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
@ -1,50 +1,61 @@
|
||||
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
|
||||
%define module_version 0.2807
|
||||
|
||||
Name: perl-Module-Build
|
||||
Version: 0.2608
|
||||
Release: 1
|
||||
Epoch: 0
|
||||
# When the module version is x.yz, set Version to x.yz00.
|
||||
Version: 0.2807
|
||||
Release: 2%{?dist}
|
||||
Summary: Perl module for building and installing Perl modules
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Module-Build/
|
||||
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Module-Build-0.2608.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Module-Build-%{module_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))
|
||||
BuildRequires: perl(Archive::Tar) >= 1.08
|
||||
BuildRequires: perl(ExtUtils::CBuilder) >= 0.15
|
||||
BuildRequires: perl(ExtUtils::ParseXS) >= 1.02
|
||||
BuildRequires: perl(YAML)
|
||||
# Avoid a circular build dependency (#215558).
|
||||
#BuildRequires: perl(Pod::Readme) >= 0.04
|
||||
#BuildRequires: perl(version) >= 0.661
|
||||
Requires: perl(Archive::Tar) >= 1.08
|
||||
Requires: perl(ExtUtils::CBuilder) >= 0.15
|
||||
Requires: perl(ExtUtils::ParseXS) >= 1.02
|
||||
#Requires: perl(Pod::Readme) >= 0.04
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Perl module for building and installing Perl modules, a replacement to
|
||||
ExtUtils::MakeMaker.
|
||||
|
||||
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}
|
||||
|
||||
%setup -q -n Module-Build-%{module_version}
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
./Build install destdir=$RPM_BUILD_ROOT
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%check || :
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
@ -53,8 +64,67 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man1/config_data.1*
|
||||
%{_mandir}/man3/Module::Build*.3*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon May 07 2007 Steven Pritchard <steve@kspei.com> 0.2807-2
|
||||
- Drop explicit dependency on Pod::Readme.
|
||||
|
||||
* Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 0.2807-1
|
||||
- Update to 0.2807.
|
||||
|
||||
* Sat Dec 16 2006 Steven Pritchard <steve@kspei.com> 0.2806-1
|
||||
- Update to 0.2806.
|
||||
- Use fixperms macro instead of our own chmod incantation.
|
||||
|
||||
* Wed Nov 15 2006 Steven Pritchard <steve@kspei.com> 0.2805-3
|
||||
- Don't BR Pod::Readme. (#215558)
|
||||
|
||||
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 0.2805-2
|
||||
- Rebuild.
|
||||
|
||||
* Sat Aug 05 2006 Steven Pritchard <steve@kspei.com> 0.2805-1
|
||||
- Update to 0.2805.
|
||||
- Use the bundled version.pm code for now.
|
||||
|
||||
* Fri Jul 28 2006 Steven Pritchard <steve@kspei.com> 0.2804-1
|
||||
- Update to 0.2804.
|
||||
- BR perl(version).
|
||||
- Fix find option order.
|
||||
|
||||
* 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.)
|
||||
|
||||
* Thu May 18 2006 Steven Pritchard <steve@kspei.com> 0.2800-2
|
||||
- Take input from /dev/zero during "Build test" to avoid test failure.
|
||||
|
||||
* 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.
|
||||
- Various spec cleanups to closer match cpanspec output.
|
||||
|
||||
* Wed Mar 15 2006 Steven Pritchard <steve@kspei.com> - 0.2612-2
|
||||
- Add versioned deps for Archive::Tar, ExtUtils::CBuilder, and
|
||||
ExtUtils::ParseXS.
|
||||
|
||||
* Sat Mar 11 2006 Steven Pritchard <steve@kspei.com> - 0.2612-1
|
||||
- Update to 0.2612.
|
||||
|
||||
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> - 0.2611-2
|
||||
- Minor spec cleanup.
|
||||
- Add COPYING and Artistic.
|
||||
|
||||
* Wed Jul 06 2005 Steven Pritchard <steve@kspei.com> - 0.2611-1
|
||||
- Update to 0.2611.
|
||||
|
||||
* Sat May 7 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.2610-3
|
||||
- Rebuild.
|
||||
|
||||
* Sat Apr 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.2610-2
|
||||
- 0.2610.
|
||||
- Trust that %%{perl_vendorlib} is defined.
|
||||
|
||||
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
||||
- rebuilt
|
||||
|
||||
* 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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user