perl-CGI-Out/perl-CGI-Out.spec

Name: perl-CGI-Out
Summary: Buffer output when building CGI programs
Version: 2006.0215
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/CGI-Out/
Description: This is a helper routine for building CGI programs. It buffers stdout until you're completed building your output. If you should get an error before you are finished, then it will display a nice error message (in HTML), log the error, and send email about the problem.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: David Muir Sharnoff <muir$idiom,com>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name CGI-Out

Summary: Buffer output when building CGI programs
Name: perl-CGI-Out
Version: 2006.0215
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/CGI-Out/

Source: http://www.cpan.org/modules/by-module/CGI/CGI-Out-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
This is a helper routine for building CGI programs.  It buffers
stdout until you're completed building your output.  If you should
get an error before you are finished, then it will display a nice
error message (in HTML), log the error, and send email about the
problem.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc CHANGELOG MANIFEST README
#doc %{_mandir}/man3/CGI::BigDeath.3pm*
%doc %{_mandir}/man3/CGI::Out.3pm*
%doc %{_mandir}/man3/CGI::Wrap.3pm*
%dir %{perl_vendorlib}/CGI/
#%{perl_vendorlib}/CGI/Out/
%{perl_vendorlib}/CGI/BigDeath.pm
%{perl_vendorlib}/CGI/Out.pm
%{perl_vendorlib}/CGI/Wrap.pm

%changelog
* Sat Aug 22 2009 Christoph Maser <cmr@financial.com> - 2006.0215-1
- Updated to version 2006.0215.

* Sat Apr  9 2005 Dries Verachtert <dries@ulyssis.org> - 101.121401-1
- Initial package.