perl-ExtUtils-MakeMaker/perl-ExtUtils-MakeMaker.spec

91 lines
3.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-ExtUtils-MakeMaker
#
# Copyright (c) 2023 SUSE LLC
#
# 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.
Accepting request 705641 from home:pmonrealgonzalez:branches:devel:languages:perl - updated to 7.36 see /usr/share/doc/packages/perl-ExtUtils-MakeMaker/Changes 7.36 Sun Apr 28 16:28:20 BST 2019 No changes since v7.35_14 This release was made possible by the kind sponsors of the 2019 Perl Toolchain Summit held in Marlow, UK: Booking.com, cPanel, MaxMind, FastMail, ZipRecruiter, Cogendo, Elastic, OpenCage Data, Bluehost, Perl Services, Zoopla, Archer Education, OpusVL, Oetiker+Partner, YEF 7.35_14 Sun Apr 28 14:12:22 BST 2019 Win32 fixes: - Add ExtUtils::PL2Bat path to pl2bat when PERL_CORE 7.35_13 Sun Apr 28 11:57:57 BST 2019 Bug fixes: - Suppress warnings from EUMM::Locale code page workaround 7.35_12 Sat Apr 27 22:37:26 BST 2019 Enhancements: - add AppVeyor CI configuration see <https://github.com/rivy/CI.AppVeyor.helpers-perl> for more information Bug fixes: - Resolve RTs 127028 && 127316 on Mojave system perl - Honour man page disablement under INSTALL_BASE - fix `dmake` warning by removing dmake-superfluous ".NOTPARALLEL" target - suppress inherited AUTOLOAD warning for 'Win32::ConsoleCP()' - fix perl image (aka, executable) quoting for `dmake` builds - skip broken test for Win32 strawberry perl v5.10 (and some earlier versions) - add workaround to ExtUtils::MakeMaker::Locale for code pages 'cp65000' and 'cp65001' 7.35_11 Thu Apr 25 11:53:59 BST 2019 Bug fixes: OBS-URL: https://build.opensuse.org/request/show/705641 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-MakeMaker?expand=0&rev=48
2019-05-27 13:04:00 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name ExtUtils-MakeMaker
Name: perl-ExtUtils-MakeMaker
Version: 7.70
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Create a module Makefile
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Patch0: Do_not_set_RPATH_by_default.patch
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
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.
As there are various Make programs with incompatible syntax, which use
operating system shells, again with incompatible syntax, it is important
for users of this module to know which flavour of Make a Makefile has been
written for so they'll use the correct one and won't have to face the
possibly bewildering errors resulting from using the wrong one.
On POSIX systems, that program will likely be GNU Make; on Microsoft
Windows, it will be either Microsoft NMake, DMake or GNU Make. See the
section on the L</"MAKE"> parameter for details.
ExtUtils::MakeMaker (EUMM) 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().
All inputs to WriteMakefile are Unicode characters, not just octets. EUMM
seeks to handle all of these correctly. It is currently still not possible
to portably use Unicode characters in module names, because this requires
Perl to handle Unicode filenames, which is not yet the case on Windows.
See L<ExtUtils::MakeMaker::FAQ> for details of the design and usage.
%prep
%autosetup -n %{cpan_name}-%{version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
export BUILDING_AS_PACKAGE=1
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
# MANUAL BEGIN
rm $RPM_BUILD_ROOT/usr/bin/instmodsh
rm $RPM_BUILD_ROOT/usr/share/man/man1/instmodsh.1
# MANUAL END
%perl_gen_filelist
%files -f %{name}.files
%doc Changes CONTRIBUTING README README.packaging
%changelog