Blob Blame History Raw
Name:           perl-CGI-Compile
Summary:        Compile .cgi scripts to a code reference like ModPerl::Registry
Version:        0.11
Release:        5%{?dist}
License:        GPL+ or Artistic
Group:          Development/Libraries
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:      noarch

BuildRequires:  perl(CGI)
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)


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.

%setup -q -n CGI-Compile-%{version}

%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

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}/*

make test

rm -rf %{buildroot}

%doc Changes README

* Fri Jun 24 2011 Marcela Mašláňová <> - 0.11-5
- Perl mass rebuild

* Tue Feb 08 2011 Fedora Release Engineering <> - 0.11-4
- Rebuilt for

* Wed Dec 08 2010 Ralf Corsépius <> - 0.11-3
- Add BR: perl(CGI) (Fix FTBFS: BZ 660891).

* Tue Jun 22 2010 Petr Pisar <> - 0.11-2
- Rebuild against perl-5.12

* Sat Mar 20 2010 Chris Weyl <> 0.11-1
- specfile by Fedora::App::MaintainerTools 0.006