forked from pool/perl-Module-Build
update to 0.36, noarch pkg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Build?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
e83597ef07
commit
3088b96fab
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3229d3d6476375fbce3deaaf5410f08fed9ef7c46dc4fb01821ed73c72a6ee5d
|
||||
size 161047
|
3
Module-Build-0.36.tar.bz2
Normal file
3
Module-Build-0.36.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f638da9bac841f2178dfa541d6c4231fc78a7eaffc61752583e9c1741012d632
|
||||
size 186160
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 14 20:59:25 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- update to 0.36
|
||||
o just for SLE_10 :)
|
||||
- noarch pkg
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 4 15:42:00 UTC 2010 - chris@computersalat.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Module-Build (Version 0.31)
|
||||
# spec file for package perl-Module-Build (Version 0.36)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,56 +18,42 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: perl-Module-Build
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
%define cpan_name Module-Build
|
||||
Summary: Build and install Perl modules
|
||||
Version: 0.31
|
||||
Version: 0.36
|
||||
Release: 1
|
||||
License: artistic
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/perldoc?Module::Build
|
||||
Source0: %{cpan_name}-%{version}.tar.bz2
|
||||
Url: http://search.cpan.org/dist/Module-Build/
|
||||
#Source: http://www.cpan.org/modules/by-module/Module/Module-Build-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build)
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(File::Temp) >= 0.15
|
||||
BuildRequires: perl(Test::More) >= 0.49
|
||||
BuildRequires: perl(Test::Harness) >= 2.03
|
||||
BuildRequires: perl(Test::Harness) >= 3.16
|
||||
#
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(File::Basename)
|
||||
#BuildRequires: perl(File::Compare)
|
||||
#BuildRequires: perl(File::Copy)
|
||||
BuildRequires: perl(File::Compare)
|
||||
BuildRequires: perl(File::Copy)
|
||||
BuildRequires: perl(File::Find)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(File::Spec) >= 0.82
|
||||
BuildRequires: perl(IO::File)
|
||||
# defined in Build.PL but not used
|
||||
#BuildRequires: perl(Text::Abbrev)
|
||||
BuildRequires: perl(Text::ParseWords)
|
||||
BuildRequires: perl(Getopt::Long)
|
||||
BuildRequires: perl(Test::Harness)
|
||||
# recommends by Build.PL
|
||||
BuildRequires: perl(Archive::Tar) >= 1.08
|
||||
BuildRequires: perl(Archive::Zip)
|
||||
#BuildRequires: perl(ExtUtils::CBuilder) >= 0.15
|
||||
#BuildRequires: perl(ExtUtils::Install) >= 0.30
|
||||
#BuildRequires: perl(ExtUtils::ParseXS) >= 1.02
|
||||
|
||||
## Pod::Readme requires Pod::Text >= 3.00
|
||||
## only perl >= 5.10 will fullfill this dep
|
||||
%if 0%{?suse_version} >= 1100
|
||||
BuildRequires: perl(Pod::Readme) >= 0.04
|
||||
Requires: perl(Pod::Readme) >= 0.04
|
||||
%endif
|
||||
|
||||
BuildRequires: perl(Module::Signature) >= 0.21
|
||||
BuildRequires: perl(version) >= 0.74
|
||||
# YAML support
|
||||
BuildRequires: perl(YAML) >= 0.35
|
||||
|
||||
# not mentioned in Build.PL
|
||||
BuildRequires: perl(PAR::Dist) >= 0.17
|
||||
BuildRequires: perl(TAP::Parser)
|
||||
BuildRequires: perl(IO::File)
|
||||
BuildRequires: perl(Text::Abbrev)
|
||||
BuildRequires: perl(Text::ParseWords)
|
||||
#BuildRequires: perl(version) >= 0.74
|
||||
##################################################
|
||||
Requires: perl = %{perl_version}
|
||||
Requires: perl(Cwd)
|
||||
Requires: perl(Data::Dumper)
|
||||
Requires: perl(File::Basename)
|
||||
Requires: perl(File::Compare)
|
||||
@@ -75,71 +61,72 @@ Requires: perl(File::Copy)
|
||||
Requires: perl(File::Find)
|
||||
Requires: perl(File::Path)
|
||||
Requires: perl(File::Spec) >= 0.82
|
||||
Requires: perl(ExtUtils::Install) >= 0.30
|
||||
Requires: perl(ExtUtils::Manifest)
|
||||
Requires: perl(ExtUtils::Mkbootstrap)
|
||||
Requires: perl(IO::File)
|
||||
# defined in Build.PL but not used
|
||||
#Requires: perl(Text::Abbrev)
|
||||
Requires: perl(Text::ParseWords)
|
||||
Requires: perl(Getopt::Long)
|
||||
Requires: perl(Test::Harness)
|
||||
# recommends by Build.PL
|
||||
Requires: perl(Archive::Tar) >= 1.08
|
||||
Requires: perl(ExtUtils::CBuilder) >= 0.15
|
||||
Requires: perl(ExtUtils::ParseXS) >= 1.02
|
||||
Requires: perl(Module::Signature) >= 0.21
|
||||
Requires: perl(version) >= 0.74
|
||||
Requires: perl(IO::File)
|
||||
Requires: perl(Text::Abbrev)
|
||||
Requires: perl(Text::ParseWords)
|
||||
Recommends: perl(version) >= 0.74
|
||||
##################################################
|
||||
#
|
||||
BuildRequires: perl(Archive::Tar) >= 1.09
|
||||
## Pod::Readme requires Pod::Text >= 3.00
|
||||
## only perl >= 5.10 will fullfill this dep
|
||||
%if 0%{?suse_version} >= 1100
|
||||
BuildRequires: perl(Pod::Readme) >= 0.04
|
||||
Recommends: perl(Pod::Readme) >= 0.04
|
||||
%endif
|
||||
#BuildRequires: perl(Module::Signature) >= 0.21
|
||||
Recommends: perl(Module::Signature) >= 0.21
|
||||
#
|
||||
#BuildRequires: perl(Software::License)
|
||||
#Requires: perl(Software::License)
|
||||
# YAML support
|
||||
Requires: perl(YAML) >= 0.35
|
||||
BuildRequires: perl(YAML::Tiny) >= 1.38
|
||||
Requires: perl(YAML::Tiny) >= 1.38
|
||||
# manpage_support
|
||||
Requires: perl(Pod::Man)
|
||||
# HTML_support
|
||||
Requires: perl(Pod::Html)
|
||||
|
||||
# not mentioned in Build.PL
|
||||
BuildRequires: perl(PAR::Dist) >= 0.17
|
||||
Requires: perl(PAR::Dist) >= 0.17
|
||||
Requires: perl(TAP::Parser)
|
||||
Requires: perl(Test::Pod) >= 0.95
|
||||
Requires: perl(Test::Pod::Coverage) >= 1.00
|
||||
##################################################
|
||||
|
||||
%description
|
||||
`Module::Build' is a system for building, testing, and installing Perl
|
||||
modules. It is meant to be an alternative 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.
|
||||
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.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Andy Lester <andy@petdance.com>
|
||||
Ken Williams <kwilliams@cpan.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor
|
||||
./Build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
#TEST_SIGNATURE=1 ./Build test
|
||||
./Build test
|
||||
|
||||
%install
|
||||
./Build install
|
||||
%perl_process_packlist
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes INSTALL LICENSE README
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes contrib LICENSE README scripts
|
||||
|
||||
%changelog
|
||||
|
||||
|
Reference in New Issue
Block a user