1 |
%define release 4 |
2 |
%define version 3.1 |
3 |
Name: libzdb |
4 |
Version: %{version} |
5 |
Release: %{release}%{?dist} |
6 |
Summary: Small, easy to use Database Connection Pool Library |
7 |
License: GPLv3+ and MIT |
8 |
URL: http://www.tildeslash.com/libzdb/ |
9 |
Source0: http://www.tildeslash.com/%{name}/dist/%{name}-%{version}.tar.gz |
10 |
BuildRequires: flex |
11 |
BuildRequires: mysql-devel |
12 |
BuildRequires: pkgconfig |
13 |
BuildRequires: postgresql-devel >= 8 |
14 |
BuildRequires: sqlite-devel >= 3.7.17 |
15 |
|
16 |
%description |
17 |
The Zild C Database Library implements a small, fast, and easy to use database |
18 |
API with thread-safe connection pooling. The library can connect transparently |
19 |
to multiple database systems, has zero configuration and connections are |
20 |
specified via a standard URL scheme. |
21 |
|
22 |
%package devel |
23 |
Summary: Development files for %{name} |
24 |
Requires: %{name}%{?_isa} = %{version}-%{release} |
25 |
|
26 |
%description devel |
27 |
This package contains libraries and header files for |
28 |
developing applications that use %{name}. |
29 |
|
30 |
%prep |
31 |
%setup -q |
32 |
|
33 |
# Errant file |
34 |
rm -f doc/api-docs/._* |
35 |
|
36 |
%build |
37 |
%configure --disable-static --enable-protected --with-sqlite --enable-sqliteunlock |
38 |
|
39 |
make %{?_smp_mflags} |
40 |
|
41 |
%install |
42 |
make install DESTDIR=%{buildroot} |
43 |
|
44 |
%post -p /sbin/ldconfig |
45 |
|
46 |
%postun -p /sbin/ldconfig |
47 |
|
48 |
%files |
49 |
%doc AUTHORS CHANGES COPYING README |
50 |
%{_libdir}/%{name}.so.* |
51 |
|
52 |
%files devel |
53 |
%{_includedir}/zdb/ |
54 |
%{_libdir}/%{name}.so |
55 |
%{_libdir}/pkgconfig/zdb.pc |
56 |
%exclude %{_libdir}/%{name}.la |
57 |
%doc doc/api-docs |
58 |
|
59 |
%changelog |
60 |
* Tue Feb 27 2018 Jean-Philipe Pialasse <tests@pialasse.com> 3.1-4.sme |
61 |
- enable sqliteunlock [SME: 10527] |
62 |
- require sqlite >=3.7.17 |
63 |
|
64 |
* Mon Feb 26 2018 Jean-Philipe Pialasse <tests@pialasse.com> - 3.1-3.sme |
65 |
- disable unlock notify for sqlite (--enable-sqliteunlock), this is not supported by upstream packaged sqlite, |
66 |
would need the following option at build time : -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 |
67 |
|
68 |
* Mon Feb 19 2018 Jean-Philippe Pialasse <tests@pialasse.com> - 3.1-2 |
69 |
- first import for SME Server |
70 |
|
71 |
* Sun Oct 23 2016 Julien Enselme <jujens@jujens.eu> - 3.1-1 |
72 |
- Update to 3.1 |
73 |
- Unretire package |
74 |
|
75 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-5 |
76 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
77 |
|
78 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-4 |
79 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
80 |
|
81 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-3 |
82 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
83 |
|
84 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-2 |
85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
86 |
|
87 |
* Thu Mar 20 2014 Christopher Meng <rpm@cicku.me> - 3.0-2 |
88 |
- Enable SQLite unlock notification API support. |
89 |
|
90 |
* Thu Mar 13 2014 Bernard Johnson <bjohnson@symetrix.com> - 3.0-1 |
91 |
- v 3.0 (bz #1049219) |
92 |
|
93 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-5 |
94 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
95 |
|
96 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-4 |
97 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
98 |
|
99 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-3 |
100 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
101 |
|
102 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-2 |
103 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
104 |
|
105 |
* Tue Jul 05 2011 Bernard Johnson <bjohnson@symetrix.com> - 2.8.1-1 |
106 |
- bump to 2.8.1 which fixes a Oracle driver transaction memory leak |
107 |
|
108 |
* Wed Mar 23 2011 Dan Horรกk <dan@danny.cz> - 2.8-2 |
109 |
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) |
110 |
|
111 |
* Tue Feb 22 2011 Bernard Johnson <bjohnson@symetrix.com> - 2.8-1 |
112 |
- v 2.8 |
113 |
|
114 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2 |
115 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
116 |
|
117 |
* Wed Dec 08 2010 Bernard Johnson <bjohnson@symetrix.com> - 2.7-1 |
118 |
- v 2.7 |
119 |
- change BR from flex to flex-static for F15 (bz #660879) |
120 |
|
121 |
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.6-3 |
122 |
- rebuilt with new openssl |
123 |
|
124 |
* Thu Jul 30 2009 Jesse Keating <jkeating@redhat.com> - 2.6-2 |
125 |
- Bump for F12 mass rebuild |
126 |
|
127 |
* Sun Jul 05 2009 Bernard Johnson <bjohnson@symetrix.com> - 2.6-1 |
128 |
- v 2.6 |
129 |
|
130 |
* Thu Jun 04 2009 Bernard Johnson <bjohnson@symetrix.com> - 2.5-1 |
131 |
- remove EXCEPTIONS notice |
132 |
- v 2.5 |
133 |
|
134 |
* Sat Mar 07 2009 Bernard Johnson <bjohnson@symetrix.com> - 2.4-3 |
135 |
- fix typo in requires |
136 |
- bz #474044 |
137 |
|
138 |
* Wed Feb 25 2009 Bernard Johnson <bjohnson@symetrix.com> - 2.4-2 |
139 |
- add a notice to EXCEPTIONS that dual licensing is not available in Fedora |
140 |
|
141 |
* Mon Feb 16 2009 Bernard Johnson <bjohnson@symetrix.com> - 2.4-1 |
142 |
- v 2.4 |
143 |
- remove patches required for 2.3 |
144 |
- drop EXCEPTIONS as noted in review ticket |
145 |
|
146 |
* Thu Feb 05 2009 Bernard Johnson <bjohnson@symetrix.com> - 2.3-1 |
147 |
- v 2.3 |
148 |
|
149 |
* Thu Dec 04 2008 Bernard Johnson <bjohnson@symetrix.com> - 2.2.3-2 |
150 |
- disable static build by default |
151 |
- remove release version from soname |
152 |
- move headers to %%{_includedir}/libzdb/ |
153 |
|
154 |
* Thu Nov 13 2008 Bernard Johnson <bjohnson@symetrix.com> - 2.2.3-1 |
155 |
- initial build |