]> git.pld-linux.org Git - packages/perl-Class-DBI-SQLite.git/blame - perl-Class-DBI-SQLite.spec
- pl, fixed deps
[packages/perl-Class-DBI-SQLite.git] / perl-Class-DBI-SQLite.spec
CommitLineData
48e047f1 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
86b3f3a8 4#
48e047f1 5%include /usr/lib/rpm/macros.perl
6%define pdir Class
7%define pnam DBI-SQLite
8Summary: Extension to Class::DBI for SQLite
86b3f3a8 9Summary(pl): Rozszerzenie Class::DBI dla SQLite
48e047f1 10Name: perl-Class-DBI-SQLite
11Version: 0.03
12Release: 1
13# same as Perl
14License: GPL or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: 9a7d476408ecb7abb3de2c6c89b2593d
18%if %{with tests}
48e047f1 19BuildRequires: perl-Class-DBI >= 0.85
48e047f1 20BuildRequires: perl-DBD-SQLite >= 0.07
86b3f3a8
JB
21BuildRequires: perl-Ima-DBI >= 0.27
22BuildRequires: perl-SQL-Statement >= 1.004
48e047f1 23%endif
86b3f3a8
JB
24BuildRequires: perl-devel >= 1:5.8.0
25BuildRequires: rpm-perlprov >= 4.1-13
48e047f1 26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Class::DBI::SQLite is an extension to Class::DBI for DBD::SQLite,
31which allows you to populate auto incremented row id after insert.
32set_up_table method allows you to automate the setup of columns and
33primary key by using of SQLite PRAGMA statement (with SQL::Statement
86b3f3a8
JB
34module).
35
36%description -l pl
37Class::DBI::SQLite to rozszerzenie Class::DBI dla DBD::SQLite,
38