]>
Commit | Line | Data |
---|---|---|
4426d2a4 AM |
1 | # |
2 | %bcond_without perl | |
3 | %bcond_without python # needed by prewikka | |
4 | %bcond_without postgresql # | |
5 | %bcond_without mysql # one from those is needed by prewikka | |
6 | %bcond_without sqlite3 # | |
7 | ||
5211581e AM |
8 | %include /usr/lib/rpm/macros.perl |
9 | Summary: The PreludeDB Library | |
aca5d1e6 | 10 | Summary(pl): Biblioteka PreludeDB |
5211581e | 11 | Name: libpreludedb |
4426d2a4 AM |
12 | Version: 0.9.11 |
13 | Release: 1 | |
5211581e AM |
14 | License: GPL |
15 | Group: Libraries | |
eaa145c6 | 16 | Source0: http://www.prelude-ids.org/download/releases/%{name}-%{version}.tar.gz |
4426d2a4 | 17 | # Source0-md5: f0b2a1229784419be1f9602f3f06d539 |
5211581e | 18 | URL: http://www.prelude-ids.org/ |
aca5d1e6 JB |
19 | BuildRequires: bison |
20 | BuildRequires: flex | |
4426d2a4 AM |
21 | BuildRequires: libprelude-devel >= 0.9.9 |
22 | %{?with_perl:BuildRequires: perl-devel} | |
23 | %{?with_python:BuildRequires: python-devel} | |
24 | %{?with_postgresql:BuildRequires: postgresql-devel} | |
25 | %{?with_mysql:BuildRequires: mysql-devel} | |
26 | %{?with_sqlite3:BuildRequires: sqlite3-devel} | |
27 | BuildRequires: gtk-doc >= 1.0 | |
5211581e | 28 | BuildRequires: pkgconfig |
5211581e | 29 | BuildRequires: rpm-perlprov |
4426d2a4 AM |
30 | Requires: %{name}(DB_driver) = %{version}-%{release} |
31 | Requires: %{name}-libs = %{version}-%{release} | |
5211581e AM |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %description | |
35 | The PreludeDB Library provides an abstraction layer upon the type and | |
36 | the format of the database used to store IDMEF alerts. It allows | |
37 | developers to use the Prelude IDMEF database easily and efficiently | |
38 | without worrying about SQL, and to access the database independently | |
39 | of the type/format of the database. | |
40 | ||
aca5d1e6 JB |
41 | %description -l pl |
42 |