109 lines
3.6 KiB
RPMSpec
109 lines
3.6 KiB
RPMSpec
Name: perl-Module-Build
|
|
%if %{rhel} == 8
|
|
Epoch: 2
|
|
%endif
|
|
Version: 0.4234
|
|
Release: 3%{?dist}
|
|
Summary: Build and install Perl modules
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Module-Build/
|
|
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
BuildRequires: perl >= 0:5.006001
|
|
BuildRequires: perl(ExtUtils::Manifest)
|
|
BuildRequires: perl(inc::latest)
|
|
BuildRequires: perl(inc::Module::Install)
|
|
BuildRequires: perl(CPAN::Meta) >= 2.142060
|
|
BuildRequires: perl(CPAN::Meta::YAML) >= 0.003
|
|
BuildRequires: perl(Cwd)
|
|
BuildRequires: perl(Data::Dumper)
|
|
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
|
|
BuildRequires: perl(ExtUtils::Install) >= 0.3
|
|
BuildRequires: perl(ExtUtils::Manifest) >= 1.54
|
|
BuildRequires: perl(ExtUtils::Mkbootstrap)
|
|
BuildRequires: perl(ExtUtils::ParseXS) >= 2.21
|
|
BuildRequires: perl(File::Basename)
|
|
BuildRequires: perl(File::Compare)
|
|
BuildRequires: perl(File::Copy)
|
|
BuildRequires: perl(File::Find)
|
|
BuildRequires: perl(File::Path)
|
|
BuildRequires: perl(File::Spec) >= 0.82
|
|
BuildRequires: perl(File::Temp) >= 0.15
|
|
BuildRequires: perl(Getopt::Long)
|
|
BuildRequires: perl(Module::Build)
|
|
BuildRequires: perl(Module::Metadata) >= 1.000002
|
|
BuildRequires: perl(Parse::CPAN::Meta) >= 1.4401
|
|
BuildRequires: perl(Perl::OSType) >= 1
|
|
BuildRequires: perl(TAP::Harness) >= 3.29
|
|
BuildRequires: perl(Test::More) >= 0.49
|
|
BuildRequires: perl(Text::Abbrev)
|
|
BuildRequires: perl(Text::ParseWords)
|
|
BuildRequires: perl(version) >= 0.87
|
|
Requires: perl(CPAN::Meta) >= 2.142060
|
|
Requires: perl(Cwd)
|
|
Requires: perl(Data::Dumper)
|
|
Requires: perl(ExtUtils::CBuilder) >= 0.27
|
|
Requires: perl(ExtUtils::Install) >= 0.3
|
|
Requires: perl(ExtUtils::Manifest) >= 1.54
|
|
Requires: perl(ExtUtils::Mkbootstrap)
|
|
Requires: perl(ExtUtils::ParseXS) >= 2.21
|
|
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(Getopt::Long)
|
|
Requires: perl(Module::Metadata) >= 1.000002
|
|
Requires: perl(Perl::OSType) >= 1
|
|
Requires: perl(TAP::Harness) >= 3.29
|
|
Requires: perl(Text::Abbrev)
|
|
Requires: perl(Text::ParseWords)
|
|
Requires: perl(version) >= 0.87
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
Module::Build is a system for building, testing, and installing Perl
|
|
modules. It is meant to be an alternative to ExtUtils::MakeMaker.
|
|
Developers may alter the behavior of the module through subclassing. It
|
|
also does not require a make on your system - most of the Module::Build
|
|
code is pure-perl and written in a very cross-platform way.
|
|
|
|
%prep
|
|
%setup -q -n Module-Build-%{version}
|
|
|
|
%build
|
|
%{__perl} Build.PL --installdirs=vendor
|
|
./Build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes contrib LICENSE META.json README
|
|
%{_bindir}/*
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man1/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Mon Jan 27 2025 Jean-Philippe Pialasse <jpp@koozali.org> 0.4234-3.sme
|
|
- add epoch 2 for el8
|
|
|
|
* Tue Jan 21 2025 Koozali 0.4234-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|