1 |
jpp |
1.2 |
%define release 3 |
2 |
|
|
%define version 3.1 |
3 |
jpp |
1.1 |
Name: libzdb |
4 |
jpp |
1.2 |
Version: %{version} |
5 |
|
|
Release: %{release}%{?dist} |
6 |
jpp |
1.1 |
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.6.12 |
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 |
jpp |
1.2 |
%configure --disable-static --enable-protected --with-sqlite --enable-sqliteunlock=no |
38 |
|
|
|
39 |
jpp |
1.1 |
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 |
jpp |
1.2 |
* Mon Feb 26 2018 Jean-Philipe Pialasse <tests@pialasse.com> - 3.1-3.sme |
61 |
|
|
- disable unlock notify for sqlite (--enable-sqliteunlock), this is not supported by upstream packaged sqlite, |
62 |
|
|
would need the following option at build time : -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 |
63 |
|
|
|
64 |
jpp |
1.1 |
* Mon Feb 19 2018 Jean-Philippe Pialasse <tests@pialasse.com> - 3.1-2 |
65 |
|
|
- first import for SME Server |
66 |
|
|
|
67 |
|
|
* Sun Oct 23 2016 Julien Enselme <jujens@jujens.eu> - 3.1-1 |
68 |
|
|
- Update to 3.1 |
69 |
|
|
- Unretire package |
70 |
|
|
|
71 |
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-5 |
72 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
73 |
|
|
|
74 |
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-4 |
75 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
76 |
|
|
|
77 |
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-3 |
78 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
79 |
|
|
|
80 |
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-2 |
81 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
82 |
|
|
|
83 |
|
|
* Thu Mar 20 2014 Christopher Meng <rpm@cicku.me> - 3.0-2 |
84 |
|
|
- Enable SQLite unlock notification API support. |
85 |
|
|
|
86 |
|
|
* Thu Mar 13 2014 Bernard Johnson <bjohnson@symetrix.com> - 3.0-1 |
87 |
|
|
- v 3.0 (bz #1049219) |
88 |
|
|
|
89 |
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-5 |
90 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
91 |
|
|
|
92 |
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-4 |
93 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
94 |
|
|
|
95 |
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-3 |
96 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
97 |
|
|
|
98 |
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-2 |
99 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
100 |
|
|
|
101 |
|
|
* Tue Jul 05 2011 Bernard Johnson <bjohnson@symetrix.com> - 2.8.1-1 |
102 |
|
|
- bump to 2.8.1 which fixes a Oracle driver transaction memory leak |
103 |
|
|
|
104 |
|
|
* Wed Mar 23 2011 Dan Horรกk <dan@danny.cz> - 2.8-2 |
105 |
|
|
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) |
106 |
|
|
|
107 |
|
|
* Tue Feb 22 2011 Bernard Johnson <bjohnson@symetrix.com> - 2.8-1 |
108 |
|
|
- v 2.8 |
109 |
|
|
|
110 |
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2 |
111 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
112 |
|
|
|
113 |
|
|
* Wed Dec 08 2010 Bernard Johnson <bjohnson@symetrix.com> - 2.7-1 |
114 |
|
|
- v 2.7 |
115 |
|
|
- change BR from flex to flex-static for F15 (bz #660879) |
116 |
|
|
|
117 |
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.6-3 |
118 |
|
|
- rebuilt with new openssl |
119 |
|
|
|
120 |
|
|
* Thu Jul 30 2009 Jesse Keating <jkeating@redhat.com> - 2.6-2 |
121 |
|
|
- Bump for F12 mass rebuild |
122 |
|
|
|
123 |
|
|
* Sun Jul 05 2009 Bernard Johnson <bjohnson@symetrix.com> - 2.6-1 |
124 |
|
|
- v 2.6 |
125 |
|
|
|
126 |
|
|
* Thu Jun 04 2009 Bernard Johnson <bjohnson@symetrix.com> - 2.5-1 |
127 |
|
|
- remove EXCEPTIONS notice |
128 |
|
|
- v 2.5 |
129 |
|
|
|
130 |
|
|
* Sat Mar 07 2009 Bernard Johnson <bjohnson@symetrix.com> - 2.4-3 |
131 |
|
|
- fix typo in requires |
132 |
|
|
- bz #474044 |
133 |
|
|
|
134 |
|
|
* Wed Feb 25 2009 Bernard Johnson <bjohnson@symetrix.com> - 2.4-2 |
135 |
|
|
- add a notice to EXCEPTIONS that dual licensing is not available in Fedora |
136 |
|
|
|
137 |
|
|
* Mon Feb 16 2009 Bernard Johnson <bjohnson@symetrix.com> - 2.4-1 |
138 |
|
|
- v 2.4 |
139 |
|
|
- remove patches required for 2.3 |
140 |
|
|
- drop EXCEPTIONS as noted in review ticket |
141 |
|
|
|
142 |
|
|
* Thu Feb 05 2009 Bernard Johnson <bjohnson@symetrix.com> - 2.3-1 |
143 |
|
|
- v 2.3 |
144 |
|
|
|
145 |
|
|
* Thu Dec 04 2008 Bernard Johnson <bjohnson@symetrix.com> - 2.2.3-2 |
146 |
|
|
- disable static build by default |
147 |
|
|
- remove release version from soname |
148 |
|
|
- move headers to %%{_includedir}/libzdb/ |
149 |
|
|
|
150 |
|
|
* Thu Nov 13 2008 Bernard Johnson <bjohnson@symetrix.com> - 2.2.3-1 |
151 |
|
|
- initial build |