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