Package perl-DBIx-Class: Specfile

#
#   - DBIx::Class -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#

%define module DBIx-Class
%define m_distro DBIx-Class
%define m_name DBIx::Class
%define m_author_id ASH
%def_enable test

Name: perl-DBIx-Class
Version: 0.08010
Release: alt4

Summary: %m_name - Extensible and flexible object <-> relational mapper

License: Artistic
Group: Development/Perl
Url: http://search.cpan.org/dist/DBIx-Class/

Packager: Michael Bochkaryov <misha@altlinux.ru>

BuildArch: noarch
Source: %m_distro-%version.tar.gz
Patch: perl-DBIx-Class-08010-alt-no_warn_bad_perl.patch

# Automatically added by buildreq on Sat Sep 13 2008 (-bi)
BuildRequires: perl-Carp-Clan perl-Class-Accessor-Grouped perl-Class-C3-Componentised perl-Class-C3-XS perl-Class-Trigger perl-DBD-Multi perl-DBD-Pg perl-DBD-SQLite perl-DBIx-ContextualFetch perl-Data-Page perl-DateTime perl-JSON-Any perl-JSON-XS perl-Log-Agent perl-Module-Find perl-Module-Install perl-SQL-Abstract-Limit perl-SQL-Statement perl-SQL-Translator perl-Scope-Guard perl-Test-Exception perl-Test-Pod perl-Test-Pod-Coverage perl-Text-CSV_XS perl-threads

%description
This is an SQL to OO mapper with an object API inspired by
Class::DBI (and a compatibility layer as a springboard for
porting) and a resultset API that allows abstract encapsulation
of database operations. It aims to make representing queries in
your code as perl-ish as possible while still providing access
to as many of the capabilities of the database as possible,
including retrieving related records from multiple tables in a
single query, JOIN, LEFT JOIN, COUNT, DISTINCT, GROUP BY and
HAVING support.

%prep
%setup -q -n DBIx-Class-%version
%patch -p1

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%perl_vendor_privlib/DBIx*
%perl_vendor_privlib/SQL*
%exclude %perl_vendor_man3dir/*
%_bindir/*
%_man1dir/*
%doc Changes README 

%changelog
* Sat Sep 13 2008 Michael Bochkaryov <misha@altlinux.ru> 0.08010-alt4
- add missing SQL::Translator::Producer::DBIx::Class::File

* Mon Sep 08 2008 Michael Bochkaryov <misha@altlinux.ru> 0.08010-alt3
- fix directory ownership violation

* Fri Jun 13 2008 Michael Bochkaryov <misha@altlinux.ru> 0.08010-alt2
- wrong bad perl version warning removed

* Mon May 26 2008 Michael Bochkaryov <misha@altlinux.ru> 0.08010-alt1
- 0.08010 version
- dbicadmin utility added to binary package

* Thu Mar 22 2007 Sir Raorn <raorn@altlinux.ru> 0.07999_02-alt1
- first build for ALT Linux Sisyphus