perl-ExtUtils-Depends/perl-ExtUtils-Depends.spec

72 lines
2.1 KiB
RPMSpec
Raw Permalink Normal View History

2020-06-20 08:50:15 +00:00
Name: perl-ExtUtils-Depends
2024-01-26 16:44:20 +08:00
Version: 0.8001
Release: 1
2020-06-20 08:50:15 +00:00
Summary: Easily build XS extensions that depend on XS extensions
2024-01-26 16:44:20 +08:00
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/ExtUtils-Depends
Source0: https://cpan.metacpan.org/modules/by-module/ExtUtils/ExtUtils-Depends-%{version}.tar.gz
2020-06-20 08:50:15 +00:00
BuildArch: noarch
2024-01-26 16:44:20 +08:00
# Module Build
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.44
# Module Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
2020-06-20 08:50:15 +00:00
BuildRequires: perl(Data::Dumper)
2024-01-26 16:44:20 +08:00
BuildRequires: perl(DynaLoader)
BuildRequires: perl(File::Find)
2020-06-20 08:50:15 +00:00
BuildRequires: perl(File::Spec)
2024-01-26 16:44:20 +08:00
BuildRequires: perl(IO::File)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(base)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Temp)
BuildRequires: perl(FindBin)
BuildRequires: perl(lib)
2020-06-20 08:50:15 +00:00
BuildRequires: perl(Test::More)
2024-01-26 16:44:20 +08:00
# Dependencies
Requires: perl(DynaLoader)
2020-06-20 08:50:15 +00:00
%description
This module tries to make it easy to build Perl extensions that use
2024-01-26 16:44:20 +08:00
functions and typemaps provided by other Perl extensions. This means
that a Perl extension is treated like a shared library that provides
also a C and an XS interface besides the Perl one.
2020-06-20 08:50:15 +00:00
%prep
%setup -q -n ExtUtils-Depends-%{version}
2024-01-26 16:44:20 +08:00
2020-06-20 08:50:15 +00:00
%build
2024-01-26 16:44:20 +08:00
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
%{make_build}
2020-06-20 08:50:15 +00:00
%install
2024-01-26 16:44:20 +08:00
%{make_install}
%{_fixperms} -c %{buildroot}
2020-06-20 08:50:15 +00:00
%check
make test
2024-01-26 16:44:20 +08:00
%files
%doc Changes README
%{perl_vendorlib}/ExtUtils/
%{_mandir}/man3/ExtUtils::Depends.3*
2020-06-20 08:50:15 +00:00
%changelog
2024-01-26 16:44:20 +08:00
* Fri Jan 26 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 0.8001-1
- Update package with version 0.8001
* Fri Jun 28 2022 tanyulong <tanyulong@kylinos.cn> 0.8000-2
- Improve the project according to the requirements of compliance improvement
2020-06-20 08:50:15 +00:00
* Wed Jun 10 2020 Perl_Bot <Perl_Bot@openeuler.org> 0.8000-1
- Specfile autogenerated by Perl_Bot