diff --git a/.cvsignore b/.cvsignore index e69de29..f362a22 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +CGI-Compile-0.11.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..ceacba4 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-CGI-Compile-0_11-1_fc12:F-13:perl-CGI-Compile-0.11-1.fc12.src.rpm:1273189342 diff --git a/perl-CGI-Compile.spec b/perl-CGI-Compile.spec new file mode 100644 index 0000000..6d81e98 --- /dev/null +++ b/perl-CGI-Compile.spec @@ -0,0 +1,62 @@ +Name: perl-CGI-Compile +Summary: Compile .cgi scripts to a code reference like ModPerl::Registry +Version: 0.11 +Release: 1%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/CGI-Compile-%{version}.tar.gz +URL: http://search.cpan.org/dist/CGI-Compile +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 +BuildRequires: perl(File::pushd) +BuildRequires: perl(Filter::Util::Call) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Requires) + +Requires: perl(File::pushd) + +%{?perl_default_filter} +%{?perl_default_subpackage_tests} + +%description +CGI::Compile is an utility to compile CGI scripts into a code reference +that can run many times on its own namespace, as long as the script is +ready to run on a persistent environment. + +%prep +%setup -q -n CGI-Compile-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install DESTDIR=%{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 +* Sat Mar 20 2010 Chris Weyl 0.11-1 +- specfile by Fedora::App::MaintainerTools 0.006 + + diff --git a/sources b/sources index e69de29..041dba5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ec8bd2e3d8385c939584ad9b5ffeffb7 CGI-Compile-0.11.tar.gz