Chris Weyl f4a0db3
Name:           perl-CGI-Compile
Chris Weyl f4a0db3
Summary:        Compile .cgi scripts to a code reference like ModPerl::Registry
b90796a
Version:        0.15
d8e1bbd
Release:        4%{?dist}
Chris Weyl f4a0db3
License:        GPL+ or Artistic
Chris Weyl f4a0db3
Group:          Development/Libraries
Chris Weyl f4a0db3
Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/CGI-Compile-%{version}.tar.gz 
Chris Weyl f4a0db3
URL:            http://search.cpan.org/dist/CGI-Compile
Chris Weyl f4a0db3
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Chris Weyl f4a0db3
BuildArch:      noarch
Chris Weyl f4a0db3
eddaacb
BuildRequires:  perl(CGI)
b90796a
BuildRequires:  perl(CGI::Emulate::PSGI)
Chris Weyl f4a0db3
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
Chris Weyl f4a0db3
BuildRequires:  perl(File::pushd)
Chris Weyl f4a0db3
BuildRequires:  perl(Test::More)
b90796a
BuildRequires:  perl(Test::NoWarnings)
Chris Weyl f4a0db3
BuildRequires:  perl(Test::Requires)
Chris Weyl f4a0db3
162015d
# obsolete/provide tests subpackage
162015d
# can be removed during F19 development cycle
162015d
Obsoletes:      %{name}-tests < 0.15-3
162015d
Provides:       %{name}-tests = %{version}-%{release}
162015d
Chris Weyl f4a0db3
%{?perl_default_filter}
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%description
Chris Weyl f4a0db3
CGI::Compile is an utility to compile CGI scripts into a code reference
Chris Weyl f4a0db3
that can run many times on its own namespace, as long as the script is
Chris Weyl f4a0db3
ready to run on a persistent environment.
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%prep
Chris Weyl f4a0db3
%setup -q -n CGI-Compile-%{version}
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%build
Chris Weyl f4a0db3
%{__perl} Makefile.PL INSTALLDIRS=vendor
Chris Weyl f4a0db3
make %{?_smp_mflags}
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%install
Chris Weyl f4a0db3
make pure_install DESTDIR=%{buildroot}
Chris Weyl f4a0db3
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
Chris Weyl f4a0db3
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%{_fixperms} %{buildroot}/*
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%check
Chris Weyl f4a0db3
make test
Chris Weyl f4a0db3
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%files
162015d
%doc Changes README t/
Chris Weyl f4a0db3
%{perl_vendorlib}/*
Chris Weyl f4a0db3
%{_mandir}/man3/*.3*
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%changelog
d8e1bbd
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.15-4
d8e1bbd
- Perl 5.16 rebuild
d8e1bbd
162015d
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 0.15-3
162015d
- drop tests subpackage; move tests to main package documentation
162015d
fc5cf3b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-2
fc5cf3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fc5cf3b
b90796a
* Sun Oct 02 2011 Iain Arnell <iarnell@gmail.com> 0.15-1
b90796a
- update to latest upstream version
b90796a
- clean up spec for modern rpmbuild
b90796a
Marcela Mašláňová 12db9b6
* Fri Jun 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.11-5
Marcela Mašláňová 12db9b6
- Perl mass rebuild
Marcela Mašláňová 12db9b6
3d8e41f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-4
3d8e41f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3d8e41f
eddaacb
* Wed Dec 08 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.11-3
eddaacb
- Add BR: perl(CGI) (Fix FTBFS: BZ 660891).
eddaacb
949a424
* Tue Jun 22 2010 Petr Pisar <ppisar@redhat.com> - 0.11-2
949a424
- Rebuild against perl-5.12
949a424
Chris Weyl f4a0db3
* Sat Mar 20 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.11-1
Chris Weyl f4a0db3
- specfile by Fedora::App::MaintainerTools 0.006
Chris Weyl f4a0db3
Chris Weyl f4a0db3