Пакет perl-CGI-Session-SQLite: Specfile

%define dist CGI-Session-SQLite
Name: perl-CGI-Session-SQLite
Version: 1.0
Release: alt3

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: %name.patch

BuildArch: noarch

# Automatically added by buildreq on Thu Jun 16 2005
BuildRequires: perl-CGI-Session perl-DBD-SQLite perl-DBI perl-devel perl-Module-Build

%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 -p2

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
* Fri Feb 06 2009 Denis Smirnov <mithraen@altlinux.ru> 1.0-alt3
- update for build with new CGI::Session

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

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