perl-MooX-ConfigFromFile/perl-MooX-ConfigFromFile.spec

179 lines
6.4 KiB
RPMSpec
Raw Normal View History

2014-08-18 20:36:01 +00:00
Name: perl-MooX-ConfigFromFile
2018-05-04 07:37:27 +00:00
Version: 0.009
Release: 15%{?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
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
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)
%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
BuildRequires: perl(MooX::Cmd::Tester)
2015-07-17 13:47:21 +00:00
BuildRequires: perl(MooX::Options) >= 4.001
%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
make %{?_smp_mflags}
2014-08-18 20:36:01 +00:00
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
2014-08-18 20:36:01 +00:00
%{_fixperms} $RPM_BUILD_ROOT/*
%check
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
%doc Changes README.md
2014-08-18 20:36:01 +00:00
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-15
- Perl 5.34 re-rebuild of bootstrapped packages
2021-05-23 00:53:25 +00:00
* 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
2020-06-23 10:22:10 +00:00
* 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
2019-05-31 14:47:08 +00:00
* 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
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
* 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
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
* 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
2016-05-16 16:35:56 +00:00
* 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
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
* 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
* 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
* 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