Name: perl-MooX-ConfigFromFile Version: 0.009 Release: 5%{?dist} Summary: Moo eXtension for initializing objects from configuration file License: GPL+ or Artistic URL: https://metacpan.org/release/MooX-ConfigFromFile Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/MooX-ConfigFromFile-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Config::Any) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Find::Rule) >= 0.30 BuildRequires: perl(FindBin) BuildRequires: perl(Hash::Merge) # 1.003 from Moo in META.json which not used BuildRequires: perl(Moo::Role) >= 1.003 BuildRequires: perl(MooX::File::ConfigDir) >= 0.002 # Tests: BuildRequires: perl(Cwd) BuildRequires: perl(File::Spec) BuildRequires: perl(lib) BuildRequires: perl(Moo) >= 1.003 BuildRequires: perl(Role::Tiny) BuildRequires: perl(Test::More) # Optional tests: BuildRequires: perl(Moose) %if !%{defined perl_bootstrap} # Break build-cycle: perl-MooX-Cmd → perl-MooX-Options # → perl-MooX-ConfigFromFile → perl-MooX-Cmd BuildRequires: perl(MooX::Cmd) >= 0.012 BuildRequires: perl(MooX::Cmd::Tester) BuildRequires: perl(MooX::Options) >= 4.001 %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(File::Find::Rule) >= 0.30 Requires: perl(Moo::Role) >= 1.003 Requires: perl(MooX::File::ConfigDir) >= 0.002 %{?perl_default_filter} %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Find::Rule\\)$ %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Moo::Role\\)$ %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(MooX::File::ConfigDir\\)$ %description This module is intended to easy load initialization values for attributes on object construction from an appropriate configuration file. The building is done in MooX::ConfigFromFile::Rule - using MooX::ConfigFromFile ensures the role is applied. %prep %setup -q -n MooX-ConfigFromFile-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license ARTISTIC-1.0 GPL-1 LICENSE %doc Changes README.md %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Feb 01 2019 Fedora Release Engineering - 0.009-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.009-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 0.009-3 - Perl 5.28 re-rebuild of bootstrapped packages * Fri Jun 29 2018 Jitka Plesnikova - 0.009-2 - Perl 5.28 rebuild * Fri May 04 2018 Jitka Plesnikova - 0.009-1 - 0.009 bump * Thu Feb 08 2018 Fedora Release Engineering - 0.008-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.008-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jun 07 2017 Jitka Plesnikova - 0.008-3 - Perl 5.26 re-rebuild of bootstrapped packages * Tue Jun 06 2017 Jitka Plesnikova - 0.008-2 - Perl 5.26 rebuild * Wed May 24 2017 Jitka Plesnikova - 0.008-1 - 0.008 bump * Sat Feb 11 2017 Fedora Release Engineering - 0.007-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed May 18 2016 Jitka Plesnikova - 0.007-5 - Perl 5.24 re-rebuild of bootstrapped packages * Mon May 16 2016 Jitka Plesnikova - 0.007-4 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.007-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jul 22 2015 Petr Pisar - 0.007-2 - Break build-cycle: perl-MooX-Cmd → perl-MooX-Options → perl-MooX-ConfigFromFile → perl-MooX-Cmd * Fri Jul 17 2015 Petr Pisar - 0.007-1 - Update to 0.007 (thanks to Emmanuel Seyman) - Clean up spec file * Thu Jun 18 2015 Fedora Release Engineering - 0.005-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 08 2015 Jitka Plesnikova - 0.005-2 - Perl 5.22 rebuild * Sun Nov 02 2014 David Dick - 0.005-1 - consolidate Synopsis in main pod - move from README to README.md * Mon Sep 01 2014 Jitka Plesnikova - 0.003-2 * Sun Nov 02 2014 David Dick - 0.004-1 - Update to 0.04 * Mon Sep 01 2014 Jitka Plesnikova - 0.003-2 - Perl 5.20 rebuild * Sat Aug 30 2014 David Dick - 0.003-1 - Change build system to ExtUtils::MakeMaker, documentation fixes * Tue Jul 22 2014 David Dick - 0.002-1 - Initial release