|
|
|
Name: perl-AppConfig
|
|
|
|
Version: 1.71
|
|
|
|
Release: 13%{?dist}
|
|
|
|
Summary: Perl module for reading configuration files
|
|
|
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/AppConfig
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/AppConfig-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
# Build:
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl%{?fedora:-interpreter}
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
# Runtime:
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Getopt::Long) >= 2.17
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Test Suite:
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
# Optional Tests:
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
|
# Dependencies:
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
|
|
|
AppConfig has a powerful but easy to use module for parsing
|
|
|
|
configuration files. It also has a simple and efficient module for
|
|
|
|
parsing command line arguments. For fully-featured command line
|
|
|
|
parsing, a module is provided for interfacing AppConfig to Johan
|
|
|
|
Vromans' extensive Getopt::Long module. Johan will continue to
|
|
|
|
develop the functionality of this package and its features will
|
|
|
|
automatically become available through AppConfig.
|
|
|
|
|
|
|
|
# filter out the unversioned provide AppConfig::State from Getopt.pm:
|
|
|
|
# RPM 4.8 style
|
|
|
|
%{?filter_setup:
|
|
|
|
%filter_from_provides /^perl(AppConfig::State)$/d
|
|
|
|
%?perl_default_filter
|
|
|
|
}
|
|
|
|
# RPM 4.9 style
|
|
|
|
%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(AppConfig::State\\)$
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n AppConfig-%{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
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
AUTOMATED_TESTING=1 make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%if 0%{?_licensedir:1}
|
|
|
|
%license LICENSE
|
|
|
|
%else
|
|
|
|
%doc LICENSE
|
|
|
|
%endif
|
|
|
|
%doc Changes README TODO
|
|
|
|
%{perl_vendorlib}/AppConfig.pm
|
|
|
|
%{perl_vendorlib}/AppConfig/
|
|
|
|
%{_mandir}/man3/AppConfig*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.71-12
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jan 2 2018 Paul Howarth <paul@city-fan.org> - 1.71-10
|
|
|
|
- Drop POD patch, fixed in 1.67
|
|
|
|
- Fix source URL to refer to current upstream maintainer
|
|
|
|
- Escape macro used in changelog (#1527541)
|
|
|
|
- Drop legacy Group: and BuildRoot: tags
|
|
|
|
- Drop %%defattr, redundant since rpm 4.4
|
|
|
|
- Use %%license where possible
|
|
|
|
- Drop redundant buildroot cleaning
|
|
|
|
- Don't need to remove empty directories from the buildroot
|
|
|
|
- Simplify find command using -delete
|
|
|
|
- Specify all build dependencies
|
|
|
|
- Make %%files list more explicit
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.71-8
|
|
|
|
- Rebuild due to bug in RPM (RHBZ #1468476)
|
|
|
|
|
|
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.71-7
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.71-5
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.71-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.71-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
|
|
|
* Mon Mar 30 2015 Tom Callaway <spot@fedoraproject.org> - 1.71-1
|
|
|
|
- update to 1.71
|
|
|
|
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.66-23
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.66-22
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.66-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.66-20
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
- Fix documentation (CPAN RT#84318)
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.66-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Nov 05 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.66-18
|
|
|
|
- Specify all dependencies
|
|
|
|
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.66-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.66-16
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.66-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 22 2011 Petr Pisar <ppisar@redhat.com> - 1.66-14
|
|
|
|
- RPM 4.9 dependency filtering added
|
|
|
|
|
|
|
|
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.66-13
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.66-12
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.66-11
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.66-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.66-9
|
|
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
|
|
|
|
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.66-8
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
|
|
|
* Mon Jan 25 2010 Stepan Kasal <skasal@redhat.com> - 1.66-7
|
|
|
|
- use filtering macros
|
|
|
|
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.66-6
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.66-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.66-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.66-3
|
|
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
|
|
|
|
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.66-2
|
|
|
|
- rebuild for new perl
|
|
|
|
|
|
|
|
* Wed Nov 28 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.66-1
|
|
|
|
- bump to 1.66
|
|
|
|
|
|
|
|
* Thu May 31 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.65-1
|
|
|
|
- Update to 1.65.
|
|
|
|
|
|
|
|
* Thu Jan 4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.64-1
|
|
|
|
- Update to 1.64.
|
|
|
|
|
|
|
|
* Sun Oct 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.63-2
|
|
|
|
- Excluded the unversioned perl(AppConfig::State) provide.
|
|
|
|
|
|
|
|
* Thu Aug 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.63-1
|
|
|
|
- Update to 1.63.
|
|
|
|
- New upstream maintainer.
|
|
|
|
|
|
|
|
* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.56-4
|
|
|
|
- Rebuild for FC5 (perl 5.8.8).
|
|
|
|
|
|
|
|
* Wed Dec 28 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.56-3
|
|
|
|
- Dist tag.
|
|
|
|
|
|
|
|
* Wed Apr 6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.56-2
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Sun May 23 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.56-0.fdr.1
|
|
|
|
- Update to 1.56.
|
|
|
|
- License corrected.
|
|
|
|
- Require perl >= 1:5.6.1 for vendor install dir support.
|
|
|
|
- Moved make test to section %%check.
|
|
|
|
- Use pure_install to avoid perllocal.pod workarounds.
|
|
|
|
|
|
|
|
* Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.55-0.fdr.1
|
|
|
|
- First build.
|