Name: perl-AppConfig Version: 1.66 Release: 4%{?dist} Summary: Perl module for reading configuration files Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/AppConfig/ Source0: http://search.cpan.org/CPAN/authors/id/A/AB/ABW/AppConfig-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(File::HomeDir) >= 0.61 BuildRequires: perl(Test::Pod) 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. %prep %setup -q -n AppConfig-%{version} # Provides: exclude perl(AppConfig::State) cat <<__EOF__ > %{name}-perl.prov #!/bin/sh /usr/lib/rpm/perl.prov \$* | grep -v '^perl(AppConfig::State)$' __EOF__ %define __perl_provides %{_builddir}/AppConfig-%{version}/%{name}-perl.prov chmod +x %{__perl_provides} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check AUTOMATED_TESTING=1 make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE README TODO %{perl_vendorlib}/* %{_mandir}/man3/*.3pm* %changelog * Thu Feb 26 2009 Fedora Release Engineering - 1.66-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 27 2008 Tom "spot" Callaway - 1.66-3 - Rebuild for perl 5.10 (again) * Mon Jan 28 2008 Tom "spot" Callaway - 1.66-2 - rebuild for new perl * Wed Nov 28 2007 Tom "spot" Callaway - 1.66-1 - bump to 1.66 * Thu May 31 2007 Jose Pedro Oliveira - 1.65-1 - Update to 1.65. * Thu Jan 4 2007 Jose Pedro Oliveira - 1.64-1 - Update to 1.64. * Sun Oct 8 2006 Jose Pedro Oliveira - 1.63-2 - Excluded the unversioned perl(AppConfig::State) provide. * Thu Aug 3 2006 Jose Pedro Oliveira - 1.63-1 - Update to 1.63. - New upstream maintainer. * Fri Feb 17 2006 Jose Pedro Oliveira - 1.56-4 - Rebuild for FC5 (perl 5.8.8). * Wed Dec 28 2005 Jose Pedro Oliveira - 1.56-3 - Dist tag. * Fri Apr 7 2005 Michael Schwendt - 1.56-2 - rebuilt * Sun May 23 2004 Jose Pedro Oliveira - 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ä - 0:1.55-0.fdr.1 - First build.