diff --git a/Config-ZOMG-1.000000.tar.gz b/Config-ZOMG-1.000000.tar.gz new file mode 100644 index 0000000..eb75081 Binary files /dev/null and b/Config-ZOMG-1.000000.tar.gz differ diff --git a/perl-Config-ZOMG.spec b/perl-Config-ZOMG.spec new file mode 100644 index 0000000..49cc2b9 --- /dev/null +++ b/perl-Config-ZOMG.spec @@ -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 - 1.000000-1 +- Initial package