8
0
Christian Wittmer
2010-09-14 21:45:40 +00:00
committed by Git OBS Bridge
parent e83597ef07
commit 3088b96fab
4 changed files with 77 additions and 83 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3229d3d6476375fbce3deaaf5410f08fed9ef7c46dc4fb01821ed73c72a6ee5d
size 161047

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f638da9bac841f2178dfa541d6c4231fc78a7eaffc61752583e9c1741012d632
size 186160

View File

@@ -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 Thu Mar 4 15:42:00 UTC 2010 - chris@computersalat.de

View File

@@ -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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,56 +18,42 @@
# norootforbuild # norootforbuild
Name: perl-Module-Build Name: perl-Module-Build
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) %define cpan_name Module-Build
Summary: Build and install Perl modules Summary: Build and install Perl modules
Version: 0.31 Version: 0.36
Release: 1 Release: 1
License: artistic License: GPL+ or Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/perldoc?Module::Build Url: http://search.cpan.org/dist/Module-Build/
Source0: %{cpan_name}-%{version}.tar.bz2 #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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros BuildRequires: perl-macros
%endif
BuildRequires: perl(File::Temp) >= 0.15
BuildRequires: perl(Test::More) >= 0.49 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(Data::Dumper)
BuildRequires: perl(File::Basename) BuildRequires: perl(File::Basename)
#BuildRequires: perl(File::Compare) BuildRequires: perl(File::Compare)
#BuildRequires: perl(File::Copy) BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Find) BuildRequires: perl(File::Find)
BuildRequires: perl(File::Path) BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec) >= 0.82 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(Getopt::Long)
BuildRequires: perl(Test::Harness) BuildRequires: perl(IO::File)
# recommends by Build.PL BuildRequires: perl(Text::Abbrev)
BuildRequires: perl(Archive::Tar) >= 1.08 BuildRequires: perl(Text::ParseWords)
BuildRequires: perl(Archive::Zip) #BuildRequires: perl(version) >= 0.74
#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)
################################################## ##################################################
Requires: perl = %{perl_version} Requires: perl = %{perl_version}
Requires: perl(Cwd)
Requires: perl(Data::Dumper) Requires: perl(Data::Dumper)
Requires: perl(File::Basename) Requires: perl(File::Basename)
Requires: perl(File::Compare) Requires: perl(File::Compare)
@@ -75,71 +61,72 @@ Requires: perl(File::Copy)
Requires: perl(File::Find) Requires: perl(File::Find)
Requires: perl(File::Path) Requires: perl(File::Path)
Requires: perl(File::Spec) >= 0.82 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(Getopt::Long)
Requires: perl(Test::Harness) Requires: perl(IO::File)
# recommends by Build.PL Requires: perl(Text::Abbrev)
Requires: perl(Archive::Tar) >= 1.08 Requires: perl(Text::ParseWords)
Requires: perl(ExtUtils::CBuilder) >= 0.15 Recommends: perl(version) >= 0.74
Requires: perl(ExtUtils::ParseXS) >= 1.02 ##################################################
Requires: perl(Module::Signature) >= 0.21 #
Requires: 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 # YAML support
Requires: perl(YAML) >= 0.35 BuildRequires: perl(YAML::Tiny) >= 1.38
Requires: perl(YAML::Tiny) >= 1.38
# manpage_support # manpage_support
Requires: perl(Pod::Man) Requires: perl(Pod::Man)
# HTML_support # HTML_support
Requires: perl(Pod::Html) Requires: perl(Pod::Html)
# not mentioned in Build.PL # not mentioned in Build.PL
BuildRequires: perl(PAR::Dist) >= 0.17
Requires: 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 %description
`Module::Build' is a system for building, testing, and installing Perl Module::Build is a system for building, testing, and installing Perl
modules. It is meant to be an alternative to `ExtUtils::MakeMaker'. modules. It is meant to be an alternative to ExtUtils::MakeMaker.
Developers may alter the behavior of the module through subclassing in a Developers may alter the behavior of the module through subclassing in a
much more straightforward way than with `MakeMaker'. It also does not much more straightforward way than with MakeMaker. It also does not require
require a `make' on your system - most of the `Module::Build' code is a make on your system - most of the Module::Build code is pure-perl and
pure-perl and written in a very cross-platform way. In fact, you don`t written in a very cross-platform way. In fact, you don't even need a shell,
even need a shell, so even platforms like MacOS (traditional) can use it so even platforms like MacOS (traditional) can use it fairly easily. Its
fairly easily. Its only prerequisites are modules that are included with only prerequisites are modules that are included with perl 5.6.0, and it
perl 5.6.0, and it works fine on perl 5.005 if you can install a few works fine on perl 5.005 if you can install a few additional modules.
additional modules.
Authors: Authors:
-------- --------
Andy Lester <andy@petdance.com> Ken Williams <kwilliams@cpan.org>
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
CFLAGS="$RPM_OPT_FLAGS" perl Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor %{__perl} Build.PL installdirs=vendor
./Build ./Build build flags=%{?_smp_mflags}
%check %check
#TEST_SIGNATURE=1 ./Build test
./Build test ./Build test
%install %install
./Build install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc Changes INSTALL LICENSE README %doc Changes contrib LICENSE README scripts
%changelog %changelog