%define release 3 %define version 3.1 Name: libzdb Version: %{version} Release: %{release}%{?dist} Summary: Small, easy to use Database Connection Pool Library License: GPLv3+ and MIT URL: http://www.tildeslash.com/libzdb/ Source0: http://www.tildeslash.com/%{name}/dist/%{name}-%{version}.tar.gz BuildRequires: flex BuildRequires: mysql-devel BuildRequires: pkgconfig BuildRequires: postgresql-devel >= 8 BuildRequires: sqlite-devel >= 3.6.12 %description The Zild C Database Library implements a small, fast, and easy to use database API with thread-safe connection pooling. The library can connect transparently to multiple database systems, has zero configuration and connections are specified via a standard URL scheme. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains libraries and header files for developing applications that use %{name}. %prep %setup -q # Errant file rm -f doc/api-docs/._* %build %configure --disable-static --enable-protected --with-sqlite --enable-sqliteunlock=no make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS CHANGES COPYING README %{_libdir}/%{name}.so.* %files devel %{_includedir}/zdb/ %{_libdir}/%{name}.so %{_libdir}/pkgconfig/zdb.pc %exclude %{_libdir}/%{name}.la %doc doc/api-docs %changelog * Mon Feb 26 2018 Jean-Philipe Pialasse - 3.1-3.sme - disable unlock notify for sqlite (--enable-sqliteunlock), this is not supported by upstream packaged sqlite, would need the following option at build time : -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 * Mon Feb 19 2018 Jean-Philippe Pialasse - 3.1-2 - first import for SME Server * Sun Oct 23 2016 Julien Enselme - 3.1-1 - Update to 3.1 - Unretire package * Thu Feb 04 2016 Fedora Release Engineering - 3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Mar 20 2014 Christopher Meng - 3.0-2 - Enable SQLite unlock notification API support. * Thu Mar 13 2014 Bernard Johnson - 3.0-1 - v 3.0 (bz #1049219) * Sat Aug 03 2013 Fedora Release Engineering - 2.8.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 2.8.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 2.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 2.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jul 05 2011 Bernard Johnson - 2.8.1-1 - bump to 2.8.1 which fixes a Oracle driver transaction memory leak * Wed Mar 23 2011 Dan HorĂ¡k - 2.8-2 - rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) * Tue Feb 22 2011 Bernard Johnson - 2.8-1 - v 2.8 * Tue Feb 08 2011 Fedora Release Engineering - 2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 08 2010 Bernard Johnson - 2.7-1 - v 2.7 - change BR from flex to flex-static for F15 (bz #660879) * Fri Aug 21 2009 Tomas Mraz - 2.6-3 - rebuilt with new openssl * Thu Jul 30 2009 Jesse Keating - 2.6-2 - Bump for F12 mass rebuild * Sun Jul 05 2009 Bernard Johnson - 2.6-1 - v 2.6 * Thu Jun 04 2009 Bernard Johnson - 2.5-1 - remove EXCEPTIONS notice - v 2.5 * Sat Mar 07 2009 Bernard Johnson - 2.4-3 - fix typo in requires - bz #474044 * Wed Feb 25 2009 Bernard Johnson - 2.4-2 - add a notice to EXCEPTIONS that dual licensing is not available in Fedora * Mon Feb 16 2009 Bernard Johnson - 2.4-1 - v 2.4 - remove patches required for 2.3 - drop EXCEPTIONS as noted in review ticket * Thu Feb 05 2009 Bernard Johnson - 2.3-1 - v 2.3 * Thu Dec 04 2008 Bernard Johnson - 2.2.3-2 - disable static build by default - remove release version from soname - move headers to %%{_includedir}/libzdb/ * Thu Nov 13 2008 Bernard Johnson - 2.2.3-1 - initial build