Name: perl-Config-General Version: 2.50 Release: 1%{?dist} Summary: Generic Config Module License: CHECK(GPL+ or Artistic) Group: Development/Libraries URL: http://search.cpan.org/dist/Config-General/ Source0: http://www.cpan.org/authors/id/T/TL/TLINDEN/Config-General-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module opens a config file and parses its contents for you. The new method requires one parameter which needs to be a filename. The method getall returns a hash which contains all options and its associated values of your config file. %prep %setup -q -n Config-General-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" 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 -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changelog README TODO %{perl_vendorarch}/auto/* %{perl_vendorarch}/Config* %{_mandir}/man3/* %changelog * Sun Jun 26 2011 Dave Cross 2.50-1 - Specfile autogenerated by cpanspec 1.77.