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