]>
Commit | Line | Data |
---|---|---|
d4778e57 JB |
1 | # TODO: oracle, bdbsql providers |
2 | # | |
3 | # Conditional build: | |
4 | %bcond_without apidocs # don't generate API documentation | |
5 | %bcond_without static_libs # don't build static libraries | |
868b06ba | 6 | %bcond_without vala # Vala support |
d4778e57 JB |
7 | # - database plugins: |
8 | %bcond_without jdbc # build without JDBC plugin | |
9 | %bcond_without ldap # build without LDAP plugin | |
10 | %bcond_without mdb # build without MDB plugin | |
11 | %bcond_without mysql # build without MySQL plugin | |
12 | %bcond_without pgsql # build without PostgreSQL plugin | |
13 | # | |
14 | %ifnarch i586 i686 pentium3 pentium4 athlon %{x8664} | |
15 | %undefine with_jdbc | |
16 | %endif | |
17 | # | |
18 | Summary: GNU Data Access library | |
19 | Summary(pl.UTF-8): Biblioteka GNU Data Access | |
20 | Name: libgda5 | |
a4bf3ad0 | 21 | Version: 5.0.2 |
d4778e57 JB |
22 | Release: 1 |
23 | License: LGPL v2+/GPL v2+ | |
24 | Group: Libraries | |
25 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libgda/5.0/libgda-%{version}.tar.xz | |
a4bf3ad0 | 26 | # Source0-md5: c8b3b61abf82776e6507368f16491e09 |
d4778e57 JB |
27 | Patch0: %{name}-configure.patch |
28 | URL: http://www.gnome-db.org/ | |
7fdd80c0 | 29 | BuildRequires: autoconf >= 2.67 |
d4778e57 JB |
30 | BuildRequires: automake >= 1:1.8 |
31 | BuildRequires: bison | |
32 | BuildRequires: db-devel | |
33 | BuildRequires: docbook-dtd412-xml | |
34 | BuildRequires: flex | |
35 | BuildRequires: gettext-devel | |
36 | BuildRequires: glib2-devel >= 1:2.28.0 | |
37 | BuildRequires: glibc-misc | |
38 | BuildRequires: gnome-doc-utils >= 0.9.0 | |
39 | BuildRequires: gobject-introspection-devel >= 0.6.5 | |
40 | BuildRequires: goocanvas2-devel >= 2.0 | |
41 | BuildRequires: graphviz-devel | |
42 | BuildRequires: gtk+3-devel >= 3.0.0 | |
43 | BuildRequires: gtk-doc >= 1.14 | |
44 | BuildRequires: gtksourceview3-devel >= 3.0 | |
45 | BuildRequires: intltool >= 0.40.0 | |
46 | BuildRequires: iso-codes | |
47 | %{?with_jdbc:BuildRequires: jdk} | |
48 | BuildRequires: json-glib-devel | |
49 | BuildRequires: libgcrypt-devel >= 1.1.42 | |
50 | BuildRequires: libgnome-keyring-devel | |
51 | BuildRequires: libsoup-devel >= 2.24.0 | |
52 | BuildRequires: libtool | |
53 | BuildRequires: libunique-devel | |
54 | BuildRequires: libxml2-devel >= 1:2.6.26 | |
55 | BuildRequires: libxslt-devel >= 1.1.17 | |
56 | %{?with_mdb:BuildRequires: mdbtools-devel >= 0.6-0.pre1.7} | |
57 | %{?with_mysql:BuildRequires: mysql-devel} | |
58 | %{?with_ldap:BuildRequires: openldap-devel} | |
59 | BuildRequires: openssl-devel | |
60 | BuildRequires: perl-base | |
61 | BuildRequires: pkgconfig >= 1:0.18 | |
62 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
63 | BuildRequires: python | |
64 | BuildRequires: readline-devel >= 5.0 | |
65 | BuildRequires: rpmbuild(macros) >= 1.601 | |
66 | BuildRequires: sqlite3-devel >= 3.6.11 | |
67 | BuildRequires: tar >= 1:1.22 | |
68 | %{?with_vala:BuildRequires: vala >= 0.14} | |
69 | BuildRequires: xz | |
70 | Requires: glib2 >= 1:2.28.0 | |
a868e334 | 71 | Conflicts: libgda4 < 4.2.10-2 |
d4778e57 JB |
72 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
73 | ||
74 | %description | |
75 | GNU Data Access is an attempt to provide uniform access to different | |
76 | kinds of data sources (databases, information servers, mail spools, | |
77 | etc). It is a complete architecture that provides all you need to | |
78 | access your data. | |
79 | ||
80 | libgda was part of the GNOME-DB project but has been separated from it | |
81 | to allow non-GNOME applications to be developed based on it. | |
82 | ||
83 | %description -l pl.UTF-8 | |
84 | GNU Data Access to próba zapewnienia jednolitego dostępu do różnych | |
85 | źródeł danych (bazy danych, serwery informacji, katalogi z pocztą | |
86 | itp.). Jest kompletną architekturą dostarczającą wszystko, czego | |
87 | potrzebujesz do dostępu do danych. | |
88 | ||
89 | libgda była częścią projektu GNOME-DB, ale została wydzielona, aby | |
90 | pozwolić na używanie przez niegnomowe aplikacje. | |
91 | ||
92 | %package devel | |
93 | Summary: GNU Data Access development files | |
94 | Summary(pl.UTF-8): Pliki programistyczne biblioteki GNU Data Access | |
95 | Group: Development/Libraries | |
96 | Requires: %{name} = %{version}-%{release} | |
97 | Requires: glib2-devel >= 1:2.28.0 | |
98 | Requires: libxml2-devel >= 1:2.6.26 | |
99 | Requires: libxslt-devel >= 1.1.17 | |
100 | ||
101 | %description devel | |
102 | GNU Data Access is an attempt to provide uniform access to different | |
103 | kinds of data sources (databases, information servers, mail spools, | |
104 | etc). It is a complete architecture that provides all you need to | |
105 | access your data. This subpackage contains development files. | |
106 | ||
107 | %description devel -l pl.UTF-8 | |
108 | GNU Data Access to próba zapewnienia jednolitego dostępu do różnych | |
109 | źródeł danych (bazy danych, serwery informacji, katalogi z pocztą | |
110 | itp.). Jest kompletną architekturą dostarczającą wszystko, czego | |
111 | potrzebujesz do dostępu do danych. Ten podpakiet zawiera pliki dla | |
112 | programistów używających libgda. | |
113 | ||
114 | %package static | |
115 | Summary: GNU Data Access static libraries | |
116 | Summary(pl.UTF-8): Statyczne biblioteki GNU Data Access | |
117 | Group: Development/Libraries | |
118 | Requires: %{name}-devel = %{version}-%{release} | |
119 | ||
120 | %description static | |
121 | GNU Data Access static libraries. | |
122 | ||
123 | %description static -l pl.UTF-8 | |
124 | Statyczne biblioteki GNU Data Access. | |
125 | ||
126 | %package -n vala-libgda5 | |
127 | Summary: libgda 5.x API for Vala language | |
128 | Summary(pl.UTF-8): API libgda 5.x dla języka Vala | |
129 | Group: Development/Libraries | |
130 | Requires: %{name}-devel = %{version}-%{release} | |
131 | Requires: vala >= 0.14 | |
132 | ||
133 | %description -n vala-libgda5 | |
134 | libgda 4.x API for Vala language. | |
135 | ||
136 | %description -n vala-libgda5 -l pl.UTF-8 | |
137 | API libgda 4.x dla języka Vala. | |
138 | ||
139 | %package ui | |
140 | Summary: GNU Data Access UI library | |
141 | Summary(pl.UTF-8): Biblioteka GNU Data Access UI | |
142 | Group: Libraries | |
143 | Requires: %{name} = %{version}-%{release} | |
144 | Requires: gtk+3 >= 3.0.0 | |
145 | ||
146 | %description ui | |
147 | GNU Data Access UI library. | |
148 | ||
149 | %description ui -l pl.UTF-8 | |
150 | Biblioteka GNU Data Access UI. | |
151 | ||
152 | %package ui-devel | |
153 | Summary: Development files for GNU Data Access UI library | |
154 | Summary(pl.UTF-8): Pliki programistyczne biblioteki GNU Data Access UI | |
155 | Group: Development/Libraries | |
156 | Requires: %{name}-ui = %{version}-%{release} | |
157 | Requires: gtk+3-devel >= 3.0.0 | |
158 | ||
159 | %description ui-devel | |
160 | Development files for GNU Data Access UI library. | |
161 | ||
162 | %description ui-devel -l pl.UTF-8 | |
163 | Pliki programistyczne biblioteki GNU Data Access UI. | |
164 | ||
165 | %package ui-static | |
166 | Summary: GNU Data Access UI static library | |
167 | Summary(pl.UTF-8): Statyczna biblioteka GNU Data Access UI | |
168 | Group: Development/Libraries | |
169 | Requires: %{name}-ui-devel = %{version}-%{release} | |
170 | ||
171 | %description ui-static | |
172 | GNU Data Access UI static library. | |
173 | ||
174 | %description ui-static -l pl.UTF-8 | |
175 | Statyczna biblioteka GNU Data Access UI. | |
176 | ||
177 | %package apidocs | |
178 | Summary: GNU Data Access API documentation | |
179 | Summary(pl.UTF-8): Dokumentacja API GNU Data Access | |
180 | Group: Documentation | |
181 | Requires: gtk-doc-common | |
182 | ||
183 | %description apidocs | |
184 | GNU Data Access API documentation. | |
185 | ||
186 | %description apidocs -l pl.UTF-8 | |
187 | Dokumentacja API GNU Data Access. | |
188 | ||
189 | %package provider-db | |
190 | Summary: GDA Berkeley DB provider | |
191 | Summary(pl.UTF-8): Źródło danych Berkeley DB dla GDA | |
192 | Group: Libraries | |
193 | Requires: %{name} = %{version}-%{release} | |
194 | ||
195 | %description provider-db | |
196 | This package contains the GDA Berkeley DB provider. | |
197 | ||
198 | %description provider-db -l pl.UTF-8 | |
199 | Pakiet dostaczający dane z Berkeley DB dla GDA. | |
200 | ||
201 | %package provider-jdbc | |
202 | Summary: GDA JDBC provider | |
203 | Summary(pl.UTF-8): Źródło danych JDBC dla GDA | |
204 | Group: Libraries | |
205 | Requires: %{name} = %{version}-%{release} | |
206 | ||
207 | %description provider-jdbc | |
208 | This package contains the GDA JDBC provider. | |
209 | ||
210 | %description provider-jdbc -l pl.UTF-8 | |
211 | Pakiet dostaczający dane z JDBC dla GDA. | |
212 | ||
213 | %package provider-ldap | |
214 | Summary: GDA LDAP provider | |
215 | Summary(pl.UTF-8): Źródło danych LDAP | |
216 | Group: Libraries | |
217 | Requires: %{name} = %{version}-%{release} | |
218 | ||
219 | %description provider-ldap | |
220 | This package contains the GDA LDAP provider. | |
221 | ||
222 | %description provider-ldap -l pl.UTF-8 | |
223 | Pakiet dostarczający dane z LDAP dla GDA. | |
224 | ||
225 | %package provider-mdb | |
226 | Summary: GDA MDB provider | |
227 | Summary(pl.UTF-8): Źródło danych MDB | |
228 | Group: Libraries | |
229 | Requires: %{name} = %{version}-%{release} | |
230 | Requires: mdbtools-libs >= 0.6 | |
231 | ||
232 | %description provider-mdb | |
233 | This package contains the GDA MDB provider. | |
234 | ||
235 | %description provider-mdb -l pl.UTF-8 | |
236 | Pakiet dostarczający dane z MDB dla GDA. | |
237 | ||
238 | %package provider-mysql | |
239 | Summary: GDA MySQL provider | |
240 | Summary(pl.UTF-8): Źródło danych MySQL dla GDA | |
241 | Group: Libraries | |
242 | Requires: %{name} = %{version}-%{release} | |
243 | ||
244 | %description provider-mysql | |
245 | This package contains the GDA MySQL provider. | |
246 | ||
247 | %description provider-mysql -l pl.UTF-8 | |
248 | Pakiet dostarczający dane z MySQL dla GDA. | |
249 | ||
250 | %package provider-postgres | |
251 | Summary: GDA PostgreSQL provider | |
252 | Summary(pl.UTF-8): Źródło danych PostgreSQL dla GDA | |
253 | Group: Libraries | |
254 | Requires: %{name} = %{version}-%{release} | |
255 | ||
256 | %description provider-postgres | |
257 | This package contains the GDA PostgreSQL provider. | |
258 | ||
259 | %description provider-postgres -l pl.UTF-8 | |
260 | Pakiet dostarczający dane z PostgreSQL dla GDA. | |
261 | ||
262 | %package provider-sqlcipher | |
263 | Summary: GDA SQLCipher provider | |
264 | Summary(pl.UTF-8): Źródło danych SQLCipher dla GDA | |
265 | Group: Libraries | |
266 | Requires: %{name} = %{version}-%{release} | |
267 | ||
268 | %description provider-sqlcipher | |
269 | This package contains the GDA SQLCipher provider. | |
270 | ||
271 | %description provider-sqlcipher -l pl.UTF-8 | |
272 | Pakiet dostarczający dane z SQLCipher dla GDA. | |
273 | ||
274 | %package provider-sqlite | |
275 | Summary: GDA SQLite provider | |
276 | Summary(pl.UTF-8): Źródło danych SQLite dla GDA | |
277 | Group: Libraries | |
278 | Requires: %{name} = %{version}-%{release} | |
279 | ||
280 | %description provider-sqlite | |
281 | This package contains the GDA SQLite provider. | |
282 | ||
283 | %description provider-sqlite -l pl.UTF-8 | |
284 | Pakiet dostarczający dane z SQLite dla GDA. | |
285 | ||
286 | %package provider-web | |
287 | Summary: GDA Web provider | |
288 | Summary(pl.UTF-8): Źródło danych Web dla GDA | |
289 | Group: Libraries | |
290 | Requires: %{name} = %{version}-%{release} | |
291 | ||
292 | %description provider-web | |
293 | This package contains the GDA Web provider. | |
294 | ||
295 | %description provider-web -l pl.UTF-8 | |
296 | Pakiet dostarczający dane z Web dla GDA. | |
297 | ||
298 | %package tools | |
299 | Summary: Graphical tools for GDA | |
300 | Summary(pl.UTF-8): Narzędzia graficzne dla GDA | |
301 | Group: X11/Applications | |
302 | Requires: gtk-update-icon-cache | |
303 | Requires: hicolor-icon-theme | |
304 | Requires: %{name}-ui = %{version}-%{release} | |
305 | ||
306 | %description tools | |
307 | Graphical tools for GDA. | |
308 | ||
309 | %description tools -l pl.UTF-8 | |
310 | Narzędzia graficzne dla GDA. | |
311 | ||
312 | %prep | |
313 | %setup -q -n libgda-%{version} | |
314 | %patch0 -p1 | |
315 | ||
316 | %build | |
317 | # included version is bash-specific, use system file | |
318 | cp -f %{_aclocaldir}/introspection.m4 m4/introspection.m4 | |
319 | %if %{with jdbc} | |
320 | export JAVA_HOME="%{java_home}" | |
321 | %endif | |
322 | %{__gtkdocize} | |
323 | %{__intltoolize} | |
324 | %{__libtoolize} | |
325 | %{__aclocal} -I m4 | |
326 | %{__autoconf} | |
327 | %{__automake} | |
328 | %configure \ | |
329 | --disable-silent-rules \ | |
818c864a | 330 | %{!?with_vala:--disable-vala} \ |
d4778e57 JB |
331 | %{?with_static_libs:--enable-static} \ |
332 | --enable-system-sqlite \ | |
333 | --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \ | |
334 | --with-html-dir=%{_gtkdocdir} \ | |
335 | --with-bdb=/usr \ | |
336 | --with-bdb-libdir-name=%{_lib} \ | |
337 | --with%{!?with_jdbc:out}-java \ | |
338 | --with%{!?with_mdb:out}-mdb \ | |
339 | --with%{!?with_mysql:out}-mysql \ | |
340 | --with%{!?with_pgsql:out}-postgres \ | |
341 | --without-oracle | |
342 | ||
343 | %{__make} -j1 | |
344 | ||
345 | %install | |
346 | rm -rf $RPM_BUILD_ROOT | |
347 | ||
348 | %{__make} install \ | |
1baae868 JB |
349 | DESTDIR=$RPM_BUILD_ROOT \ |
350 | VALA_VAPIDIR=%{_datadir}/vala/vapi | |
d4778e57 JB |
351 | |
352 | # modules dlopened by *.so through libgmodule | |
353 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgda-5.0/providers/*.{a,la} | |
354 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgda-5.0/plugins/*.{a,la} | |
355 | ||
356 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
357 | ||
358 | %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}} | |
359 | ||
360 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{sr@Latn,sr@latin} | |
361 | ||
362 | %py_comp $RPM_BUILD_ROOT%{_datadir}/libgda-5.0/gda_trml2html | |
363 | %py_comp $RPM_BUILD_ROOT%{_datadir}/libgda-5.0/gda_trml2pdf | |
364 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/libgda-5.0/gda_trml2html | |
365 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/libgda-5.0/gda_trml2pdf | |
366 | ||
367 | %find_lang libgda-5.0 | |
368 | %find_lang gda-browser --with-gnome | |
369 | ||
370 | %clean | |
371 | rm -rf $RPM_BUILD_ROOT | |
372 | ||
373 | %post -p /sbin/ldconfig | |
374 | %postun -p /sbin/ldconfig | |
375 | ||
376 | %post tools | |
377 | %update_icon_cache hicolor | |
378 | ||
379 | %postun tools | |
380 | %update_icon_cache hicolor | |
381 | ||
382 | %files -f libgda-5.0.lang | |
383 | %defattr(644,root,root,755) | |
384 | %doc AUTHORS ChangeLog NEWS README TODO | |
385 | %attr(755,root,root) %{_bindir}/gda-list-config | |
386 | %attr(755,root,root) %{_bindir}/gda-list-config-5.0 | |
387 | %attr(755,root,root) %{_bindir}/gda-list-server-op | |
388 | %attr(755,root,root) %{_bindir}/gda-list-server-op-5.0 | |
389 | %attr(755,root,root) %{_bindir}/gda-sql | |
390 | %attr(755,root,root) %{_bindir}/gda-sql-5.0 | |
391 | %attr(755,root,root) %{_bindir}/gda-test-connection-5.0 | |
392 | %attr(755,root,root) %{_libdir}/libgda-5.0.so.*.*.* | |
393 | %attr(755,root,root) %ghost %{_libdir}/libgda-5.0.so.4 | |
394 | %attr(755,root,root) %{_libdir}/libgda-report-5.0.so.*.*.* | |
395 | %attr(755,root,root) %ghost %{_libdir}/libgda-report-5.0.so.4 | |
396 | %attr(755,root,root) %{_libdir}/libgda-xslt-5.0.so.*.*.* | |
397 | %attr(755,root,root) %ghost %{_libdir}/libgda-xslt-5.0.so.4 | |
398 | %{_libdir}/girepository-1.0/Gda-5.0.typelib | |
399 | %dir %{_libdir}/libgda-5.0 | |
400 | %dir %{_libdir}/libgda-5.0/providers | |
401 | %dir %{_datadir}/libgda-5.0 | |
402 | %{_datadir}/libgda-5.0/demo | |
403 | %{_datadir}/libgda-5.0/dtd | |
404 | %{_datadir}/libgda-5.0/icons | |
405 | %{_datadir}/libgda-5.0/pixmaps | |
406 | %{_datadir}/libgda-5.0/import_encodings.xml | |
407 | %{_datadir}/libgda-5.0/information_schema.xml | |
408 | %{_datadir}/libgda-5.0/language-specs | |
409 | %{_datadir}/libgda-5.0/server_operation.glade | |
410 | # used by libgda-report | |
411 | %{_datadir}/libgda-5.0/gda_trml2html | |
412 | %{_datadir}/libgda-5.0/gda_trml2pdf | |
413 | %dir %{_sysconfdir}/libgda-5.0 | |
414 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libgda-5.0/config | |
415 | %{_sysconfdir}/libgda-5.0/sales_test.db | |
416 | %{_mandir}/man1/gda-sql-5.0.1* | |
417 | %{_mandir}/man1/gda-sql.1* | |
418 | ||
419 | %files devel | |
420 | %defattr(644,root,root,755) | |
421 | %attr(755,root,root) %{_libdir}/libgda-5.0.so | |
422 | %attr(755,root,root) %{_libdir}/libgda-report-5.0.so | |
423 | %attr(755,root,root) %{_libdir}/libgda-xslt-5.0.so | |
424 | %{_datadir}/gir-1.0/Gda-5.0.gir | |
425 | %{_includedir}/libgda-5.0 | |
426 | %{_pkgconfigdir}/libgda-5.0.pc | |
427 | %{_pkgconfigdir}/libgda-bdb-5.0.pc | |
428 | %{?with_jdbc:%{_pkgconfigdir}/libgda-jdbc-5.0.pc} | |
429 | %{?with_ldap:%{_pkgconfigdir}/libgda-ldap-5.0.pc} | |
430 | %{?with_mdb:%{_pkgconfigdir}/libgda-mdb-5.0.pc} | |
431 | %{?with_mysql:%{_pkgconfigdir}/libgda-mysql-5.0.pc} | |
432 | %{?with_pgsql:%{_pkgconfigdir}/libgda-postgres-5.0.pc} | |
433 | %{_pkgconfigdir}/libgda-report-5.0.pc | |
434 | %{_pkgconfigdir}/libgda-sqlcipher-5.0.pc | |
435 | %{_pkgconfigdir}/libgda-sqlite-5.0.pc | |
436 | %{_pkgconfigdir}/libgda-xslt-5.0.pc | |
437 | %{_pkgconfigdir}/libgda-web-5.0.pc | |
438 | ||
439 | %if %{with static_libs} | |
440 | %files static | |
441 | %defattr(644,root,root,755) | |
442 | %{_libdir}/libgda-5.0.a | |
443 | %{_libdir}/libgda-report-5.0.a | |
444 | %{_libdir}/libgda-xslt-5.0.a | |
445 | %endif | |
446 | ||
447 | %if %{with vala} | |
448 | %files -n vala-libgda5 | |
449 | %defattr(644,root,root,755) | |
450 | %{_datadir}/vala/vapi/libgda-5.0.vapi | |
451 | %endif | |
452 | ||
453 | %files ui | |
454 | %defattr(644,root,root,755) | |
455 | %attr(755,root,root) %{_bindir}/gdaui-demo-5.0 | |
456 | %attr(755,root,root) %{_libdir}/libgda-ui-5.0.so.*.*.* | |
457 | %attr(755,root,root) %ghost %{_libdir}/libgda-ui-5.0.so.4 | |
458 | %attr(755,root,root) %{_libdir}/libgda-5.0/plugins/libgda-ui-plugins.so | |
459 | %dir %{_libdir}/libgda-5.0/plugins | |
460 | %{_libdir}/libgda-5.0/plugins/gdaui-*.xml | |
461 | %{_libdir}/girepository-1.0/Gdaui-5.0.typelib | |
462 | %{_datadir}/libgda-5.0/ui | |
463 | ||
464 | %files ui-devel | |
465 | %defattr(644,root,root,755) | |
466 | %attr(755,root,root) %{_libdir}/libgda-ui-5.0.so | |
467 | %{_datadir}/gir-1.0/Gdaui-5.0.gir | |
468 | %{_pkgconfigdir}/libgda-ui-5.0.pc | |
469 | ||
470 | %if %{with static_libs} | |
471 | %files ui-static | |
472 | %defattr(644,root,root,755) | |
473 | %{_libdir}/libgda-ui-5.0.a | |
474 | %endif | |
475 | ||
476 | %if %{with apidocs} | |
477 | %files apidocs | |
478 | %defattr(644,root,root,755) | |
479 | %{_gtkdocdir}/gda-browser | |
480 | %{_gtkdocdir}/libgda-5.0 | |
481 | %endif | |
482 | ||
483 | %files provider-db | |
484 | %defattr(644,root,root,755) | |
485 | %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-bdb.so | |
486 | %{_datadir}/libgda-5.0/bdb_specs_*.xml | |
487 | ||
488 | %if %{with jdbc} | |
489 | %files provider-jdbc | |
490 | %defattr(644,root,root,755) | |
491 | %attr(755,root,root) %{_bindir}/gda-list-jdbc-providers-5.0 | |
492 | %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-jdbc.so | |
493 | %{_libdir}/libgda-5.0/providers/gdaprovider-5.0.jar | |
494 | %{_datadir}/libgda-5.0/jdbc_specs_*.xml | |
495 | %endif | |
496 | ||
497 | %if %{with ldap} | |
498 | %files provider-ldap | |
499 | %defattr(644,root,root,755) | |
500 | %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-ldap.so | |
501 | %{_datadir}/libgda-5.0/ldap_specs_*.xml | |
502 | %endif | |
503 | ||
504 | %if %{with mdb} | |
505 | %files provider-mdb | |
506 | %defattr(644,root,root,755) | |
507 | %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-mdb.so | |
508 | %{_datadir}/libgda-5.0/mdb_specs_*.xml | |
509 | %endif | |
510 | ||
511 | %if %{with mysql} | |
512 | %files provider-mysql | |
513 | %defattr(644,root,root,755) | |
514 | %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-mysql.so | |
515 | %{_datadir}/libgda-5.0/mysql_specs_*.xml | |
516 | %endif | |
517 | ||
518 | %if %{with pgsql} | |
519 | %files provider-postgres | |
520 | %defattr(644,root,root,755) | |
521 | %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-postgres.so | |
522 | %{_datadir}/libgda-5.0/postgres_specs_*.xml | |
523 | %endif | |
524 | ||
525 | %files provider-sqlcipher | |
526 | %defattr(644,root,root,755) | |
527 | %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-sqlcipher.so | |
528 | %{_datadir}/libgda-5.0/sqlcipher_specs_*.xml | |
529 | ||
530 | %files provider-sqlite | |
531 | %defattr(644,root,root,755) | |
532 | %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-sqlite.so | |
533 | %{_datadir}/libgda-5.0/sqlite_specs_*.xml | |
534 | ||
535 | %files provider-web | |
536 | %defattr(644,root,root,755) | |
537 | %doc providers/web/README | |
538 | %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-web.so | |
539 | %{_datadir}/libgda-5.0/php | |
540 | %{_datadir}/libgda-5.0/web | |
541 | %{_datadir}/libgda-5.0/web_specs_*.xml | |
542 | ||
543 | %files tools -f gda-browser.lang | |
544 | %defattr(644,root,root,755) | |
545 | %attr(755,root,root) %{_bindir}/gda-browser-5.0 | |
546 | %attr(755,root,root) %{_bindir}/gda-control-center-5.0 | |
547 | %{_desktopdir}/gda-browser-5.0.desktop | |
548 | %{_desktopdir}/gda-control-center-5.0.desktop | |
549 | %{_pixmapsdir}/gda-browser-5.0.png | |
550 | %{_iconsdir}/hicolor/*/apps/gda-control-center.png |