]>
Commit | Line | Data |
---|---|---|
d4778e57 JB |
1 | # |
2 | # Conditional build: | |
e5d16b31 | 3 | %bcond_without apidocs # API documentation |
c541bbbe | 4 | %bcond_without glade # Glade catalog |
e5d16b31 | 5 | %bcond_without static_libs # static libraries build |
0e866759 | 6 | %bcond_without vala # Vala APIs and GdaData C library |
d4778e57 | 7 | # - database plugins: |
342bfe43 JB |
8 | %bcond_with db # BerkeleyDB plugin (broken, disabled in sources) |
9 | %bcond_with dbsql # BerkeleyDB SQL plugin (not supported in meson buildsystem) | |
10 | %bcond_with firebird # Firebird plugins (not supported in meson buildsystem) | |
11 | %bcond_with jdbc # JDBC plugin (disabled in sources) | |
e5d16b31 | 12 | %bcond_without ldap # LDAP plugin |
342bfe43 | 13 | %bcond_with mdb # MDB plugin (not supported in meson buildsystem) |
e5d16b31 | 14 | %bcond_without mysql # MySQL plugin |
342bfe43 | 15 | %bcond_with oci # Oracle DB plugin (not supported in meson buildsystem) |
e5d16b31 | 16 | %bcond_without pgsql # PostgreSQL plugin |
342bfe43 | 17 | %bcond_without sqlcipher # SQLcipher plugin |
d35589a6 | 18 | |
a9a7b3bc | 19 | %ifnarch i486 i586 i686 pentium3 pentium4 athlon %{x8664} |
c5f3adda JR |
20 | %undefine with_jdbc |
21 | %endif | |
d35589a6 | 22 | |
d4778e57 JB |
23 | Summary: GNU Data Access library |
24 | Summary(pl.UTF-8): Biblioteka GNU Data Access | |
342bfe43 JB |
25 | Name: libgda6 |
26 | Version: 6.0.0 | |
caa02dbd | 27 | Release: 2 |
d4778e57 JB |
28 | License: LGPL v2+/GPL v2+ |
29 | Group: Libraries | |
342bfe43 JB |
30 | Source0: https://download.gnome.org/sources/libgda/6.0/libgda-%{version}.tar.xz |
31 | # Source0-md5: 2e059e57b0620fb23fc74f3d2bd0fd1f | |
32 | Patch0: %{name}-web.patch | |
caa02dbd | 33 | Patch1: %{name}-soname.patch |
c541bbbe | 34 | URL: https://www.gnome-db.org/ |
0e866759 JB |
35 | %{?with_firebird:BuildRequires: Firebird-devel} |
36 | BuildRequires: autoconf >= 2.68 | |
37 | BuildRequires: automake >= 1:1.11.1 | |
342bfe43 | 38 | %{?with_db:BuildRequires: db-devel >= 4.7} |
c541bbbe | 39 | %{?with_dbsql:BuildRequires: db-sql-devel >= 4.7} |
d4778e57 | 40 | BuildRequires: docbook-dtd412-xml |
0e866759 | 41 | BuildRequires: gdk-pixbuf2-devel >= 2.0 |
08c94b21 | 42 | BuildRequires: gettext-tools |
c541bbbe JB |
43 | # pkgconfig(gladeui-2.0) |
44 | %{?with_glade:BuildRequires: glade-devel >= 3.0} | |
0e866759 | 45 | BuildRequires: glib2-devel >= 1:2.32.0 |
d4778e57 | 46 | BuildRequires: glibc-misc |
0e866759 | 47 | BuildRequires: gobject-introspection-devel >= 1.30.0 |
d4778e57 JB |
48 | BuildRequires: goocanvas2-devel >= 2.0 |
49 | BuildRequires: graphviz-devel | |
50 | BuildRequires: gtk+3-devel >= 3.0.0 | |
51 | BuildRequires: gtk-doc >= 1.14 | |
52 | BuildRequires: gtksourceview3-devel >= 3.0 | |
0e866759 | 53 | BuildRequires: intltool >= 0.40.6 |
d4778e57 | 54 | BuildRequires: iso-codes |
c541bbbe | 55 | %{?with_jdbc:BuildRequires: jdk >= 1.5} |
d4778e57 JB |
56 | BuildRequires: json-glib-devel |
57 | BuildRequires: libgcrypt-devel >= 1.1.42 | |
0e866759 | 58 | BuildRequires: libsecret-devel |
d4778e57 | 59 | BuildRequires: libsoup-devel >= 2.24.0 |
0e866759 | 60 | BuildRequires: libtool >= 2:2.2.6 |
d4778e57 JB |
61 | BuildRequires: libxml2-devel >= 1:2.6.26 |
62 | BuildRequires: libxslt-devel >= 1.1.17 | |
63 | %{?with_mdb:BuildRequires: mdbtools-devel >= 0.6-0.pre1.7} | |
64 | %{?with_mysql:BuildRequires: mysql-devel} | |
65 | %{?with_ldap:BuildRequires: openldap-devel} | |
66 | BuildRequires: openssl-devel | |
d56a3040 | 67 | %{?with_oci:BuildRequires: oracle-instantclient-devel} |
d4778e57 JB |
68 | BuildRequires: perl-base |
69 | BuildRequires: pkgconfig >= 1:0.18 | |
70 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
6fe2b8c6 | 71 | BuildRequires: python3 >= 1:3 |
d4778e57 | 72 | BuildRequires: readline-devel >= 5.0 |
6fe2b8c6 | 73 | BuildRequires: rpmbuild(macros) >= 1.752 |
342bfe43 | 74 | %{?with_sqlcipher:BuildRequires: sqlcipher-devel >= 3.4} |
c541bbbe | 75 | BuildRequires: sqlite3-devel >= 3.10.2 |
d4778e57 | 76 | BuildRequires: tar >= 1:1.22 |
9331021b | 77 | %{?with_vala:BuildRequires: vala >= 2:0.26.0} |
d4778e57 | 78 | BuildRequires: xz |
0e866759 JB |
79 | BuildRequires: yelp-tools |
80 | Requires: glib2 >= 1:2.32.0 | |
a868e334 | 81 | Conflicts: libgda4 < 4.2.10-2 |
d4778e57 JB |
82 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
83 | ||
84 | %description | |
85 | GNU Data Access is an attempt to provide uniform access to different | |
86 | kinds of data sources (databases, information servers, mail spools, | |
87 | etc). It is a complete architecture that provides all you need to | |
88 | access your data. | |
89 | ||
90 | libgda was part of the GNOME-DB project but has been separated from it | |
91 | to allow non-GNOME applications to be developed based on it. | |
92 | ||
93 | %description -l pl.UTF-8 | |
94 | GNU Data Access to próba zapewnienia jednolitego dostępu do różnych | |
95 | źródeł danych (bazy danych, serwery informacji, katalogi z pocztą | |
96 | itp.). Jest kompletną architekturą dostarczającą wszystko, czego | |
97 | potrzebujesz do dostępu do danych. | |
98 | ||
99 | libgda była częścią projektu GNOME-DB, ale została wydzielona, aby | |
100 | pozwolić na używanie przez niegnomowe aplikacje. | |
101 | ||
102 | %package devel | |
103 | Summary: GNU Data Access development files | |
104 | Summary(pl.UTF-8): Pliki programistyczne biblioteki GNU Data Access | |
105 | Group: Development/Libraries | |
106 | Requires: %{name} = %{version}-%{release} | |
0e866759 | 107 | Requires: glib2-devel >= 1:2.32.0 |
d4778e57 JB |
108 | Requires: libxml2-devel >= 1:2.6.26 |
109 | Requires: libxslt-devel >= 1.1.17 | |
110 | ||
111 | %description devel | |
112 | GNU Data Access is an attempt to provide uniform access to different | |
113 | kinds of data sources (databases, information servers, mail spools, | |
114 | etc). It is a complete architecture that provides all you need to | |
115 | access your data. This subpackage contains development files. | |
116 | ||
117 | %description devel -l pl.UTF-8 | |
118 | GNU Data Access to próba zapewnienia jednolitego dostępu do różnych | |
119 | źródeł danych (bazy danych, serwery informacji, katalogi z pocztą | |
120 | itp.). Jest kompletną architekturą dostarczającą wszystko, czego | |
121 | potrzebujesz do dostępu do danych. Ten podpakiet zawiera pliki dla | |
122 | programistów używających libgda. | |
123 | ||
124 | %package static | |
125 | Summary: GNU Data Access static libraries | |
126 | Summary(pl.UTF-8): Statyczne biblioteki GNU Data Access | |
127 | Group: Development/Libraries | |
128 | Requires: %{name}-devel = %{version}-%{release} | |
129 | ||
130 | %description static | |
131 | GNU Data Access static libraries. | |
132 | ||
133 | %description static -l pl.UTF-8 | |
134 | Statyczne biblioteki GNU Data Access. | |
135 | ||
136 | %package -n vala-libgda5 | |
137 | Summary: libgda 5.x API for Vala language | |
138 | Summary(pl.UTF-8): API libgda 5.x dla języka Vala | |
139 | Group: Development/Libraries | |
140 | Requires: %{name}-devel = %{version}-%{release} | |
9331021b | 141 | Requires: vala >= 2:0.26.0 |
55625824 | 142 | BuildArch: noarch |
d4778e57 JB |
143 | |
144 | %description -n vala-libgda5 | |
0e866759 | 145 | libgda 5.x API for Vala language. |
d4778e57 JB |
146 | |
147 | %description -n vala-libgda5 -l pl.UTF-8 | |
0e866759 | 148 | API libgda 5.x dla języka Vala. |
d4778e57 JB |
149 | |
150 | %package ui | |
151 | Summary: GNU Data Access UI library | |
152 | Summary(pl.UTF-8): Biblioteka GNU Data Access UI | |
153 | Group: Libraries | |
154 | Requires: %{name} = %{version}-%{release} | |
155 | Requires: gtk+3 >= 3.0.0 | |
5945d658 | 156 | Requires: iso-codes |
d4778e57 JB |
157 | |
158 | %description ui | |
159 | GNU Data Access UI library. | |
160 | ||
161 | %description ui -l pl.UTF-8 | |
162 | Biblioteka GNU Data Access UI. | |
163 | ||
164 | %package ui-devel | |
165 | Summary: Development files for GNU Data Access UI library | |
166 | Summary(pl.UTF-8): Pliki programistyczne biblioteki GNU Data Access UI | |
167 | Group: Development/Libraries | |
168 | Requires: %{name}-ui = %{version}-%{release} | |
169 | Requires: gtk+3-devel >= 3.0.0 | |
170 | ||
171 | %description ui-devel | |
172 | Development files for GNU Data Access UI library. | |
173 | ||
174 | %description ui-devel -l pl.UTF-8 | |
175 | Pliki programistyczne biblioteki GNU Data Access UI. | |
176 | ||
177 | %package ui-static | |
178 | Summary: GNU Data Access UI static library | |
179 | Summary(pl.UTF-8): Statyczna biblioteka GNU Data Access UI | |
180 | Group: Development/Libraries | |
181 | Requires: %{name}-ui-devel = %{version}-%{release} | |
182 | ||
183 | %description ui-static | |
184 | GNU Data Access UI static library. | |
185 | ||
186 | %description ui-static -l pl.UTF-8 | |
187 | Statyczna biblioteka GNU Data Access UI. | |
188 | ||
0e866759 JB |
189 | %package -n vala-libgda5-ui |
190 | Summary: libgda-ui 5.x API for Vala language | |
191 | Summary(pl.UTF-8): API libgda-ui 5.x dla języka Vala | |
192 | Group: Development/Libraries | |
193 | Requires: %{name}-ui-devel = %{version}-%{release} | |
194 | Requires: vala-libgda5 = %{version}-%{release} | |
195 | ||
196 | %description -n vala-libgda5-ui | |
197 | libgda-ui 5.x API for Vala language. | |
198 | ||
199 | %description -n vala-libgda5-ui -l pl.UTF-8 | |
200 | API libgda-ui 5.x dla języka Vala. | |
201 | ||
d4778e57 JB |
202 | %package apidocs |
203 | Summary: GNU Data Access API documentation | |
204 | Summary(pl.UTF-8): Dokumentacja API GNU Data Access | |
205 | Group: Documentation | |
206 | Requires: gtk-doc-common | |
55625824 | 207 | BuildArch: noarch |
d4778e57 JB |
208 | |
209 | %description apidocs | |
210 | GNU Data Access API documentation. | |
211 | ||
212 | %description apidocs -l pl.UTF-8 | |
213 | Dokumentacja API GNU Data Access. | |
214 | ||
215 | %package provider-db | |
216 | Summary: GDA Berkeley DB provider | |
217 | Summary(pl.UTF-8): Źródło danych Berkeley DB dla GDA | |
218 | Group: Libraries | |
219 | Requires: %{name} = %{version}-%{release} | |
220 | ||
221 | %description provider-db | |
222 | This package contains the GDA Berkeley DB provider. | |
223 | ||
224 | %description provider-db -l pl.UTF-8 | |
2d182a49 | 225 | Pakiet dostarczający dane z Berkeley DB dla GDA. |
d4778e57 | 226 | |
e5d16b31 JB |
227 | %package provider-dbsql |
228 | Summary: GDA Berkeley DB SQL provider | |
229 | Summary(pl.UTF-8): Źródło danych Berkeley DB SQL dla GDA | |
230 | Group: Libraries | |
231 | Requires: %{name} = %{version}-%{release} | |
232 | ||
233 | %description provider-dbsql | |
234 | This package contains the GDA Berkeley DB SQL provider. | |
235 | ||
236 | %description provider-dbsql -l pl.UTF-8 | |
2d182a49 | 237 | Pakiet dostarczający dane z Berkeley DB SQL dla GDA. |
e5d16b31 | 238 | |
0e866759 JB |
239 | %package provider-firebird |
240 | Summary: GDA Firebird providers | |
241 | Summary(pl.UTF-8): Źródła danych Firebirda dla GDA | |
242 | Group: Libraries | |
243 | Requires: %{name} = %{version}-%{release} | |
244 | ||
245 | %description provider-firebird | |
246 | This package contains the GDA Firebird providers. | |
247 | ||
248 | %description provider-firebird -l pl.UTF-8 | |
2d182a49 | 249 | Pakiet dostarczający dane z Firebirda dla GDA. |
0e866759 | 250 | |
d4778e57 JB |
251 | %package provider-jdbc |
252 | Summary: GDA JDBC provider | |
253 | Summary(pl.UTF-8): Źródło danych JDBC dla GDA | |
254 | Group: Libraries | |
255 | Requires: %{name} = %{version}-%{release} | |
256 | ||
257 | %description provider-jdbc | |
258 | This package contains the GDA JDBC provider. | |
259 | ||
260 | %description provider-jdbc -l pl.UTF-8 | |
2d182a49 | 261 | Pakiet dostarczający dane z JDBC dla GDA. |
d4778e57 JB |
262 | |
263 | %package provider-ldap | |
264 | Summary: GDA LDAP provider | |
265 | Summary(pl.UTF-8): Źródło danych LDAP | |
266 | Group: Libraries | |
267 | Requires: %{name} = %{version}-%{release} | |
268 | ||
269 | %description provider-ldap | |
270 | This package contains the GDA LDAP provider. | |
271 | ||
272 | %description provider-ldap -l pl.UTF-8 | |
273 | Pakiet dostarczający dane z LDAP dla GDA. | |
274 | ||
275 | %package provider-mdb | |
276 | Summary: GDA MDB provider | |
277 | Summary(pl.UTF-8): Źródło danych MDB | |
278 | Group: Libraries | |
279 | Requires: %{name} = %{version}-%{release} | |
280 | Requires: mdbtools-libs >= 0.6 | |
281 | ||
282 | %description provider-mdb | |
283 | This package contains the GDA MDB provider. | |
284 | ||
285 | %description provider-mdb -l pl.UTF-8 | |
286 | Pakiet dostarczający dane z MDB dla GDA. | |
287 | ||
288 | %package provider-mysql | |
289 | Summary: GDA MySQL provider | |
290 | Summary(pl.UTF-8): Źródło danych MySQL dla GDA | |
291 | Group: Libraries | |
292 | Requires: %{name} = %{version}-%{release} | |
293 | ||
294 | %description provider-mysql | |
295 | This package contains the GDA MySQL provider. | |
296 | ||
297 | %description provider-mysql -l pl.UTF-8 | |
298 | Pakiet dostarczający dane z MySQL dla GDA. | |
299 | ||
d56a3040 JB |
300 | %package provider-oracle |
301 | Summary: GDA Oracle provider | |
302 | Summary(pl.UTF-8): Źródło danych Oracle dla GDA | |
303 | Group: Libraries | |
304 | Requires: %{name} = %{version}-%{release} | |
305 | ||
306 | %description provider-oracle | |
307 | This package contains the GDA Oracle provider. | |
308 | ||
309 | %description provider-oracle -l pl.UTF-8 | |
310 | Pakiet dostarczający dane z bazy Oracle dla GDA. | |
311 | ||
d4778e57 JB |
312 | %package provider-postgres |
313 | Summary: GDA PostgreSQL provider | |
314 | Summary(pl.UTF-8): Źródło danych PostgreSQL dla GDA | |
315 | Group: Libraries | |
316 | Requires: %{name} = %{version}-%{release} | |
317 | ||
318 | %description provider-postgres | |
319 | This package contains the GDA PostgreSQL provider. | |
320 | ||
321 | %description provider-postgres -l pl.UTF-8 | |
322 | Pakiet dostarczający dane z PostgreSQL dla GDA. | |
323 | ||
324 | %package provider-sqlcipher | |
325 | Summary: GDA SQLCipher provider | |
326 | Summary(pl.UTF-8): Źródło danych SQLCipher dla GDA | |
327 | Group: Libraries | |
328 | Requires: %{name} = %{version}-%{release} | |
329 | ||
330 | %description provider-sqlcipher | |
331 | This package contains the GDA SQLCipher provider. | |
332 | ||
333 | %description provider-sqlcipher -l pl.UTF-8 | |
334 | Pakiet dostarczający dane z SQLCipher dla GDA. | |
335 | ||
336 | %package provider-sqlite | |
337 | Summary: GDA SQLite provider | |
338 | Summary(pl.UTF-8): Źródło danych SQLite dla GDA | |
339 | Group: Libraries | |
340 | Requires: %{name} = %{version}-%{release} | |
c541bbbe | 341 | Requires: sqlite3 >= 3.10.2 |
d4778e57 JB |
342 | |
343 | %description provider-sqlite | |
344 | This package contains the GDA SQLite provider. | |
345 | ||
346 | %description provider-sqlite -l pl.UTF-8 | |
347 | Pakiet dostarczający dane z SQLite dla GDA. | |
348 | ||
349 | %package provider-web | |
350 | Summary: GDA Web provider | |
351 | Summary(pl.UTF-8): Źródło danych Web dla GDA | |
352 | Group: Libraries | |
353 | Requires: %{name} = %{version}-%{release} | |
354 | ||
355 | %description provider-web | |
356 | This package contains the GDA Web provider. | |
357 | ||
358 | %description provider-web -l pl.UTF-8 | |
359 | Pakiet dostarczający dane z Web dla GDA. | |
360 | ||
361 | %package tools | |
362 | Summary: Graphical tools for GDA | |
363 | Summary(pl.UTF-8): Narzędzia graficzne dla GDA | |
364 | Group: X11/Applications | |
b4f282d2 | 365 | Requires: %{name}-ui = %{version}-%{release} |
d4778e57 JB |
366 | Requires: gtk-update-icon-cache |
367 | Requires: hicolor-icon-theme | |
d4778e57 JB |
368 | |
369 | %description tools | |
370 | Graphical tools for GDA. | |
371 | ||
372 | %description tools -l pl.UTF-8 | |
373 | Narzędzia graficzne dla GDA. | |
374 | ||
c541bbbe JB |
375 | %package glade |
376 | Summary: libgda catalog file and icons for Glade | |
377 | Summary(pl.UTF-8): Plik katalogu oraz ikony libgda dla Glade | |
378 | Group: X11/Development/Libraries | |
379 | Requires: %{name}-devel = %{version}-%{release} | |
380 | Requires: glade >= 3 | |
381 | ||
382 | %description glade | |
383 | libgda catalog file and icons for Glade. | |
384 | ||
385 | %description glade -l pl.UTF-8 | |
386 | Plik katalogu oraz ikony libgda dla Glade. | |
387 | ||
d4778e57 JB |
388 | %prep |
389 | %setup -q -n libgda-%{version} | |
390 | %patch0 -p1 | |
caa02dbd | 391 | %patch1 -p1 |
d4778e57 | 392 | |
6fe2b8c6 JB |
393 | %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' \ |
394 | libgda-report/RML/trml2html/trml2html.py \ | |
395 | libgda-report/RML/trml2pdf/trml2pdf.py | |
396 | ||
d4778e57 | 397 | %build |
342bfe43 JB |
398 | %meson build \ |
399 | -Dexperimental=true \ | |
400 | -Dgraphviz=true \ | |
401 | -Dlibsecret=true \ | |
402 | -Dtools=true \ | |
403 | -Ddoc=true \ | |
404 | %{?with_ldap:-Dldap=true} \ | |
405 | -Dweb=true | |
406 | ||
407 | %ninja_build -C build | |
d4778e57 JB |
408 | |
409 | %install | |
410 | rm -rf $RPM_BUILD_ROOT | |
411 | ||
342bfe43 | 412 | %ninja_install -C build |
d4778e57 | 413 | |
342bfe43 JB |
414 | %py3_comp $RPM_BUILD_ROOT%{_datadir}/libgda-6.0/gda_trml2html |
415 | %py3_comp $RPM_BUILD_ROOT%{_datadir}/libgda-6.0/gda_trml2pdf | |
416 | %py3_ocomp $RPM_BUILD_ROOT%{_datadir}/libgda-6.0/gda_trml2html | |
417 | %py3_ocomp $RPM_BUILD_ROOT%{_datadir}/libgda-6.0/gda_trml2pdf | |
d4778e57 | 418 | |
342bfe43 | 419 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgda-6.0/*/*.a |
d4778e57 | 420 | |
342bfe43 | 421 | %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/{gda-sql,gda-sql-6.0}.1 |
d4778e57 | 422 | |
342bfe43 | 423 | %find_lang libgda-6.0 |
d4778e57 JB |
424 | |
425 | %clean | |
426 | rm -rf $RPM_BUILD_ROOT | |
427 | ||
428 | %post -p /sbin/ldconfig | |
429 | %postun -p /sbin/ldconfig | |
430 | ||
caa02dbd JB |
431 | %post ui -p /sbin/ldconfig |
432 | %postun ui -p /sbin/ldconfig | |
433 | ||
d4778e57 JB |
434 | %post tools |
435 | %update_icon_cache hicolor | |
436 | ||
437 | %postun tools | |
438 | %update_icon_cache hicolor | |
439 | ||
342bfe43 | 440 | %files -f libgda-6.0.lang |
d4778e57 | 441 | %defattr(644,root,root,755) |
31af1ee2 | 442 | %doc AUTHORS ChangeLog NEWS README |
342bfe43 JB |
443 | %attr(755,root,root) %{_bindir}/gda-list-config-6.0 |
444 | %attr(755,root,root) %{_bindir}/gda-list-server-op-6.0 | |
445 | %attr(755,root,root) %{_bindir}/gda-sql-6.0 | |
446 | %attr(755,root,root) %{_bindir}/trml2html.py | |
447 | %attr(755,root,root) %{_bindir}/trml2pdf.py | |
448 | %attr(755,root,root) %{_libdir}/libgda-6.0.so.*.*.* | |
449 | %attr(755,root,root) %ghost %{_libdir}/libgda-6.0.so.6 | |
450 | %attr(755,root,root) %{_libdir}/libgda-report-6.0.so.*.*.* | |
451 | %attr(755,root,root) %ghost %{_libdir}/libgda-report-6.0.so.6 | |
452 | %attr(755,root,root) %{_libdir}/libgda-xslt-6.0.so.*.*.* | |
453 | %attr(755,root,root) %ghost %{_libdir}/libgda-xslt-6.0.so.6 | |
454 | %{_libdir}/girepository-1.0/Gda-6.0.typelib | |
455 | %dir %{_libdir}/libgda-6.0 | |
456 | %dir %{_libdir}/libgda-6.0/providers | |
457 | %dir %{_datadir}/libgda-6.0 | |
458 | # FIXME: examples | |
459 | %{_datadir}/libgda-6.0/demo | |
460 | %{_datadir}/libgda-6.0/dtd | |
461 | %{_datadir}/libgda-6.0/gda-sql | |
462 | %{_datadir}/libgda-6.0/information_schema.xml | |
d4778e57 | 463 | # used by libgda-report |
342bfe43 JB |
464 | %{_datadir}/libgda-6.0/gda_trml2html |
465 | %{_datadir}/libgda-6.0/gda_trml2pdf | |
466 | %{_mandir}/man1/gda-sql-6.0.1* | |
d4778e57 JB |
467 | |
468 | %files devel | |
469 | %defattr(644,root,root,755) | |
342bfe43 JB |
470 | %attr(755,root,root) %{_libdir}/libgda-6.0.so |
471 | %attr(755,root,root) %{_libdir}/libgda-report-6.0.so | |
472 | %attr(755,root,root) %{_libdir}/libgda-xslt-6.0.so | |
473 | %{_datadir}/gir-1.0/Gda-6.0.gir | |
474 | %dir %{_includedir}/libgda-6.0 | |
475 | %{_includedir}/libgda-6.0/libgda | |
476 | %{_includedir}/libgda-6.0/libgda-report | |
477 | %{_includedir}/libgda-6.0/providers | |
478 | %{_pkgconfigdir}/libgda-6.0.pc | |
479 | %{_pkgconfigdir}/libgda-capi-6.0.pc | |
480 | %{_pkgconfigdir}/libgda-models-6.0.pc | |
481 | %{_pkgconfigdir}/libgda-report-6.0.pc | |
482 | %{_pkgconfigdir}/libgda-xslt-6.0.pc | |
483 | # providers | |
484 | %{?with_db:%{_pkgconfigdir}/libgda-bdb-6.0.pc} | |
485 | %{?with_dbsql:%{_pkgconfigdir}/libgda-bdbsql-6.0.pc} | |
486 | %{?with_firebird:%{_pkgconfigdir}/libgda-firebird-6.0.pc} | |
487 | %{?with_jdbc:%{_pkgconfigdir}/libgda-jdbc-6.0.pc} | |
488 | %{?with_ldap:%{_pkgconfigdir}/libgda-ldap-6.0.pc} | |
489 | %{?with_mdb:%{_pkgconfigdir}/libgda-mdb-6.0.pc} | |
490 | %{?with_mysql:%{_pkgconfigdir}/libgda-mysql-6.0.pc} | |
491 | %{?with_oci:%{_pkgconfigdir}/libgda-oracle-6.0.pc} | |
492 | %{?with_pgsql:%{_pkgconfigdir}/libgda-postgres-6.0.pc} | |
493 | %{?with_sqlcipher:%{_pkgconfigdir}/libgda-sqlcipher-6.0.pc} | |
494 | %{_pkgconfigdir}/libgda-sqlite-6.0.pc | |
495 | %{_pkgconfigdir}/libgda-web-6.0.pc | |
d4778e57 JB |
496 | |
497 | %if %{with static_libs} | |
498 | %files static | |
499 | %defattr(644,root,root,755) | |
342bfe43 JB |
500 | %{_libdir}/libgda-6.0.a |
501 | %{_libdir}/libgda-report-6.0.a | |
502 | %{_libdir}/libgda-xslt-6.0.a | |
d4778e57 JB |
503 | %endif |
504 | ||
505 | %if %{with vala} | |
506 | %files -n vala-libgda5 | |
507 | %defattr(644,root,root,755) | |
342bfe43 JB |
508 | %{_datadir}/vala/vapi/libgda-6.0.deps |
509 | %{_datadir}/vala/vapi/libgda-6.0.vapi | |
d4778e57 JB |
510 | %endif |
511 | ||
512 | %files ui | |
513 | %defattr(644,root,root,755) | |
342bfe43 JB |
514 | %attr(755,root,root) %{_bindir}/org.gnome.gda.Demoui |
515 | %attr(755,root,root) %{_libdir}/libgda-ui-6.0.so.*.*.* | |
516 | %attr(755,root,root) %ghost %{_libdir}/libgda-ui-6.0.so.6 | |
517 | %attr(755,root,root) %{_libdir}/libgda-6.0/plugins/libgda-ui-plugins-libgda-6.0.so | |
518 | %dir %{_libdir}/libgda-6.0/plugins | |
519 | %{_libdir}/girepository-1.0/Gdaui-6.0.typelib | |
520 | %{_datadir}/libgda-6.0/ui | |
d4778e57 JB |
521 | |
522 | %files ui-devel | |
523 | %defattr(644,root,root,755) | |
342bfe43 JB |
524 | %attr(755,root,root) %{_libdir}/libgda-ui-6.0.so |
525 | %{_includedir}/libgda-6.0/libgda-ui | |
526 | %{_datadir}/gir-1.0/Gdaui-6.0.gir | |
527 | %{_pkgconfigdir}/libgda-ui-6.0.pc | |
d4778e57 JB |
528 | |
529 | %if %{with static_libs} | |
530 | %files ui-static | |
531 | %defattr(644,root,root,755) | |
342bfe43 | 532 | %{_libdir}/libgda-ui-6.0.a |
d4778e57 JB |
533 | %endif |
534 | ||
0e866759 JB |
535 | %if %{with vala} |
536 | %files -n vala-libgda5-ui | |
537 | %defattr(644,root,root,755) | |
342bfe43 | 538 | %{_datadir}/vala/vapi/libgdaui-6.0.vapi |
0e866759 JB |
539 | %endif |
540 | ||
d4778e57 JB |
541 | %if %{with apidocs} |
542 | %files apidocs | |
543 | %defattr(644,root,root,755) | |
342bfe43 JB |
544 | %{_gtkdocdir}/libgda-6.0 |
545 | %{_gtkdocdir}/libgdaui-6.0 | |
546 | %{_datadir}/devhelp/books/Gda-6.0 | |
547 | %{_datadir}/devhelp/books/Gdaui-6.0 | |
d4778e57 JB |
548 | %endif |
549 | ||
342bfe43 | 550 | %if %{with db} |
d4778e57 JB |
551 | %files provider-db |
552 | %defattr(644,root,root,755) | |
342bfe43 JB |
553 | %attr(755,root,root) %{_libdir}/libgda-6.0/providers/libgda-bdb-6.0.so |
554 | %endif | |
d4778e57 | 555 | |
e5d16b31 JB |
556 | %if %{with dbsql} |
557 | %files provider-dbsql | |
558 | %defattr(644,root,root,755) | |
342bfe43 | 559 | %attr(755,root,root) %{_libdir}/libgda-6.0/providers/libgda-bdbsql-6.0.so |
e5d16b31 JB |
560 | %endif |
561 | ||
0e866759 JB |
562 | %if %{with firebird} |
563 | %files provider-firebird | |
564 | %defattr(644,root,root,755) | |
342bfe43 | 565 | %attr(755,root,root) %{_libdir}/libgda-6.0/providers/libgda-firebird-client-6.0.so |
0e866759 JB |
566 | %endif |
567 | ||
d4778e57 JB |
568 | %if %{with jdbc} |
569 | %files provider-jdbc | |
570 | %defattr(644,root,root,755) | |
342bfe43 JB |
571 | %attr(755,root,root) %{_bindir}/gda-list-jdbc-providers-6.0 |
572 | %attr(755,root,root) %{_libdir}/libgda-6.0/providers/libgda-jdbc-6.0.so | |
573 | %{_libdir}/libgda-6.0/providers/gdaprovider-6.0.jar | |
d4778e57 JB |
574 | %endif |
575 | ||
576 | %if %{with ldap} | |
577 | %files provider-ldap | |
578 | %defattr(644,root,root,755) | |
342bfe43 | 579 | %attr(755,root,root) %{_libdir}/libgda-6.0/providers/libgda-ldap-6.0.so |
d4778e57 JB |
580 | %endif |
581 | ||
582 | %if %{with mdb} | |
583 | %files provider-mdb | |
584 | %defattr(644,root,root,755) | |
342bfe43 | 585 | %attr(755,root,root) %{_libdir}/libgda-6.0/providers/libgda-mdb-6.0.so |
d4778e57 JB |
586 | %endif |
587 | ||
588 | %if %{with mysql} | |
589 | %files provider-mysql | |
590 | %defattr(644,root,root,755) | |
342bfe43 | 591 | %attr(755,root,root) %{_libdir}/libgda-6.0/providers/libgda-mysql-6.0.so |
d4778e57 JB |
592 | %endif |
593 | ||
d56a3040 JB |
594 | %if %{with oci} |
595 | %files provider-oracle | |
596 | %defattr(644,root,root,755) | |
342bfe43 | 597 | %attr(755,root,root) %{_libdir}/libgda-6.0/providers/libgda-oracle-6.0.so |
d56a3040 JB |
598 | %endif |
599 | ||
d4778e57 JB |
600 | %if %{with pgsql} |
601 | %files provider-postgres | |
602 | %defattr(644,root,root,755) | |
342bfe43 | 603 | %attr(755,root,root) %{_libdir}/libgda-6.0/providers/libgda-postgres-6.0.so |
d4778e57 JB |
604 | %endif |
605 | ||
342bfe43 | 606 | %if %{with sqlcipher} |
d4778e57 JB |
607 | %files provider-sqlcipher |
608 | %defattr(644,root,root,755) | |
342bfe43 JB |
609 | %attr(755,root,root) %{_libdir}/libgda-6.0/providers/libgda-sqlcipher-6.0.so |
610 | %endif | |
d4778e57 JB |
611 | |
612 | %files provider-sqlite | |
613 | %defattr(644,root,root,755) | |
342bfe43 | 614 | %attr(755,root,root) %{_libdir}/libgda-6.0/providers/libgda-sqlite-6.0.so |
d4778e57 JB |
615 | |
616 | %files provider-web | |
617 | %defattr(644,root,root,755) | |
618 | %doc providers/web/README | |
342bfe43 | 619 | %attr(755,root,root) %{_libdir}/libgda-6.0/providers/libgda-web-6.0.so |
d4778e57 | 620 | |
342bfe43 | 621 | %files tools |
d4778e57 | 622 | %defattr(644,root,root,755) |
342bfe43 JB |
623 | %attr(755,root,root) %{_bindir}/org.gnome.gda.Browser |
624 | %attr(755,root,root) %{_bindir}/gda-control-center-6.0 | |
625 | %{_datadir}/metainfo/org.gnome.gda.Browser.appdata.xml | |
626 | %{_desktopdir}/org.gnome.gda.Browser.desktop | |
627 | %{_pixmapsdir}/org.gnome.gda.Browser.png | |
628 | %{_iconsdir}/hicolor/512x512/apps/org.gnome.gda.Browser.png | |
629 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.gda.Browser.svg | |
c541bbbe JB |
630 | |
631 | %if %{with glade} | |
632 | %files glade | |
633 | %defattr(644,root,root,755) | |
634 | %{_datadir}/glade/catalogs/gdaui-catalog.xml | |
635 | %{_datadir}/glade/pixmaps/widget-gdaui-gdauibasicform.png | |
636 | %{_datadir}/glade/pixmaps/widget-gdaui-gdauicombo.png | |
637 | %{_datadir}/glade/pixmaps/widget-gdaui-gdauigrid.png | |
638 | %{_datadir}/glade/pixmaps/widget-gdaui-gdauilogin.png | |
639 | %{_datadir}/glade/pixmaps/widget-gdaui-gdauirawgrid.png | |
640 | %endif |