Name: perl-Catalyst-Helper-FastCGI-ExternalServer Version: 0.05 Release: 1%{?dist} # lib/Catalyst/Helper/FastCGI/ExternalServer.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: FastCGI daemon start/stop script for using FastCgiExternalServer Source: http://search.cpan.org/CPAN/authors/id/Z/ZI/ZIGOROU/Catalyst-Helper-FastCGI-ExternalServer-%{version}.tar.gz Url: http://search.cpan.org/dist/Catalyst-Helper-FastCGI-ExternalServer BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(Catalyst) BuildRequires: perl(Catalyst::Utils) BuildRequires: perl(Cwd) BuildRequires: perl(DateTime) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(FCGI) BuildRequires: perl(FCGI::ProcManager) BuildRequires: perl(File::Spec) BuildRequires: perl(Getopt::Long) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) # sigh BuildRequires: perl(CPAN) %description This module allows configuration using /etc/sysconfig/myapp. First make a file called /etc/sysconfig/myapp and then write some variables in it. The variables that you add to the file will automatically override the environment variables. %prep %setup -q -n Catalyst-Helper-FastCGI-ExternalServer-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Wed Jun 03 2009 Chris Weyl 0.05-1 - submission * Wed Jun 03 2009 Chris Weyl 0.05-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)