]> git.pld-linux.org Git - packages/libzdb.git/blame - libzdb.spec
- release 3 (by relup.sh)
[packages/libzdb.git] / libzdb.spec
CommitLineData
d829f5df
ER
1Summary: Small, easy to use Database Connection Pool Library
2Name: libzdb
3Version: 3.0
c7a36074 4Release: 3
d829f5df
ER
5License: GPL v3+ and MIT
6Group: Libraries
7Source0: http://www.tildeslash.com/libzdb/dist/%{name}-%{version}.tar.gz
8# Source0-md5: 3bb9efff10a1f3ebc5b76c1055c48635
9URL: http://www.tildeslash.com/libzdb/
10BuildRequires: flex
11BuildRequires: mysql-devel
12BuildRequires: pkgconfig
13BuildRequires: postgresql-devel >= 8
14BuildRequires: sqlite3-devel >= 3.6.12
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
da5e86ef
ER
17%undefine __cxx
18
d829f5df
ER
19%description
20The Zild C Database Library implements a small, fast, and easy to use
21database API with thread-safe connection pooling. The library can
22connect transparently to multiple database systems, has zero
23configuration and connections are specified via a standard URL scheme.
24
25%package devel
26Summary: Development files for %{name}
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
29
30%description devel
31This package contains libraries and header files for developing
32applications that use %{name}.
33
34%prep
35%setup -q
36
37%build
38%configure \
39 --enable-protected \
40 --enable-sqliteunlock \
41 --disable-static
42
43%{__make}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50%{__rm} $RPM_BUILD_ROOT%{_libdir}/libzdb.la
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%post -p /sbin/ldconfig
56%postun -p /sbin/ldconfig
57
58%files
59%defattr(644,root,root,755)
60%doc AUTHORS CHANGES COPYING README
61%attr(755,root,root) %{_libdir}/libzdb.so.*.*.*
62%ghost %{_libdir}/libzdb.so.11
63
64%files devel
65%defattr(644,root,root,755)
66%doc doc/api-docs
67%{_includedir}/zdb
68%{_libdir}/libzdb.so
69%{_pkgconfigdir}/zdb.pc
This page took 0.270782 seconds and 4 git commands to generate.