Init package with version 1.000000
This commit is contained in:
parent
96359a9bdf
commit
7c7d1f27fb
BIN
Config-ZOMG-1.000000.tar.gz
Normal file
BIN
Config-ZOMG-1.000000.tar.gz
Normal file
Binary file not shown.
64
perl-Config-ZOMG.spec
Normal file
64
perl-Config-ZOMG.spec
Normal file
@ -0,0 +1,64 @@
|
||||
Name: perl-Config-ZOMG
|
||||
Version: 1.000000
|
||||
Release: 1
|
||||
Summary: Catalyst::Plugin::ConfigLoader-style layer over Config::Any
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Config-ZOMG
|
||||
Source0: https://cpan.metacpan.org/authors/id/F/FR/FREW/Config-ZOMG-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time:
|
||||
# Clone not used at tests
|
||||
BuildRequires: perl(Config::Any)
|
||||
BuildRequires: perl(Hash::Merge::Simple)
|
||||
BuildRequires: perl(List::Util)
|
||||
BuildRequires: perl(Moo)
|
||||
BuildRequires: perl(Sub::Quote)
|
||||
# Tests:
|
||||
BuildRequires: perl(Test::Deep)
|
||||
BuildRequires: perl(Test::More)
|
||||
# Test::Pod 1.41 not used
|
||||
BuildRequires: perl(Test::Warn)
|
||||
# Optional tests:
|
||||
BuildRequires: perl(Config::General)
|
||||
Requires: perl(Clone)
|
||||
|
||||
%description
|
||||
Config::ZOMG is a fork of Config::JFDI. It removes a couple of unusual
|
||||
features and passes the same tests three times faster than Config::JFDI.
|
||||
|
||||
Config::ZOMG is an implementation of Catalyst::Plugin::ConfigLoader. It will
|
||||
scan a directory for files matching a certain name. If such a file is found
|
||||
which also matches an extension that Config::Any can read, then the
|
||||
configuration from that file will be loaded.
|
||||
|
||||
%prep
|
||||
%setup -q -n Config-ZOMG-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 20 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.000000-1
|
||||
- Initial package
|
||||
Loading…
x
Reference in New Issue
Block a user