]>
Commit | Line | Data |
---|---|---|
6698215c | 1 | # TODO: ibmdb2 provider |
b4cae6aa | 2 | # |
b4cae6aa | 3 | # Conditional build: |
6698215c JB |
4 | %bcond_without apidocs # API documentation build |
5 | %bcond_without static_libs # static libraries build | |
b4cae6aa | 6 | %bcond_with gamin # use gamin instead of fam library |
6698215c JB |
7 | %bcond_without gnomevfs # gnome-vfs support |
8 | %bcond_without gnome # (convenience alias for gnomevfs) | |
6f64b75f | 9 | # - database plugins: |
6698215c JB |
10 | %bcond_without firebird # Firebird plugin |
11 | %bcond_with freetds # FreeTDS plugin | |
12 | %bcond_without ldap # LDAP plugin | |
13 | %bcond_without mdb # MDB plugin | |
14 | %bcond_without mysql # MySQL plugin | |
15 | %bcond_with oci # Oracle DB plugin | |
16 | %bcond_without odbc # unixODBC plugin | |
17 | %bcond_without pgsql # PostgreSQL plugin | |
18 | %bcond_without sqlite # SQLite plugin | |
19 | %bcond_without sybase # sybase plugin | |
20 | %bcond_without xbase # xbase plugin | |
b4cae6aa | 21 | # |
6f64b75f JB |
22 | %if %{without gnome} |
23 | %undefine with_gnomevfs | |
24 | %endif | |
b4cae6aa JB |
25 | %ifnarch %{ix86} sparc sparcv9 alpha |
26 | %undefine with_firebird | |
27 | %endif | |
28 | Summary: GNU Data Access library | |
6f64b75f | 29 | Summary(pl.UTF-8): Biblioteka GNU Data Access |
b4cae6aa | 30 | Name: libgda3 |
ed4aa3ff | 31 | Version: 3.1.5 |
d9043a3c | 32 | Release: 18 |
2c13119c | 33 | License: LGPL v2+/GPL v2+ |
6f64b75f | 34 | Group: Libraries |
6698215c | 35 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libgda/3.1/libgda-%{version}.tar.bz2 |
ed4aa3ff | 36 | # Source0-md5: eb7da5286a112e7cff3111c89fba4456 |
e9a8c49e | 37 | Patch0: %{name}-configure.patch |
4d1d7fc7 | 38 | Patch1: %{name}-am.patch |
af5560b9 | 39 | Patch2: glib232.patch |
00eee7f2 | 40 | Patch3: format-security.patch |
d9153d00 | 41 | Patch4: mdb-0.7.patch |
fd278e0c | 42 | URL: http://www.gnome-db.org/ |
b4cae6aa JB |
43 | %{?with_firebird:BuildRequires: Firebird-devel} |
44 | BuildRequires: autoconf >= 2.59 | |
45 | BuildRequires: automake >= 1:1.8 | |
46 | BuildRequires: bison | |
47 | BuildRequires: db-devel | |
169c4908 | 48 | BuildRequires: docbook-dtd412-xml |
b4cae6aa JB |
49 | %{!?with_gamin:BuildRequires: fam-devel} |
50 | BuildRequires: flex | |
687a3c3a | 51 | %{?with_freetds:BuildRequires: freetds-devel = 0.64} |
169c4908 | 52 | %{?with_sybase:BuildRequires: freetds-devel >= 0.82} |
cdc6be99 | 53 | %{?with_gamin:BuildRequires: gamin-devel >= 0.1.8} |
169c4908 | 54 | BuildRequires: gettext-devel |
b4cae6aa JB |
55 | BuildRequires: glib2-devel >= 1:2.12.0 |
56 | BuildRequires: gnome-common >= 2.12.0 | |
69656563 | 57 | %{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.20} |
b4cae6aa | 58 | BuildRequires: gtk-doc >= 1.6 |
6f64b75f JB |
59 | BuildRequires: intltool >= 0.35.5 |
60 | BuildRequires: libgcrypt-devel >= 1.1.42 | |
b4cae6aa | 61 | BuildRequires: libtool |
6f64b75f | 62 | BuildRequires: libxml2-devel >= 1:2.6.26 |
b4cae6aa | 63 | BuildRequires: libxslt-devel >= 1.1.17 |
69628b45 | 64 | %{?with_mdb:BuildRequires: mdbtools-devel >= 0.6} |
b4cae6aa | 65 | %{?with_mysql:BuildRequires: mysql-devel} |
ae0d41e4 | 66 | %{?with_ldap:BuildRequires: openldap-devel >= 2.4.6} |
6698215c | 67 | %{?with_oci:BuildRequires: oracle-instantclient-devel} |
b4cae6aa | 68 | BuildRequires: perl-base |
169c4908 | 69 | BuildRequires: pkgconfig |
b4cae6aa JB |
70 | BuildRequires: popt-devel |
71 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
72 | BuildRequires: readline-devel >= 5.0 | |
73 | BuildRequires: rpmbuild(macros) >= 1.213 | |
5d9ee9dd | 74 | %{?with_sqlite:BuildRequires: sqlite3-devel >= 3.5.0-2} |
b4cae6aa JB |
75 | %{?with_odbc:BuildRequires: unixODBC-devel} |
76 | %{?with_xbase:BuildRequires: xbase-devel >= 2.0.0} | |
77 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
78 | ||
6698215c JB |
79 | %define libgdadir libgda-3.0 |
80 | %define providersdir %{_libdir}/%{libgdadir}/providers | |
b4cae6aa JB |
81 | |
82 | %description | |
83 | GNU Data Access is an attempt to provide uniform access to different | |
84 | kinds of data sources (databases, information servers, mail spools, | |
85 | etc). It is a complete architecture that provides all you need to | |
86 | access your data. | |
87 | ||
88 | libgda was part of the GNOME-DB project but has been separated from it | |
89 | to allow non-GNOME applications to be developed based on it. | |
90 | ||
91 | %description -l pl.UTF-8 | |
92 | GNU Data Access to próba zapewnienia jednolitego dostępu do różnych | |
93 | źródeł danych (bazy danych, serwery informacji, katalogi z pocztą | |
94 | itp.). Jest kompletną architekturą dostarczającą wszystko, czego | |
95 | potrzebujesz do dostępu do danych. | |
96 | ||
97 | libgda była częścią projektu GNOME-DB, ale została wydzielona, aby | |
98 | pozwolić na używanie przez niegnomowe aplikacje. | |
99 | ||
100 | %package devel | |
6f64b75f JB |
101 | Summary: GNU Data Access development files |
102 | Summary(pl.UTF-8): Pliki programistyczne biblioteki GNU Data Access | |
b4cae6aa JB |
103 | Group: Development/Libraries |
104 | Requires: %{name} = %{version}-%{release} | |
105 | %{!?with_gamin:Requires: fam-devel} | |
cdc6be99 | 106 | %{?with_gamin:Requires: gamin-devel >= 0.1.8} |
b4cae6aa | 107 | Requires: glib2-devel >= 1:2.12.0 |
69656563 | 108 | %{?with_gnomevfs:Requires: gnome-vfs2-devel >= 2.20} |
b4cae6aa | 109 | Requires: gtk-doc-common |
6f64b75f | 110 | Requires: libgcrypt-devel >= 1.1.42 |
b4cae6aa JB |
111 | Requires: libxml2-devel >= 1:2.6.26 |
112 | Requires: libxslt-devel >= 1.1.17 | |
113 | Obsoletes: libgda0-devel | |
114 | ||
115 | %description devel | |
116 | GNU Data Access is an attempt to provide uniform access to different | |
117 | kinds of data sources (databases, information servers, mail spools, | |
118 | etc). It is a complete architecture that provides all you need to | |
119 | access your data. This subpackage contains development files. | |
120 | ||
121 | %description devel -l pl.UTF-8 | |
122 | GNU Data Access to próba zapewnienia jednolitego dostępu do różnych | |
123 | źródeł danych (bazy danych, serwery informacji, katalogi z pocztą | |
124 | itp.). Jest kompletną architekturą dostarczającą wszystko, czego | |
125 | potrzebujesz do dostępu do danych. Ten podpakiet zawiera pliki dla | |
126 | programistów używających libgda. | |
127 | ||
128 | %package static | |
129 | Summary: GNU Data Access static libraries | |
6f64b75f | 130 | Summary(pl.UTF-8): Statyczne biblioteki GNU Data Access |
b4cae6aa JB |
131 | Group: Development/Libraries |
132 | Requires: %{name}-devel = %{version}-%{release} | |
133 | ||
134 | %description static | |
135 | GNU Data Access static libraries. | |
136 | ||
137 | %description static -l pl.UTF-8 | |
138 | Statyczne biblioteki GNU Data Access. | |
139 | ||
6698215c JB |
140 | %package apidocs |
141 | Summary: GNU Data Access API documentation | |
142 | Summary(pl.UTF-8): Dokumentacja API GNU Data Access | |
143 | Group: Documentation | |
144 | Requires: gtk-doc-common | |
145 | ||
146 | %description apidocs | |
147 | GNU Data Access API documentation. | |
148 | ||
149 | %description apidocs -l pl.UTF-8 | |
150 | Dokumentacja API GNU Data Access. | |
151 | ||
b4cae6aa JB |
152 | %package provider-db |
153 | Summary: GDA Berkeley DB provider | |
6f64b75f JB |
154 | Summary(pl.UTF-8): Źródło danych Berkeley DB dla GDA |
155 | Group: Libraries | |
b4cae6aa JB |
156 | Requires: %{name} = %{version}-%{release} |
157 | ||
158 | %description provider-db | |
159 | This package contains the GDA Berkeley DB provider. | |
160 | ||
161 | %description provider-db -l pl.UTF-8 | |
6698215c | 162 | Pakiet dostarczający dane z Berkeley DB dla GDA. |
b4cae6aa JB |
163 | |
164 | %package provider-firebird | |
165 | Summary: GDA Firebird provider | |
6f64b75f JB |
166 | Summary(pl.UTF-8): Źródło danych Firebird dla GDA |
167 | Group: Libraries | |
b4cae6aa JB |
168 | Requires: %{name} = %{version}-%{release} |
169 | ||
170 | %description provider-firebird | |
171 | This package contains the GDA Firebird provider. | |
172 | ||
173 | %description provider-firebird -l pl.UTF-8 | |
174 | Pakiet dostarczający dane z Firebird dla GDA. | |
175 | ||
176 | %package provider-freetds | |
177 | Summary: GDA FreeTDS provider | |
6f64b75f JB |
178 | Summary(pl.UTF-8): Źródło danych FreeTDS dla GDA |
179 | Group: Libraries | |
b4cae6aa JB |
180 | Requires: %{name} = %{version}-%{release} |
181 | ||
182 | %description provider-freetds | |
183 | This package contains the GDA FreeTDS provider. | |
184 | ||
185 | %description provider-freetds -l pl.UTF-8 | |
186 | Pakiet dostarczający dane z FreeTDS dla GDA. | |
187 | ||
188 | %package provider-ldap | |
189 | Summary: GDA LDAP provider | |
6f64b75f JB |
190 | Summary(pl.UTF-8): Źródło danych LDAP dla GDA |
191 | Group: Libraries | |
b4cae6aa JB |
192 | Requires: %{name} = %{version}-%{release} |
193 | ||
194 | %description provider-ldap | |
195 | This package contains the GDA LDAP provider. | |
196 | ||
197 | %description provider-ldap -l pl.UTF-8 | |
6698215c | 198 | Pakiet dostarczający dane z LDAP dla GDA. |
b4cae6aa JB |
199 | |
200 | %package provider-mdb | |
201 | Summary: GDA MDB provider | |
6f64b75f JB |
202 | Summary(pl.UTF-8): Źródło danych MDB |
203 | Group: Libraries | |
b4cae6aa | 204 | Requires: %{name} = %{version}-%{release} |
69628b45 | 205 | Requires: mdbtools-libs >= 0.6 |
b4cae6aa JB |
206 | |
207 | %description provider-mdb | |
208 | This package contains the GDA MDB provider. | |
209 | ||
210 | %description provider-mdb -l pl.UTF-8 | |
211 | Pakiet dostarczający dane z MDB dla GDA. | |
212 | ||
213 | %package provider-mysql | |
214 | Summary: GDA MySQL provider | |
6f64b75f JB |
215 | Summary(pl.UTF-8): Źródło danych MySQL dla GDA |
216 | Group: Libraries | |
b4cae6aa JB |
217 | Requires: %{name} = %{version}-%{release} |
218 | Obsoletes: libgda-mysql0 | |
219 | ||
220 | %description provider-mysql | |
221 | This package contains the GDA MySQL provider. | |
222 | ||
223 | %description provider-mysql -l pl.UTF-8 | |
224 | Pakiet dostarczający dane z MySQL dla GDA. | |
225 | ||
226 | %package provider-odbc | |
227 | Summary: GDA ODBC provider | |
6f64b75f JB |
228 | Summary(pl.UTF-8): Źródło danych ODBC dla GDA |
229 | Group: Libraries | |
b4cae6aa JB |
230 | Requires: %{name} = %{version}-%{release} |
231 | ||
232 | %description provider-odbc | |
233 | This package contains the GDA ODBC provider. | |
234 | ||
235 | %description provider-odbc -l pl.UTF-8 | |
236 | Pakiet dostarczający dane z ODBC dla GDA. | |
237 | ||
6698215c JB |
238 | %package provider-oracle |
239 | Summary: GDA Oracle provider | |
240 | Summary(pl.UTF-8): Źródło danych Oracle dla GDA | |
241 | Group: Libraries | |
242 | Requires: %{name} = %{version}-%{release} | |
243 | ||
244 | %description provider-oracle | |
245 | This package contains the GDA Oracle provider. | |
246 | ||
247 | %description provider-oracle -l pl.UTF-8 | |
248 | Pakiet dostarczający dane z bazy Oracle dla GDA. | |
249 | ||
b4cae6aa JB |
250 | %package provider-postgres |
251 | Summary: GDA PostgreSQL provider | |
6f64b75f JB |
252 | Summary(pl.UTF-8): Źródło danych PostgreSQL dla GDA |
253 | Group: Libraries | |
b4cae6aa JB |
254 | Requires: %{name} = %{version}-%{release} |
255 | Obsoletes: libgda-postgres0 | |
256 | ||
257 | %description provider-postgres | |
258 | This package contains the GDA PostgreSQL provider. | |
259 | ||
260 | %description provider-postgres -l pl.UTF-8 | |
261 | Pakiet dostarczający dane z PostgreSQL dla GDA. | |
262 | ||
263 | %package provider-sqlite | |
264 | Summary: GDA SQLite provider | |
6f64b75f JB |
265 | Summary(pl.UTF-8): Źródło danych SQLite dla GDA |
266 | Group: Libraries | |
b4cae6aa JB |
267 | Requires: %{name} = %{version}-%{release} |
268 | ||
269 | %description provider-sqlite | |
270 | This package contains the GDA SQLite provider. | |
271 | ||
272 | %description provider-sqlite -l pl.UTF-8 | |
273 | Pakiet dostarczający dane z SQLite dla GDA. | |
274 | ||
69656563 JB |
275 | %package provider-sybase |
276 | Summary: GDA Sybase provider | |
277 | Summary(pl.UTF-8): Źródło danych Sybase dla GDA | |
278 | Group: Libraries | |
279 | Requires: %{name} = %{version}-%{release} | |
280 | ||
281 | %description provider-sybase | |
282 | This package contains the GDA Sybase provider. | |
283 | ||
284 | %description provider-sybase -l pl.UTF-8 | |
285 | Pakiet dostarczający dane z Sybase dla GDA. | |
286 | ||
b4cae6aa JB |
287 | %package provider-xbase |
288 | Summary: GDA xBase provider | |
6f64b75f JB |
289 | Summary(pl.UTF-8): Źródło danych xBase dla GDA |
290 | Group: Libraries | |
b4cae6aa JB |
291 | Requires: %{name} = %{version}-%{release} |
292 | ||
293 | %description provider-xbase | |
294 | This package contains the GDA xBase (dBase, Clipper, FoxPro) provider. | |
295 | ||
296 | %description provider-xbase -l pl.UTF-8 | |
297 | Pakiet dostarczający dane z xBase (dBase, Clippera, FoxPro) dla GDA. | |
298 | ||
299 | %prep | |
300 | %setup -q -n libgda-%{version} | |
e9a8c49e | 301 | %patch0 -p1 |
4d1d7fc7 | 302 | %patch1 -p1 |
af5560b9 | 303 | %patch2 -p1 |
00eee7f2 | 304 | %patch3 -p1 |
d9153d00 | 305 | %patch4 -p1 |
b4cae6aa | 306 | |
6f64b75f | 307 | %if %{without gamin} |
6698215c | 308 | %{__sed} -i -e 's#PKG_CHECK_MODULES(GAMIN.*)#have_fam=no#g' configure.in |
6f64b75f JB |
309 | %endif |
310 | %if %{without gnomevfs} | |
6698215c | 311 | %{__sed} -i -e 's#PKG_CHECK_MODULES(GNOMEVFS.*)#have_gnomevfs=no#g' configure.in |
b4cae6aa JB |
312 | %endif |
313 | ||
314 | %build | |
315 | CXXFLAGS="%{rpmcxxflags} -fno-rtti -fno-exceptions" | |
316 | %{__intltoolize} | |
317 | %{__libtoolize} | |
318 | %{__aclocal} | |
319 | %{__autoconf} | |
320 | %{__automake} | |
321 | %configure \ | |
69656563 | 322 | %{!?with_static_libs:--disable-static} \ |
6698215c | 323 | %{?with_apidocs:--enable-gtk-doc} \ |
b4cae6aa | 324 | --with-html-dir=%{_gtkdocdir} \ |
6698215c JB |
325 | --with-firebird%{!?with_firebird:=no} \ |
326 | --with-ldap%{!?with_ldap:=no} \ | |
327 | --with-mdb%{!?with_mdb:=no} \ | |
328 | --with-mysql%{!?with_mysql:=no} \ | |
329 | --with-odbc%{!?with_odbc:=no} \ | |
330 | --with-oracle%{!?with_oci:=no} \ | |
331 | --with-postgres%{!?with_pgsql:=no} \ | |
332 | --with-sqlite%{!?with_sqlite:=no} \ | |
333 | --with-tds%{!?with_freetds:=no} \ | |
334 | --with-xbase%{!?with_xbase:=no} \ | |
335 | %{?with_sybase:--with-sybase=/usr} | |
b4cae6aa JB |
336 | %{__make} -j1 |
337 | ||
338 | %install | |
339 | rm -rf $RPM_BUILD_ROOT | |
340 | ||
341 | %{__make} install \ | |
342 | DESTDIR=$RPM_BUILD_ROOT \ | |
343 | HTML_DIR=%{_gtkdocdir} | |
344 | ||
345 | # modules dlopened by *.so through libgmodule | |
b43c427d | 346 | %if %{with static_libs} |
6698215c | 347 | %{__rm} $RPM_BUILD_ROOT%{providersdir}/*.a |
b43c427d | 348 | %endif |
6698215c | 349 | %{__rm} $RPM_BUILD_ROOT{%{providersdir},%{_libdir}}/*.la |
b4cae6aa | 350 | |
5174964e JB |
351 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{sr@Latn,sr@latin} |
352 | ||
b4cae6aa JB |
353 | %find_lang libgda-3.0 |
354 | ||
355 | %clean | |
356 | rm -rf $RPM_BUILD_ROOT | |
357 | ||
358 | %post -p /sbin/ldconfig | |
359 | %postun -p /sbin/ldconfig | |
360 | ||
361 | %files -f libgda-3.0.lang | |
362 | %defattr(644,root,root,755) | |
363 | %doc AUTHORS ChangeLog NEWS README | |
364 | %attr(755,root,root) %{_bindir}/gda-config-tool-3.0 | |
db567452 | 365 | %attr(755,root,root) %{_bindir}/gda-list-server-op-3.0 |
b4cae6aa | 366 | %attr(755,root,root) %{_libdir}/libgda-3.0.so.*.*.* |
6f64b75f | 367 | %attr(755,root,root) %ghost %{_libdir}/libgda-3.0.so.3 |
b4cae6aa | 368 | %attr(755,root,root) %{_libdir}/libgda-report-3.0.so.*.*.* |
6f64b75f | 369 | %attr(755,root,root) %ghost %{_libdir}/libgda-report-3.0.so.3 |
350ed337 | 370 | %attr(755,root,root) %{_libdir}/libgda-xslt-3.0.so.*.*.* |
6f64b75f | 371 | %attr(755,root,root) %ghost %{_libdir}/libgda-xslt-3.0.so.0 |
b4cae6aa | 372 | %attr(755,root,root) %{_libdir}/libgdasql-3.0.so.*.*.* |
6f64b75f | 373 | %attr(755,root,root) %ghost %{_libdir}/libgdasql-3.0.so.3 |
6698215c JB |
374 | %dir %{_libdir}/%{libgdadir} |
375 | %dir %{providersdir} | |
376 | %dir %{_datadir}/libgda-3.0 | |
377 | %{_datadir}/libgda-3.0/dtd | |
b4cae6aa JB |
378 | %dir %{_sysconfdir}/libgda-3.0 |
379 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libgda-3.0/config | |
380 | %{_mandir}/man1/gda-config-tool-3.0.1* | |
381 | %{_mandir}/man5/gda-config-3.0.5* | |
382 | ||
383 | %files devel | |
384 | %defattr(644,root,root,755) | |
385 | %attr(755,root,root) %{_bindir}/gda-author-dict-file-3.0 | |
b883b2db | 386 | %attr(755,root,root) %{_bindir}/gda-bdb-test |
b4cae6aa JB |
387 | %attr(755,root,root) %{_bindir}/gda-diagnose-3.0 |
388 | %attr(755,root,root) %{_bindir}/gda-inspect-dict-file-3.0 | |
389 | %attr(755,root,root) %{_bindir}/gda-list-config-3.0 | |
b883b2db | 390 | %attr(755,root,root) %{_bindir}/gda-sql-3.0 |
b4cae6aa JB |
391 | %attr(755,root,root) %{_bindir}/gda-test-connection-3.0 |
392 | %attr(755,root,root) %{_libdir}/libgda-3.0.so | |
393 | %attr(755,root,root) %{_libdir}/libgda-report-3.0.so | |
6f64b75f | 394 | %attr(755,root,root) %{_libdir}/libgda-xslt-3.0.so |
b4cae6aa | 395 | %attr(755,root,root) %{_libdir}/libgdasql-3.0.so |
b4cae6aa JB |
396 | %{_includedir}/libgda-3.0 |
397 | %{_pkgconfigdir}/libgda-3.0.pc | |
398 | %{_pkgconfigdir}/libgda-*-3.0.pc | |
b883b2db | 399 | %{_sysconfdir}/libgda-3.0/sales_test.db |
b4cae6aa JB |
400 | |
401 | %if %{with static_libs} | |
402 | %files static | |
403 | %defattr(644,root,root,755) | |
404 | %{_libdir}/libgda-3.0.a | |
405 | %{_libdir}/libgda-report-3.0.a | |
350ed337 | 406 | %{_libdir}/libgda-xslt-3.0.a |
b4cae6aa JB |
407 | %{_libdir}/libgdasql-3.0.a |
408 | %endif | |
409 | ||
6698215c JB |
410 | %if %{with apidocs} |
411 | %files apidocs | |
412 | %defattr(644,root,root,755) | |
413 | %{_gtkdocdir}/libgda-3.0 | |
414 | %endif | |
415 | ||
b4cae6aa JB |
416 | %files provider-db |
417 | %defattr(644,root,root,755) | |
6698215c JB |
418 | %attr(755,root,root) %{providersdir}/libgda-bdb.so |
419 | %{_datadir}/libgda-3.0/bdb_specs_*.xml | |
b4cae6aa JB |
420 | |
421 | %if %{with firebird} | |
422 | %files provider-firebird | |
423 | %defattr(644,root,root,755) | |
6698215c JB |
424 | %attr(755,root,root) %{providersdir}/libgda-firebird.so |
425 | %{_datadir}/libgda-3.0/firebird_specs_*.xml | |
b4cae6aa JB |
426 | %endif |
427 | ||
428 | %if %{with freetds} | |
429 | %files provider-freetds | |
430 | %defattr(644,root,root,755) | |
6698215c JB |
431 | %attr(755,root,root) %{providersdir}/libgda-freetds.so |
432 | %{_datadir}/libgda-3.0/freetds_specs_*.xml | |
b4cae6aa JB |
433 | %endif |
434 | ||
435 | %if %{with ldap} | |
436 | %files provider-ldap | |
437 | %defattr(644,root,root,755) | |
6698215c JB |
438 | %attr(755,root,root) %{providersdir}/libgda-ldap.so |
439 | %{_datadir}/libgda-3.0/ldap_specs_*.xml | |
b4cae6aa JB |
440 | %endif |
441 | ||
442 | %if %{with mdb} | |
443 | %files provider-mdb | |
444 | %defattr(644,root,root,755) | |
6698215c JB |
445 | %attr(755,root,root) %{providersdir}/libgda-mdb.so |
446 | %{_datadir}/libgda-3.0/mdb_specs_*.xml | |
b4cae6aa JB |
447 | %endif |
448 | ||
449 | %if %{with mysql} | |
450 | %files provider-mysql | |
451 | %defattr(644,root,root,755) | |
6698215c JB |
452 | %attr(755,root,root) %{providersdir}/libgda-mysql.so |
453 | %{_datadir}/libgda-3.0/mysql_specs_*.xml | |
b4cae6aa JB |
454 | %endif |
455 | ||
456 | %if %{with odbc} | |
457 | %files provider-odbc | |
458 | %defattr(644,root,root,755) | |
6698215c JB |
459 | %attr(755,root,root) %{providersdir}/libgda-odbc.so |
460 | %{_datadir}/libgda-3.0/odbc_specs_*.xml | |
461 | %endif | |
462 | ||
463 | %if %{with oci} | |
464 | %files provider-oracle | |
465 | %defattr(644,root,root,755) | |
466 | %attr(755,root,root) %{providersdir}/libgda-oracle.so | |
467 | %{_datadir}/libgda-3.0/oracle_specs_*.xml | |
b4cae6aa JB |
468 | %endif |
469 | ||
470 | %if %{with pgsql} | |
471 | %files provider-postgres | |
472 | %defattr(644,root,root,755) | |
6698215c JB |
473 | %attr(755,root,root) %{providersdir}/libgda-postgres.so |
474 | %{_datadir}/libgda-3.0/postgres_specs_*.xml | |
b4cae6aa JB |
475 | %endif |
476 | ||
477 | %if %{with sqlite} | |
478 | %files provider-sqlite | |
479 | %defattr(644,root,root,755) | |
6698215c JB |
480 | %attr(755,root,root) %{providersdir}/libgda-sqlite.so |
481 | %{_datadir}/libgda-3.0/sqlite_specs_*.xml | |
b4cae6aa JB |
482 | %endif |
483 | ||
69656563 JB |
484 | %if %{with sybase} |
485 | %files provider-sybase | |
486 | %defattr(644,root,root,755) | |
6698215c JB |
487 | %attr(755,root,root) %{providersdir}/libgda-sybase.so |
488 | %{_datadir}/libgda-3.0/sybase_specs_*.xml | |
69656563 JB |
489 | %endif |
490 | ||
b4cae6aa JB |
491 | %if %{with xbase} |
492 | %files provider-xbase | |
493 | %defattr(644,root,root,755) | |
6698215c JB |
494 | %attr(755,root,root) %{providersdir}/libgda-xbase.so |
495 | %{_datadir}/libgda-3.0/xbase_specs_*.xml | |
b4cae6aa | 496 | %endif |