forked from pool/perl-Module-Build
revert
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Build?expand=0&rev=3
This commit is contained in:
parent
418d4c9c4a
commit
e83597ef07
3
Module-Build-0.31.tar.bz2
Normal file
3
Module-Build-0.31.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3229d3d6476375fbce3deaaf5410f08fed9ef7c46dc4fb01821ed73c72a6ee5d
|
||||
size 161047
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb7eb79be077db98980e2d2052152dd77b9de7399e371240d5fd71b665d91de2
|
||||
size 297358
|
@ -1,9 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 26 19:18:27 UTC 2010 - pascal.bleser@opensuse.org
|
||||
|
||||
- update to 0.3607
|
||||
- rewrote spec file from scratch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 4 15:42:00 UTC 2010 - chris@computersalat.de
|
||||
|
||||
|
@ -1,67 +1,107 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
#
|
||||
# spec file for package perl-Module-Build (Version 0.31)
|
||||
#
|
||||
# Copyright (c) 2009 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: perl-Module-Build
|
||||
Version: 0.3607
|
||||
Release: 0
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
Summary: Build and install Perl modules
|
||||
Source: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Module-Build-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/Module-Build
|
||||
Version: 0.31
|
||||
Release: 1
|
||||
License: artistic
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRequires: make perl
|
||||
Url: http://search.cpan.org/perldoc?Module::Build
|
||||
Source0: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More) >= 0.49
|
||||
BuildRequires: perl(Test::Harness) >= 3.16
|
||||
BuildRequires: perl(File::Temp) >= 0.15
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(File::Spec) >= 0.82
|
||||
BuildRequires: perl(ExtUtils::Install)
|
||||
BuildRequires: perl(File::Compare)
|
||||
BuildRequires: perl(Test::Harness) >= 2.03
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(File::Basename)
|
||||
#BuildRequires: perl(File::Compare)
|
||||
#BuildRequires: perl(File::Copy)
|
||||
BuildRequires: perl(File::Find)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
|
||||
BuildRequires: perl(ExtUtils::Manifest)
|
||||
BuildRequires: perl(Text::Abbrev)
|
||||
BuildRequires: perl(File::Copy)
|
||||
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)
|
||||
BuildRequires: perl(IO::File)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(ExtUtils::ParseXS) >= 2.21
|
||||
BuildRequires: perl(Text::ParseWords)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(ExtUtils::Mkbootstrap)
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(PAR::Dist) >= 0.17
|
||||
# recommends by Build.PL
|
||||
BuildRequires: perl(Archive::Tar) >= 1.08
|
||||
BuildRequires: perl(Archive::Zip)
|
||||
Requires: perl(File::Spec) >= 0.82
|
||||
Requires: perl(ExtUtils::Install)
|
||||
Requires: perl(File::Compare)
|
||||
Requires: perl(File::Find)
|
||||
Requires: perl(File::Path)
|
||||
Requires: perl(ExtUtils::CBuilder) >= 0.27
|
||||
Requires: perl(ExtUtils::Manifest)
|
||||
Requires: perl(Text::Abbrev)
|
||||
Requires: perl(File::Copy)
|
||||
Requires: perl(Getopt::Long)
|
||||
Requires: perl(Test::Harness)
|
||||
Requires: perl(IO::File)
|
||||
Requires: perl(Data::Dumper)
|
||||
Requires: perl(ExtUtils::ParseXS) >= 2.21
|
||||
Requires: perl(Text::ParseWords)
|
||||
Requires: perl(File::Basename)
|
||||
Requires: perl(ExtUtils::Mkbootstrap)
|
||||
Requires: perl(Cwd)
|
||||
Requires: perl(PAR::Dist) >= 0.17
|
||||
Requires: 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
|
||||
Requires: perl(YAML) >= 0.35
|
||||
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(Data::Dumper)
|
||||
Requires: perl(File::Basename)
|
||||
Requires: perl(File::Compare)
|
||||
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
|
||||
# YAML support
|
||||
Requires: perl(YAML) >= 0.35
|
||||
# manpage_support
|
||||
Requires: perl(Pod::Man)
|
||||
Requires: perl(Pod::Man)
|
||||
# HTML_support
|
||||
Requires: perl(Pod::Html)
|
||||
Requires: perl(Pod::Html)
|
||||
|
||||
# not mentioned in Build.PL
|
||||
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
|
||||
@ -75,37 +115,31 @@ 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>
|
||||
|
||||
%prep
|
||||
%setup -q -n "Module-Build-%{version}"
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%__perl ./Build.PL
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
||||
%perl_process_packlist
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
%install
|
||||
./Build install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README LICENSE
|
||||
%{_bindir}/config_data
|
||||
%doc %{_mandir}/man1/config_data.1%{ext_man}
|
||||
%dir %{perl_vendorlib}/Module
|
||||
%{perl_vendorlib}/Module/Build.pm
|
||||
%{perl_vendorlib}/Module/Build
|
||||
%dir %{perl_vendorlib}/inc
|
||||
%{perl_vendorlib}/inc/latest.pm
|
||||
%{perl_vendorlib}/inc/latest
|
||||
%dir %{perl_vendorarch}/auto/Module
|
||||
%{perl_vendorarch}/auto/Module/Build
|
||||
%doc %{perl_man3dir}/Module::Build.%{perl_man3ext}%{ext_man}
|
||||
%doc %{perl_man3dir}/Module::Build::*.%{perl_man3ext}%{ext_man}
|
||||
%doc %{perl_man3dir}/inc::latest.%{perl_man3ext}%{ext_man}
|
||||
%doc Changes INSTALL LICENSE README
|
||||
|
||||
%changelog
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user