2008-09-16 17:46:16 +02:00
|
|
|
#
|
2011-12-11 10:13:03 +01:00
|
|
|
# spec file for package perl-ExtUtils-MakeMaker
|
2008-09-16 17:46:16 +02:00
|
|
|
#
|
2011-12-11 10:13:03 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-09-16 17:46:16 +02:00
|
|
|
#
|
2011-12-11 10:13:03 +01:00
|
|
|
# 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/
|
2008-09-16 17:46:16 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-12-11 10:13:03 +01:00
|
|
|
Name: perl-ExtUtils-MakeMaker
|
|
|
|
Version: 6.62
|
|
|
|
Release: 0
|
|
|
|
%define cpan_name ExtUtils-MakeMaker
|
|
|
|
Summary: Create a module Makefile
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Url: http://search.cpan.org/dist/ExtUtils-MakeMaker/
|
|
|
|
Source: http://www.cpan.org/authors/id/M/MS/MSCHWERN/%{cpan_name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-10-19 10:46:01 +02:00
|
|
|
BuildRequires: perl
|
2011-12-11 10:17:55 +01:00
|
|
|
BuildRequires: perl-macros
|
|
|
|
# MANUAL BEGIN
|
|
|
|
#!BuildIgnore: perl-ExtUtils-MakeMaker
|
2011-12-11 10:13:03 +01:00
|
|
|
BuildRequires: perl(CPAN::Meta) >= 2.112150
|
|
|
|
BuildRequires: perl-File-Copy-Recursive
|
2011-12-11 10:17:55 +01:00
|
|
|
# MANUAL END
|
2011-12-11 10:13:03 +01:00
|
|
|
#BuildRequires: perl(CPAN::Meta)
|
|
|
|
#BuildRequires: perl(CPAN::Meta::Converter)
|
|
|
|
#BuildRequires: perl(CPAN::Meta::Feature)
|
|
|
|
#BuildRequires: perl(CPAN::Meta::Prereqs)
|
|
|
|
#BuildRequires: perl(CPAN::Meta::Validator)
|
|
|
|
#BuildRequires: perl(CPAN::Meta::YAML)
|
|
|
|
#BuildRequires: perl(ExtUtils::CBuilder)
|
|
|
|
#BuildRequires: perl(I::Do::Not::Exist)
|
|
|
|
#BuildRequires: perl(JSON::PP)
|
|
|
|
#BuildRequires: perl(List::Util::PP)
|
|
|
|
#BuildRequires: perl(MakeMaker::Test::NoXS)
|
|
|
|
#BuildRequires: perl(MakeMaker::Test::Setup::BFD)
|
|
|
|
#BuildRequires: perl(MakeMaker::Test::Setup::MPV)
|
|
|
|
#BuildRequires: perl(MakeMaker::Test::Setup::PL_FILES)
|
|
|
|
#BuildRequires: perl(MakeMaker::Test::Setup::Problem)
|
|
|
|
#BuildRequires: perl(MakeMaker::Test::Setup::Recurs)
|
|
|
|
#BuildRequires: perl(MakeMaker::Test::Setup::SAS)
|
|
|
|
#BuildRequires: perl(MakeMaker::Test::Setup::XS)
|
|
|
|
#BuildRequires: perl(MakeMaker::Test::Utils)
|
|
|
|
#BuildRequires: perl(my::bundles)
|
|
|
|
#BuildRequires: perl(Parse::CPAN::Meta)
|
|
|
|
#BuildRequires: perl(Scalar::Util::PP)
|
|
|
|
#BuildRequires: perl(Test::Builder::IO::Scalar)
|
|
|
|
#BuildRequires: perl(TieIn)
|
|
|
|
#BuildRequires: perl(TieOut)
|
|
|
|
#BuildRequires: perl(version)
|
|
|
|
#BuildRequires: perl(Version::Requirements) >= 0.101020
|
|
|
|
#BuildRequires: perl(VMS::Feature)
|
|
|
|
#BuildRequires: perl(Win32API::File)
|
|
|
|
#BuildRequires: perl(YAML)
|
|
|
|
#BuildRequires: perl(YAML::Tiny)
|
|
|
|
%{perl_requires}
|
2008-09-16 17:46:16 +02:00
|
|
|
|
|
|
|
%description
|
2011-12-11 10:13:03 +01:00
|
|
|
This utility is designed to write a Makefile for an extension module from a
|
|
|
|
Makefile.PL. It is based on the Makefile.SH model provided by Andy
|
|
|
|
Dougherty and the perl5-porters.
|
|
|
|
|
|
|
|
It splits the task of generating the Makefile into several subroutines that
|
|
|
|
can be individually overridden. Each subroutine returns the text it wishes
|
|
|
|
to have written to the Makefile.
|
|
|
|
|
|
|
|
MakeMaker is object oriented. Each directory below the current directory
|
|
|
|
that contains a Makefile.PL is treated as a separate object. This makes it
|
|
|
|
possible to write an unlimited number of Makefiles with a single invocation
|
|
|
|
of WriteMakefile().
|
2008-09-16 17:46:16 +02:00
|
|
|
|
|
|
|
%prep
|
2011-12-11 10:13:03 +01:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
find . -type f -print0 | xargs -0 chmod 644
|
2008-09-16 17:46:16 +02:00
|
|
|
|
|
|
|
%build
|
2011-12-11 10:13:03 +01:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
2009-12-20 21:17:36 +01:00
|
|
|
|
|
|
|
%check
|
2011-12-11 10:13:03 +01:00
|
|
|
%{__make} test
|
2008-09-16 17:46:16 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2011-12-11 10:17:55 +01:00
|
|
|
rm $RPM_BUILD_ROOT/usr/bin/instmodsh
|
2008-09-16 17:46:16 +02:00
|
|
|
%perl_process_packlist
|
2011-12-11 10:13:03 +01:00
|
|
|
%perl_gen_filelist
|
2008-09-16 17:46:16 +02:00
|
|
|
|
2011-12-11 10:13:03 +01:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes my NOTES PATCHING README TODO
|
2008-09-16 17:46:16 +02:00
|
|
|
|
2009-09-07 15:12:08 +02:00
|
|
|
%changelog
|