Blame SPECS/perl-AppConfig.spec

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