|
|
f12585 |
Name: perl-AppConfig
|
|
|
f12585 |
Version: 1.66
|
|
|
f12585 |
Release: 20%{?dist}
|
|
|
f12585 |
Summary: Perl module for reading configuration files
|
|
|
f12585 |
|
|
|
f12585 |
Group: Development/Libraries
|
|
|
f12585 |
License: GPL+ or Artistic
|
|
|
f12585 |
URL: http://search.cpan.org/dist/AppConfig/
|
|
|
f12585 |
Source0: http://search.cpan.org/CPAN/authors/id/A/AB/ABW/AppConfig-%{version}.tar.gz
|
|
|
f12585 |
# Fix documentation, CPAN RT#84318
|
|
|
f12585 |
Patch0: AppConfig-1.66-Remove-stray-item-from-POD.patch
|
|
|
f12585 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
f12585 |
|
|
|
f12585 |
BuildArch: noarch
|
|
|
f12585 |
BuildRequires: perl(base)
|
|
|
f12585 |
BuildRequires: perl(Exporter)
|
|
|
f12585 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
f12585 |
BuildRequires: perl(Getopt::Long) >= 2.17
|
|
|
f12585 |
BuildRequires: perl(lib)
|
|
|
f12585 |
BuildRequires: perl(Test::More)
|
|
|
f12585 |
BuildRequires: perl(Test::Pod)
|
|
|
f12585 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
f12585 |
|
|
|
f12585 |
%description
|
|
|
f12585 |
AppConfig has a powerful but easy to use module for parsing
|
|
|
f12585 |
configuration files. It also has a simple and efficient module for
|
|
|
f12585 |
parsing command line arguments. For fully-featured command line
|
|
|
f12585 |
parsing, a module is provided for interfacing AppConfig to Johan
|
|
|
f12585 |
Vromans' extensive Getopt::Long module. Johan will continue to
|
|
|
f12585 |
develop the functionality of this package and its features will
|
|
|
f12585 |
automatically become available through AppConfig.
|
|
|
f12585 |
|
|
|
f12585 |
# filter out the unversioned provide AppConfig::State from Getopt.pm:
|
|
|
f12585 |
# RPM 4.8 style
|
|
|
f12585 |
%{?filter_setup:
|
|
|
f12585 |
%filter_from_provides /^perl(AppConfig::State)$/d
|
|
|
f12585 |
%?perl_default_filter
|
|
|
f12585 |
}
|
|
|
f12585 |
# RPM 4.9 style
|
|
|
f12585 |
%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(AppConfig::State\\)$
|
|
|
f12585 |
|
|
|
f12585 |
|
|
|
f12585 |
%prep
|
|
|
f12585 |
%setup -q -n AppConfig-%{version}
|
|
|
f12585 |
%patch0 -p1
|
|
|
f12585 |
|
|
|
f12585 |
|
|
|
f12585 |
%build
|
|
|
f12585 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
f12585 |
make %{?_smp_mflags}
|
|
|
f12585 |
|
|
|
f12585 |
|
|
|
f12585 |
%install
|
|
|
f12585 |
rm -rf $RPM_BUILD_ROOT
|
|
|
f12585 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
f12585 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
f12585 |
find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} ';'
|
|
|
f12585 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
f12585 |
|
|
|
f12585 |
|
|
|
f12585 |
%check
|
|
|
f12585 |
AUTOMATED_TESTING=1 make test
|
|
|
f12585 |
|
|
|
f12585 |
|
|
|
f12585 |
%clean
|
|
|
f12585 |
rm -rf $RPM_BUILD_ROOT
|
|
|
f12585 |
|
|
|
f12585 |
|
|
|
f12585 |
%files
|
|
|
f12585 |
%defattr(-,root,root,-)
|
|
|
f12585 |
%doc Changes LICENSE README TODO
|
|
|
f12585 |
%{perl_vendorlib}/*
|
|
|
f12585 |
%{_mandir}/man3/*.3pm*
|
|
|
f12585 |
|
|
|
f12585 |
|
|
|
f12585 |
%changelog
|
|
|
f12585 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.66-20
|
|
|
f12585 |
- Mass rebuild 2013-12-27
|
|
|
f12585 |
|
|
|
f12585 |
* Mon Sep 9 2013 Petr Pisar <ppisar@redhat.com> - 1.66-19
|
|
|
f12585 |
- Fix documentation (CPAN RT#84318)
|
|
|
f12585 |
|
|
|
f12585 |
* Mon Nov 05 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.66-18
|
|
|
f12585 |
- Specify all dependencies
|
|
|
f12585 |
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
f12585 |
|
|
|
f12585 |
* Mon Aug 20 2012 Daniel Mach <dmach@redhat.com> - 1.66-17.1
|
|
|
f12585 |
- Rebuild for perl 5.16
|
|
|
f12585 |
|
|
|
f12585 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.66-17
|
|
|
f12585 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
f12585 |
|
|
|
f12585 |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.66-16
|
|
|
f12585 |
- Perl 5.16 rebuild
|
|
|
f12585 |
|
|
|
f12585 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.66-15
|
|
|
f12585 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
f12585 |
|
|
|
f12585 |
* Fri Jul 22 2011 Petr Pisar <ppisar@redhat.com> - 1.66-14
|
|
|
f12585 |
- RPM 4.9 dependency filtering added
|
|
|
f12585 |
|
|
|
f12585 |
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.66-13
|
|
|
f12585 |
- Perl mass rebuild
|
|
|
f12585 |
|
|
|
f12585 |
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.66-12
|
|
|
f12585 |
- Perl mass rebuild
|
|
|
f12585 |
|
|
|
f12585 |
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.66-11
|
|
|
f12585 |
- Perl mass rebuild
|
|
|
f12585 |
|
|
|
f12585 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.66-10
|
|
|
f12585 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
f12585 |
|
|
|
f12585 |
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.66-9
|
|
|
f12585 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
f12585 |
|
|
|
f12585 |
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.66-8
|
|
|
f12585 |
- Mass rebuild with perl-5.12.0
|
|
|
f12585 |
|
|
|
f12585 |
* Mon Jan 25 2010 Stepan Kasal <skasal@redhat.com> - 1.66-7
|
|
|
f12585 |
- use filtering macros
|
|
|
f12585 |
|
|
|
f12585 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.66-6
|
|
|
f12585 |
- rebuild against perl 5.10.1
|
|
|
f12585 |
|
|
|
f12585 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.66-5
|
|
|
f12585 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
f12585 |
|
|
|
f12585 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.66-4
|
|
|
f12585 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
f12585 |
|
|
|
f12585 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.66-3
|
|
|
f12585 |
- Rebuild for perl 5.10 (again)
|
|
|
f12585 |
|
|
|
f12585 |
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.66-2
|
|
|
f12585 |
- rebuild for new perl
|
|
|
f12585 |
|
|
|
f12585 |
* Wed Nov 28 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.66-1
|
|
|
f12585 |
- bump to 1.66
|
|
|
f12585 |
|
|
|
f12585 |
* Thu May 31 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.65-1
|
|
|
f12585 |
- Update to 1.65.
|
|
|
f12585 |
|
|
|
f12585 |
* Thu Jan 4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.64-1
|
|
|
f12585 |
- Update to 1.64.
|
|
|
f12585 |
|
|
|
f12585 |
* Sun Oct 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.63-2
|
|
|
f12585 |
- Excluded the unversioned perl(AppConfig::State) provide.
|
|
|
f12585 |
|
|
|
f12585 |
* Thu Aug 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.63-1
|
|
|
f12585 |
- Update to 1.63.
|
|
|
f12585 |
- New upstream maintainer.
|
|
|
f12585 |
|
|
|
f12585 |
* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.56-4
|
|
|
f12585 |
- Rebuild for FC5 (perl 5.8.8).
|
|
|
f12585 |
|
|
|
f12585 |
* Wed Dec 28 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.56-3
|
|
|
f12585 |
- Dist tag.
|
|
|
f12585 |
|
|
|
f12585 |
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.56-2
|
|
|
f12585 |
- rebuilt
|
|
|
f12585 |
|
|
|
f12585 |
* Sun May 23 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.56-0.fdr.1
|
|
|
f12585 |
- Update to 1.56.
|
|
|
f12585 |
- License corrected.
|
|
|
f12585 |
- Require perl >= 1:5.6.1 for vendor install dir support.
|
|
|
f12585 |
- Moved make test to section %check.
|
|
|
f12585 |
- Use pure_install to avoid perllocal.pod workarounds.
|
|
|
f12585 |
|
|
|
f12585 |
* Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.55-0.fdr.1
|
|
|
f12585 |
- First build.
|