191 lines
6.9 KiB
RPMSpec
191 lines
6.9 KiB
RPMSpec
Name: perl-MooX-ConfigFromFile
|
|
Version: 0.009
|
|
Release: 19%{?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 Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-19
|
|
- Perl 5.36 re-rebuild of bootstrapped packages
|
|
|
|
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-18
|
|
- Perl 5.36 rebuild
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.009-17
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.009-16
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-15
|
|
- Perl 5.34 re-rebuild of bootstrapped packages
|
|
|
|
* Sun May 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-14
|
|
- Perl 5.34 rebuild
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.009-13
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.009-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-11
|
|
- Perl 5.32 re-rebuild of bootstrapped packages
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-10
|
|
- Perl 5.32 rebuild
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.009-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.009-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-7
|
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-6
|
|
- Perl 5.30 rebuild
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.009-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.009-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-3
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-2
|
|
- Perl 5.28 rebuild
|
|
|
|
* Fri May 04 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-1
|
|
- 0.009 bump
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.008-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.008-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.008-3
|
|
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
|
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.008-2
|
|
- Perl 5.26 rebuild
|
|
|
|
* Wed May 24 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.008-1
|
|
- 0.008 bump
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.007-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.007-5
|
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
|
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.007-4
|
|
- Perl 5.24 rebuild
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.007-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* 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
|
|
|
|
* Fri Jul 17 2015 Petr Pisar <ppisar@redhat.com> - 0.007-1
|
|
- Update to 0.007 (thanks to Emmanuel Seyman)
|
|
- Clean up spec file
|
|
|
|
* 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
|
|
|
|
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.005-2
|
|
- Perl 5.22 rebuild
|
|
|
|
* 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
|
|
* Sun Nov 02 2014 David Dick <ddick@cpan.org> - 0.004-1
|
|
- Update to 0.04
|
|
|
|
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.003-2
|
|
- Perl 5.20 rebuild
|
|
|
|
* Sat Aug 30 2014 David Dick <ddick@cpan.org> - 0.003-1
|
|
- Change build system to ExtUtils::MakeMaker, documentation fixes
|
|
|
|
* Tue Jul 22 2014 David Dick <ddick@cpan.org> - 0.002-1
|
|
- Initial release
|