]>
Commit | Line | Data |
---|---|---|
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 |
8 | Summary: Database Independent Abstraction Layer for C |
9 | Summary(pl): Warstwa DBI dla C | |
10 | Name: libdbi-drivers | |
ebda6fef | 11 | Version: 0.7.1 |
c6f89c5c | 12 | Release: 2 |
6df27f77 AF |
13 | License: LGPL |
14 | Group: Libraries | |
15 | Source0: http://dl.sourceforge.net/libdbi-drivers/libdbi-drivers-%{version}.tar.gz | |
ebda6fef | 16 | # Source0-md5: f11020119ceb7a6dee3969cb0589d4bc |
bebd2abd | 17 | Patch0: %{name}-opt.patch |
6df27f77 AF |
18 | URL: http://libdbi-drivers.sourceforge.net/ |
19 | BuildRequires: autoconf | |
20 | BuildRequires: automake | |
21 | BuildRequires: libtool | |
22 | BuildRequires: libdbi-devel >= %{dbiver} | |
23 | %{?with_mysql:BuildRequires: mysql-devel} | |
24 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
25 | %{?with_sqlite:BuildRequires: sqlite-devel} | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | libdbi implements a database-independent abstraction layer in C, | |
30 | similar to the DBI/DBD layer in Perl. Writing one generic set of code, | |
31 | programmers can leverage the power of multiple databases and multiple | |
32 | simultaneous database connections by using this framework. | |
33 | ||
34 | %description -l pl | |
35 |