Package init
This commit is contained in:
commit
c21254d9a8
BIN
Module-Load-Conditional-0.68.tar.gz
Normal file
BIN
Module-Load-Conditional-0.68.tar.gz
Normal file
Binary file not shown.
52
perl-Module-Load-Conditional.spec
Normal file
52
perl-Module-Load-Conditional.spec
Normal file
@ -0,0 +1,52 @@
|
||||
Name: perl-Module-Load-Conditional
|
||||
Version: 0.68
|
||||
Release: 418
|
||||
Summary: Looking up module information / loading at runtime
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Module-Load-Conditional
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-Load-Conditional-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-generators perl coreutils findutils perl-interpreter perl(ExtUtils::MakeMaker) perl(Carp) perl(version)
|
||||
BuildRequires: perl(Config) perl(constant) perl(Exporter) perl(File::Spec) perl(FileHandle) perl(Locale::Maketext::Simple)
|
||||
BuildRequires: perl(Module::CoreList) perl(Module::Load) perl(Module::Metadata) perl(Params::Check) perl(strict) perl(vars)
|
||||
#tests
|
||||
BuildRequires: perl(FindBin) perl(lib) perl(Test::More) perl(warnings)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Config) perl(Module::CoreList) perl(Module::Load) perl(Module::Metadata) perl(version)
|
||||
|
||||
%description
|
||||
Module::Load::Conditional provides simple ways to query and possibly load
|
||||
any of the modules you have installed on your system during runtime. It is
|
||||
able to load multiple modules at once or none at all if one of them was not
|
||||
able to load. It also takes care of any error checking and so forth.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n Module-Load-Conditional-%{version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL NO_PACKLIST=1 INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README CHANGES
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.68-418
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user