Init package
This commit is contained in:
parent
3aff30f7d5
commit
375a6ce852
BIN
DynaLoader-Functions-0.003.tar.gz
Normal file
BIN
DynaLoader-Functions-0.003.tar.gz
Normal file
Binary file not shown.
64
perl-DynaLoader-Functions.spec
Normal file
64
perl-DynaLoader-Functions.spec
Normal file
@ -0,0 +1,64 @@
|
||||
%bcond_with perl_DynaLoader_Functions_enables_optional_test
|
||||
|
||||
Name: perl-DynaLoader-Functions
|
||||
Version: 0.003
|
||||
Release: 1
|
||||
Summary: Deconstructed dynamic C library loading
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/DynaLoader-Functions
|
||||
Source0: https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/DynaLoader-Functions-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time:
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(DynaLoader)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(parent)
|
||||
# Tests:
|
||||
BuildRequires: perl(Test::More)
|
||||
%if %{with perl_DynaLoader_Functions_enables_optional_test}
|
||||
# Optional tests:
|
||||
BuildRequires: perl(ExtUtils::CBuilder) >= 0.280209
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(DynaLoader)
|
||||
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(VMS::Filespec\\)
|
||||
|
||||
%description
|
||||
This module provides a function-based interface to dynamic loading as used
|
||||
by Perl. Some details of dynamic loading are very platform-dependent, so
|
||||
correct use of these functions requires the programmer to be mindful of the
|
||||
space of platform variations.
|
||||
|
||||
%prep
|
||||
%setup -q -n DynaLoader-Functions-%{version}
|
||||
|
||||
%build
|
||||
perl Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 30 2022 misaka00251 <misaka00251@misakanet.cn> - 0.003-1
|
||||
- Init package (Thanks to fedora team)
|
||||
Loading…
x
Reference in New Issue
Block a user