Name: perl-CGI-Application-Plugin-Config-Simple Version: 1.01 Release: 1%{?dist} Summary: Add Config::Simple support to CGI::Application License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CGI-Application-Plugin-Config-Simple/ Source0: http://www.cpan.org/authors/id/W/WO/WONKO/CGI-Application-Plugin-Config-Simple-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(CGI::Application) BuildRequires: perl(Config::Simple) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module acts as a plugin for Config::Simple to be easily used inside of a CGI::Application module. It does not provide every method available from Config::Simple but rather easy access to your configuration variables. It does however provide direct access to the underlying Config::General object created if you want to use it's full power. %prep %setup -q -n CGI-Application-Plugin-Config-Simple-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check # t/main.t greps for 'Permission denied.' LANG=C ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Dec 13 2009 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 1.01-1 - Specfile autogenerated by cpanspec 1.78.