]> git.pld-linux.org Git - packages/libdbi-drivers.git/blame - libdbi-drivers.spec
- "PostgreSQL" unification
[packages/libdbi-drivers.git] / libdbi-drivers.spec
CommitLineData
ebda6fef
JB
1#
2# Conditional build:
32505e10 3%bcond_without mysql # don't build MySQL driver
425a5910 4%bcond_without pgsql # don't build PostgreSQL driver
6df27f77 5%bcond_without sqlite # don't build sqlite driver
ebda6fef
JB
6#
7%define dbiver 0.7.2
6df27f77
AF
8Summary: Database Independent Abstraction Layer for C
9Summary(pl): Warstwa DBI dla C
10Name: libdbi-drivers
ebda6fef 11Version: 0.7.1
c6f89c5c 12Release: 2
6df27f77
AF
13License: LGPL
14Group: Libraries
15Source0: http://dl.sourceforge.net/libdbi-drivers/libdbi-drivers-%{version}.tar.gz
ebda6fef 16# Source0-md5: f11020119ceb7a6dee3969cb0589d4bc
bebd2abd 17Patch0: %{name}-opt.patch
6df27f77
AF
18URL: http://libdbi-drivers.sourceforge.net/
19BuildRequires: autoconf
20BuildRequires: automake
21BuildRequires: libtool
22BuildRequires: libdbi-devel >= %{dbiver}
23%{?with_mysql:BuildRequires: mysql-devel}
24%{?with_pgsql:BuildRequires: postgresql-devel}
25%{?with_sqlite:BuildRequires: sqlite-devel}
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29libdbi implements a database-independent abstraction layer in C,
30similar to the DBI/DBD layer in Perl. Writing one generic set of code,
31programmers can leverage the power of multiple databases and multiple
32simultaneous database connections by using this framework.
33
34%description -l pl
35