Package perl-CGI-Application: Specfile

%define dist CGI-Application
Name: perl-CGI-Application
Version: 4.06
Release: alt2

Summary: Simple Common Gateway Interface class for Perl
License: GPL or Artistic
Group: Development/Perl

#Url: %CPAN %dist
Packager: Denis Smirnov <mithraen@altlinux.ru>

Source: %dist-%version.tar.gz
#Patch: %dist-%version.bugfix.patch.gz

BuildArch: noarch

BuildPreReq: perl-Digest-SHA1
# Automatically added by buildreq on Thu Jun 16 2005
BuildRequires: perl-CGI perl-HTML-Template perl-Module-Build perl-devel perl-libnet

%description
This perl library uses perl5 objects to make it easy to create
Web fill-out forms and parse their contents.  This package
defines CGI objects, entities that contain the values of the
current query string and other state variables.  Using a CGI
object's methods, you can examine keywords and parameters
passed to your script, and create forms whose initial values
are taken from the current query (thereby preserving state
information).

%prep
%setup -q -n %dist-%version
#patch -p1

find -type f -print0 |
    xargs -r0 fgrep -l /usr/local/bin/ |
    xargs -r %__subst 's|/usr/local/bin/|%_bindir/|g'

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc Changes README
%perl_vendor_privlib/CGI*
#%perl_vendor_privlib/auto/CGI*
%perl_vendor_man3dir/CGI*

%changelog
* Mon Dec 01 2008 Denis Smirnov <mithraen@altlinux.ru> 4.06-alt2
- cleanup spec

* Mon Jun 26 2006 Denis Smirnov <mithraen@altlinux.ru> 4.06-alt1
- version update

* Thu Jun 16 2005 Denis Smirnov <mithraen@altlinux.ru> 4.01-alt1
- build