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

152 lines
5.9 KiB
RPMSpec
Raw Permalink Normal View History

2020-02-28 10:49:29 +08:00
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)\s*$
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(DynaLoader|ExtUtils::MakeMaker::_version\\)
2019-09-30 11:12:16 -04:00
Name: perl-ExtUtils-MakeMaker
Epoch: 1
2024-01-04 17:30:19 +08:00
Version: 7.70
2025-01-14 14:01:21 +08:00
Release: 3
2019-09-30 11:12:16 -04:00
Summary: Create Makefile
2025-01-14 14:01:21 +08:00
License: GPL-1.0-or-later OR Artistic-1.0-Perl
2019-09-30 11:12:16 -04:00
URL: https://metacpan.org/release/ExtUtils-MakeMaker
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-%{version}.tar.gz
2020-01-07 12:08:13 +08:00
Patch0: disable-rpath-by-default.patch
Patch1: ExtUtils-MakeMaker-7.30-Link-to-libperl-explicitly-on-Linux.patch
Provides:perl-ExtUtils-MM-Utils = %{version}-%{release}
Obsoletes:perl-ExtUtils-MM-Utils < %{version}-%{release}
2019-09-30 11:12:16 -04:00
BuildArch: noarch
BuildRequires: coreutils, make, sed, perl-generators, perl-interpreter, perl(Carp), perl(Config), perl(Cwd), perl(Encode), perl(Exporter),
2019-09-30 11:12:16 -04:00
BuildRequires: perl(File::Basename), perl(File::Copy), perl(File::Path), perl(File::Spec) >= 0.8 perl(lib), perl(strict), perl(vars), perl(version), perl(warnings)
BuildRequires: perl-ExtUtils-ParseXS, perl(base), perl(AutoSplit), perl(CPAN::Meta) >= 2.143240
BuildRequires: perl(Data::Dumper), perl(DynaLoader), perl(File::Find), perl(Parse::CPAN::Meta) >= 1.4414
BuildRequires: perl(ExtUtils::Install) >= 1.52, perl(ExtUtils::Manifest) >= 1.70, perl(File::Temp) >= 0.22
BuildRequires: perl(File::Find), perl(Getopt::Long), perl(less), perl(POSIX), perl(subs), perl(overload) perl(Pod::Man)
2024-02-22 10:50:57 +08:00
BuildRequires: perl(B), perl(ExtUtils::CBuilder), perl(PerlIO), perl(utf8), perl(Test::More), perl(Test::Harness)
2025-01-14 14:01:21 +08:00
Requires: perl(Data::Dumper), perl(DynaLoader), perl(B)
2019-09-30 11:12:16 -04:00
Requires: perl(Encode), perl(ExtUtils::Command) >= 1.19, perl(ExtUtils::Install) >= 1.54, perl-ExtUtils-ParseXS
Requires: perl(ExtUtils::Manifest) >= 1.70 perl(File::Find), perl(File::Spec) >= 0.8, perl(Getopt::Long), perl(Pod::Man), perl(POSIX), perl(Test::Harness)
2024-02-22 10:50:57 +08:00
Recommends: perl(Time::HiRes), perl(Encode::Locale), perl(CPAN::Meta::Requirements) >= 2.130, perl(CPAN::Meta) >= 2.143240
2019-09-30 11:12:16 -04:00
Suggests: perl(JSON::PP), perl(CPAN::Meta::Converter) >= 2.141170
%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 "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.
%package -n perl-ExtUtils-Command
Summary: Utilities to replace common UNIX commands in Makefiles
2025-01-14 14:01:21 +08:00
Requires: perl(File::Path), perl(File::Find), perl(File::Copy), perl(Carp)
2019-09-30 11:12:16 -04:00
BuildArch: noarch
%description -n perl-ExtUtils-Command
The module is used to replace common UNIX commands. In all cases the functions work from @ARGV rather than taking arguments.
This makes them easier to deal with in Makefiles.
%package_help
%prep
%autosetup -n ExtUtils-MakeMaker-%{version} -p1
2019-09-30 11:12:16 -04:00
%build
export BUILDING_AS_PACKAGE=1
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc CONTRIBUTING README
%{perl_vendorlib}/*
%{_bindir}/*
%exclude %{perl_vendorlib}/ExtUtils/Command.pm
%files -n perl-ExtUtils-Command
%dir %{perl_vendorlib}/ExtUtils
%{perl_vendorlib}/ExtUtils/Command.pm
%files help
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
2025-01-14 14:01:21 +08:00
* Tue Jan 14 2025 hugel <gengqihu2@h-partners.com> - 1:7.70-3
- cleanup spec
2024-02-22 10:50:57 +08:00
* Thu Feb 22 2024 huyubiao <huyubiao@huawei.com> - 1:7.70-2
- delete perl-devel dependence
2024-01-04 17:30:19 +08:00
* Thu Jan 18 2024 huyubiao <huyubiao@huawei.com> - 1:7.70-1
- update perl-ExtUtils-MakeMaker to 7.70
2022-06-22 01:55:19 +00:00
* Wed Jun 22 2022 Chenyx <chenyixiong3@huawei.com> - 7.62-2
- License compliance rectification
2021-12-25 14:49:23 +08:00
* Sat Dec 25 2021 tianwei <tianwei12@huawei.com> - 7.62-1
- Upgrade to 7.62
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 7.60-2
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
2021-03-29 16:18:48 +08:00
* Mon Mar 29 2021 wangjie<wangjie294@huawei.com> - 1:7.60-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 7.60
2022-06-15 17:17:49 +08:00
* Thu Jul 23 2020 xinghe <xinghe1@huawei.com> - 1:7.46-1
2020-07-23 20:24:58 +08:00
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 7.46
2022-06-15 17:17:49 +08:00
* Tue Jan 28 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:7.42-2
2020-02-28 10:49:29 +08:00
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:delete unneeded provides and requires
2020-01-07 12:08:13 +08:00
* Thu Jan 2 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:7.42-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update to 7.42
2019-09-30 11:12:16 -04:00
* Sun Sep 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.7.34-421
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: revise changelog
* Thu Sep 26 2019 wubo<wubo40@huawei.com> - 1.7.34-420
- Type:enhancemnet
- ID:NA
- SUG:restart
- DESC: openEuler Debranding
* Tue Sep 17 2019 wubo<wubo40@huawei.com> - 1.7.34-419
- Package init