Name: perl-AppConfig-Std Version: 1.07 Release: 1%{?dist} Summary: Subclass of AppConfig that provides standard options License: CHECK(GPL+ or Artistic) Group: Development/Libraries URL: http://search.cpan.org/dist/AppConfig-Std/ Source0: http://www.cpan.org/modules/by-module/AppConfig/AppConfig-Std-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(AppConfig) >= 1.52 BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description AppConfig::Std is a Perl module that provides a set of standard configuration variables and command-line switches. It is implemented as a subclass of AppConfig; AppConfig provides a general mechanism for handling global configuration variables. %prep %setup -q -n AppConfig-Std-%{version} %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 \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jun 28 2008 Dave Cross 1.07-1 - Specfile autogenerated by cpanspec 1.77.