]> git.pld-linux.org Git - packages/libgda6.git/blob - libgda5.spec
4b4f9666559f7c9a6aecacd5632c6f150ab4ff57
[packages/libgda6.git] / libgda5.spec
1 # TODO:
2 # - oracle provider
3 # - glade catalog?
4 #
5 # Conditional build:
6 %bcond_without  apidocs         # API documentation
7 %bcond_without  static_libs     # static libraries build
8 %bcond_without  vala            # Vala APIs and GdaData C library
9 # - database plugins:
10 %bcond_without  dbsql           # BerkeleyDB SQL plugin
11 %bcond_without  firebird        # Firebird plugins
12 %bcond_without  jdbc            # JDBC plugin
13 %bcond_without  ldap            # LDAP plugin
14 %bcond_without  mdb             # MDB plugin
15 %bcond_without  mysql           # MySQL plugin
16 %bcond_without  pgsql           # PostgreSQL plugin
17 #
18 %ifnarch i486 i586 i686 pentium3 pentium4 athlon %{x8664}
19 %undefine       with_jdbc
20 %endif
21 #
22 Summary:        GNU Data Access library
23 Summary(pl.UTF-8):      Biblioteka GNU Data Access
24 Name:           libgda5
25 Version:        5.2.2
26 Release:        1
27 License:        LGPL v2+/GPL v2+
28 Group:          Libraries
29 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgda/5.2/libgda-%{version}.tar.xz
30 # Source0-md5:  d2676630e621ddf5db6e336e62c23742
31 Patch0:         %{name}-configure.patch
32
33 Patch2:         %{name}-missing.patch
34 Patch3:         %{name}-vala.patch
35 Patch4:         %{name}-format.patch
36 Patch5:         %{name}-yelp.patch
37 Patch6:         java-arch.patch
38 URL:            http://www.gnome-db.org/
39 %{?with_firebird:BuildRequires: Firebird-devel}
40 BuildRequires:  autoconf >= 2.68
41 BuildRequires:  automake >= 1:1.11.1
42 BuildRequires:  bison
43 BuildRequires:  db-devel
44 %{?with_dbsql:BuildRequires:    db-sql-devel}
45 BuildRequires:  docbook-dtd412-xml
46 BuildRequires:  flex
47 BuildRequires:  gdk-pixbuf2-devel >= 2.0
48 BuildRequires:  gettext-devel
49 BuildRequires:  glib2-devel >= 1:2.32.0
50 BuildRequires:  glibc-misc
51 BuildRequires:  gobject-introspection-devel >= 1.30.0
52 BuildRequires:  goocanvas2-devel >= 2.0
53 BuildRequires:  graphviz-devel
54 BuildRequires:  gtk+3-devel >= 3.0.0
55 BuildRequires:  gtk-doc >= 1.14
56 BuildRequires:  gtksourceview3-devel >= 3.0
57 BuildRequires:  intltool >= 0.40.6
58 BuildRequires:  iso-codes
59 %{?with_jdbc:BuildRequires:     jdk}
60 BuildRequires:  json-glib-devel
61 BuildRequires:  libgcrypt-devel >= 1.1.42
62 %{?with_vala:BuildRequires:     libgee-devel >= 0.8.0}
63 BuildRequires:  libsecret-devel
64 BuildRequires:  libsoup-devel >= 2.24.0
65 BuildRequires:  libtool >= 2:2.2.6
66 BuildRequires:  libunique-devel
67 BuildRequires:  libxml2-devel >= 1:2.6.26
68 BuildRequires:  libxslt-devel >= 1.1.17
69 %{?with_mdb:BuildRequires:      mdbtools-devel >= 0.6-0.pre1.7}
70 %{?with_mysql:BuildRequires:    mysql-devel}
71 %{?with_ldap:BuildRequires:     openldap-devel}
72 BuildRequires:  openssl-devel
73 BuildRequires:  perl-base
74 BuildRequires:  pkgconfig >= 1:0.18
75 %{?with_pgsql:BuildRequires:    postgresql-devel}
76 BuildRequires:  python
77 BuildRequires:  readline-devel >= 5.0
78 BuildRequires:  rpmbuild(macros) >= 1.601
79 BuildRequires:  sqlite3-devel >= 3.6.11
80 BuildRequires:  tar >= 1:1.22
81 %{?with_vala:BuildRequires:     vala >= 2:0.18}
82 BuildRequires:  xz
83 BuildRequires:  yelp-tools
84 Requires:       glib2 >= 1:2.32.0
85 Conflicts:      libgda4 < 4.2.10-2
86 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
87
88 %description
89 GNU Data Access is an attempt to provide uniform access to different
90 kinds of data sources (databases, information servers, mail spools,
91 etc). It is a complete architecture that provides all you need to
92 access your data.
93
94 libgda was part of the GNOME-DB project but has been separated from it
95 to allow non-GNOME applications to be developed based on it.
96
97 %description -l pl.UTF-8
98 GNU Data Access to próba zapewnienia jednolitego dostępu do różnych
99 źródeł danych (bazy danych, serwery informacji, katalogi z pocztą
100 itp.). Jest kompletną architekturą dostarczającą wszystko, czego
101 potrzebujesz do dostępu do danych.
102
103 libgda była częścią projektu GNOME-DB, ale została wydzielona, aby
104 pozwolić na używanie przez niegnomowe aplikacje.
105
106 %package devel
107 Summary:        GNU Data Access development files
108 Summary(pl.UTF-8):      Pliki programistyczne biblioteki GNU Data Access
109 Group:          Development/Libraries
110 Requires:       %{name} = %{version}-%{release}
111 Requires:       glib2-devel >= 1:2.32.0
112 Requires:       libxml2-devel >= 1:2.6.26
113 Requires:       libxslt-devel >= 1.1.17
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
130 Summary(pl.UTF-8):      Statyczne biblioteki GNU Data Access
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
140 %package -n vala-libgda5
141 Summary:        libgda 5.x API for Vala language
142 Summary(pl.UTF-8):      API libgda 5.x dla języka Vala
143 Group:          Development/Libraries
144 Requires:       %{name}-devel = %{version}-%{release}
145 Requires:       vala >= 2:0.18
146
147 %description -n vala-libgda5
148 libgda 5.x API for Vala language.
149
150 %description -n vala-libgda5 -l pl.UTF-8
151 API libgda 5.x dla języka Vala.
152
153 %package ui
154 Summary:        GNU Data Access UI library
155 Summary(pl.UTF-8):      Biblioteka GNU Data Access UI
156 Group:          Libraries
157 Requires:       %{name} = %{version}-%{release}
158 Requires:       gtk+3 >= 3.0.0
159 Requires:       iso-codes
160
161 %description ui
162 GNU Data Access UI library.
163
164 %description ui -l pl.UTF-8
165 Biblioteka GNU Data Access UI.
166
167 %package ui-devel
168 Summary:        Development files for GNU Data Access UI library
169 Summary(pl.UTF-8):      Pliki programistyczne biblioteki GNU Data Access UI
170 Group:          Development/Libraries
171 Requires:       %{name}-ui = %{version}-%{release}
172 Requires:       gtk+3-devel >= 3.0.0
173
174 %description ui-devel
175 Development files for GNU Data Access UI library.
176
177 %description ui-devel -l pl.UTF-8
178 Pliki programistyczne biblioteki GNU Data Access UI.
179
180 %package ui-static
181 Summary:        GNU Data Access UI static library
182 Summary(pl.UTF-8):      Statyczna biblioteka GNU Data Access UI
183 Group:          Development/Libraries
184 Requires:       %{name}-ui-devel = %{version}-%{release}
185
186 %description ui-static
187 GNU Data Access UI static library.
188
189 %description ui-static -l pl.UTF-8
190 Statyczna biblioteka GNU Data Access UI.
191
192 %package -n vala-libgda5-ui
193 Summary:        libgda-ui 5.x API for Vala language
194 Summary(pl.UTF-8):      API libgda-ui 5.x dla języka Vala
195 Group:          Development/Libraries
196 Requires:       %{name}-ui-devel = %{version}-%{release}
197 Requires:       vala-libgda5 = %{version}-%{release}
198
199 %description -n vala-libgda5-ui
200 libgda-ui 5.x API for Vala language.
201
202 %description -n vala-libgda5-ui -l pl.UTF-8
203 API libgda-ui 5.x dla języka Vala.
204
205 %package apidocs
206 Summary:        GNU Data Access API documentation
207 Summary(pl.UTF-8):      Dokumentacja API GNU Data Access
208 Group:          Documentation
209 Requires:       gtk-doc-common
210
211 %description apidocs
212 GNU Data Access API documentation.
213
214 %description apidocs -l pl.UTF-8
215 Dokumentacja API GNU Data Access.
216
217 %package provider-db
218 Summary:        GDA Berkeley DB provider
219 Summary(pl.UTF-8):      Źródło danych Berkeley DB dla GDA
220 Group:          Libraries
221 Requires:       %{name} = %{version}-%{release}
222
223 %description provider-db
224 This package contains the GDA Berkeley DB provider.
225
226 %description provider-db -l pl.UTF-8
227 Pakiet dostaczający dane z Berkeley DB dla GDA.
228
229 %package provider-dbsql
230 Summary:        GDA Berkeley DB SQL provider
231 Summary(pl.UTF-8):      Źródło danych Berkeley DB SQL dla GDA
232 Group:          Libraries
233 Requires:       %{name} = %{version}-%{release}
234
235 %description provider-dbsql
236 This package contains the GDA Berkeley DB SQL provider.
237
238 %description provider-dbsql -l pl.UTF-8
239 Pakiet dostaczający dane z Berkeley DB SQL dla GDA.
240
241 %package provider-firebird
242 Summary:        GDA Firebird providers
243 Summary(pl.UTF-8):      Źródła danych Firebirda dla GDA
244 Group:          Libraries
245 Requires:       %{name} = %{version}-%{release}
246
247 %description provider-firebird
248 This package contains the GDA Firebird providers.
249
250 %description provider-firebird -l pl.UTF-8
251 Pakiet dostaczający dane z Firebirda dla GDA.
252
253 %package provider-jdbc
254 Summary:        GDA JDBC provider
255 Summary(pl.UTF-8):      Źródło danych JDBC dla GDA
256 Group:          Libraries
257 Requires:       %{name} = %{version}-%{release}
258
259 %description provider-jdbc
260 This package contains the GDA JDBC provider.
261
262 %description provider-jdbc -l pl.UTF-8
263 Pakiet dostaczający dane z JDBC dla GDA.
264
265 %package provider-ldap
266 Summary:        GDA LDAP provider
267 Summary(pl.UTF-8):      Źródło danych LDAP
268 Group:          Libraries
269 Requires:       %{name} = %{version}-%{release}
270
271 %description provider-ldap
272 This package contains the GDA LDAP provider.
273
274 %description provider-ldap -l pl.UTF-8
275 Pakiet dostarczający dane z LDAP dla GDA.
276
277 %package provider-mdb
278 Summary:        GDA MDB provider
279 Summary(pl.UTF-8):      Źródło danych MDB
280 Group:          Libraries
281 Requires:       %{name} = %{version}-%{release}
282 Requires:       mdbtools-libs >= 0.6
283
284 %description provider-mdb
285 This package contains the GDA MDB provider.
286
287 %description provider-mdb -l pl.UTF-8
288 Pakiet dostarczający dane z MDB dla GDA.
289
290 %package provider-mysql
291 Summary:        GDA MySQL provider
292 Summary(pl.UTF-8):      Źródło danych MySQL dla GDA
293 Group:          Libraries
294 Requires:       %{name} = %{version}-%{release}
295
296 %description provider-mysql
297 This package contains the GDA MySQL provider.
298
299 %description provider-mysql -l pl.UTF-8
300 Pakiet dostarczający dane z MySQL dla GDA.
301
302 %package provider-postgres
303 Summary:        GDA PostgreSQL provider
304 Summary(pl.UTF-8):      Źródło danych PostgreSQL dla GDA
305 Group:          Libraries
306 Requires:       %{name} = %{version}-%{release}
307
308 %description provider-postgres
309 This package contains the GDA PostgreSQL provider.
310
311 %description provider-postgres -l pl.UTF-8
312 Pakiet dostarczający dane z PostgreSQL dla GDA.
313
314 %package provider-sqlcipher
315 Summary:        GDA SQLCipher provider
316 Summary(pl.UTF-8):      Źródło danych SQLCipher dla GDA
317 Group:          Libraries
318 Requires:       %{name} = %{version}-%{release}
319
320 %description provider-sqlcipher
321 This package contains the GDA SQLCipher provider.
322
323 %description provider-sqlcipher -l pl.UTF-8
324 Pakiet dostarczający dane z SQLCipher dla GDA.
325
326 %package provider-sqlite
327 Summary:        GDA SQLite provider
328 Summary(pl.UTF-8):      Źródło danych SQLite dla GDA
329 Group:          Libraries
330 Requires:       %{name} = %{version}-%{release}
331
332 %description provider-sqlite
333 This package contains the GDA SQLite provider.
334
335 %description provider-sqlite -l pl.UTF-8
336 Pakiet dostarczający dane z SQLite dla GDA.
337
338 %package provider-web
339 Summary:        GDA Web provider
340 Summary(pl.UTF-8):      Źródło danych Web dla GDA
341 Group:          Libraries
342 Requires:       %{name} = %{version}-%{release}
343
344 %description provider-web
345 This package contains the GDA Web provider.
346
347 %description provider-web -l pl.UTF-8
348 Pakiet dostarczający dane z Web dla GDA.
349
350 %package tools
351 Summary:        Graphical tools for GDA
352 Summary(pl.UTF-8):      Narzędzia graficzne dla GDA
353 Group:          X11/Applications
354 Requires:       gtk-update-icon-cache
355 Requires:       hicolor-icon-theme
356 Requires:       %{name}-ui = %{version}-%{release}
357
358 %description tools
359 Graphical tools for GDA.
360
361 %description tools -l pl.UTF-8
362 Narzędzia graficzne dla GDA.
363
364 %prep
365 %setup -q -n libgda-%{version}
366 %patch0 -p1
367 %patch2 -p1
368 %patch3 -p1
369 %patch4 -p1
370 %patch5 -p1
371 %patch6 -p1
372
373 %build
374 # included version is bash-specific, use system file
375 cp -f %{_aclocaldir}/introspection.m4 m4/introspection.m4
376 %if %{with jdbc}
377 export JAVA_HOME="%{java_home}"
378 %ifarch %{ix86}
379 export _JAVA_SUFFIX="/lib/i386/server"
380 %endif
381 %ifarch %{x8664}
382 export _JAVA_SUFFIX="/lib/amd64/server"
383 %endif
384 %endif
385 %{__gtkdocize}
386 %{__intltoolize}
387 %{__libtoolize}
388 %{__aclocal} -I m4
389 %{__autoconf}
390 %{__automake}
391 %if %{with jdbc}
392 # included getsp.class fails with Sun/Oracle JDK 1.6, regenerate
393 javac getsp.java
394 %endif
395 %configure \
396         --disable-silent-rules \
397         %{!?with_vala:--disable-vala} \
398         --enable-gda-gi \
399         --enable-gdaui-gi \
400         %{?with_vala:--enable-gdaui-vala} \
401         --enable-gtk-doc%{!?with_apidocs:=no} \
402         --enable-json \
403         %{?with_static_libs:--enable-static} \
404         --enable-system-sqlite \
405         %{?with_vala:--enable-vala --enable-vala-extensions} \
406         --with-bdb=/usr \
407         --with-bdb-libdir-name=%{_lib} \
408         --with-html-dir=%{_gtkdocdir} \
409         --with-firebird%{!?with_firebird:=no} \
410         --with-firebird-libdir-name=%{_lib} \
411         --with-java%{!?with_jdbc:=no} \
412         --with-mdb%{!?with_mdb:=no} \
413         --with-mysql%{!?with_mysql:=no} \
414         --with-postgres%{!?with_pgsql:=no} \
415         --without-oracle
416
417 %{__make} -j1
418
419 %install
420 rm -rf $RPM_BUILD_ROOT
421
422 %{__make} install \
423         DESTDIR=$RPM_BUILD_ROOT \
424         VALA_VAPIDIR=%{_datadir}/vala/vapi
425
426 # modules dlopened by *.so through libgmodule
427 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgda-5.0/providers/*.{a,la}
428 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgda-5.0/plugins/*.{a,la}
429
430 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
431
432 %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
433
434 # outdated version of sr@latin
435 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/sr@Latn
436
437 %py_comp $RPM_BUILD_ROOT%{_datadir}/libgda-5.0/gda_trml2html
438 %py_comp $RPM_BUILD_ROOT%{_datadir}/libgda-5.0/gda_trml2pdf
439 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/libgda-5.0/gda_trml2html
440 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/libgda-5.0/gda_trml2pdf
441
442 %find_lang libgda-5.0
443 %find_lang gda-browser --with-gnome
444 %find_lang gda-sql --with-gnome
445 cat gda-sql.lang >> gda-browser.lang
446
447 %clean
448 rm -rf $RPM_BUILD_ROOT
449
450 %post   -p /sbin/ldconfig
451 %postun -p /sbin/ldconfig
452
453 %post tools
454 %update_icon_cache hicolor
455
456 %postun tools
457 %update_icon_cache hicolor
458
459 %files -f libgda-5.0.lang
460 %defattr(644,root,root,755)
461 %doc AUTHORS ChangeLog NEWS README
462 %attr(755,root,root) %{_bindir}/gda-list-config
463 %attr(755,root,root) %{_bindir}/gda-list-config-5.0
464 %attr(755,root,root) %{_bindir}/gda-list-server-op
465 %attr(755,root,root) %{_bindir}/gda-list-server-op-5.0
466 %attr(755,root,root) %{_bindir}/gda-sql
467 %attr(755,root,root) %{_bindir}/gda-sql-5.0
468 %attr(755,root,root) %{_bindir}/gda-test-connection-5.0
469 %attr(755,root,root) %{_libdir}/libgda-5.0.so.*.*.*
470 %attr(755,root,root) %ghost %{_libdir}/libgda-5.0.so.4
471 %attr(755,root,root) %{_libdir}/libgda-report-5.0.so.*.*.*
472 %attr(755,root,root) %ghost %{_libdir}/libgda-report-5.0.so.4
473 %attr(755,root,root) %{_libdir}/libgda-xslt-5.0.so.*.*.*
474 %attr(755,root,root) %ghost %{_libdir}/libgda-xslt-5.0.so.4
475 %if %{with vala}
476 %attr(755,root,root) %{_libdir}/libgdadata-5.0.so.*.*.*
477 %attr(755,root,root) %ghost %{_libdir}/libgdadata-5.0.so.0
478 %endif
479 %{_libdir}/girepository-1.0/Gda-5.0.typelib
480 %if %{with vala}
481 %{_libdir}/girepository-1.0/GdaData-5.0.typelib
482 %endif
483 %dir %{_libdir}/libgda-5.0
484 %dir %{_libdir}/libgda-5.0/providers
485 %dir %{_datadir}/libgda-5.0
486 %{_datadir}/libgda-5.0/demo
487 %{_datadir}/libgda-5.0/dtd
488 %{_datadir}/libgda-5.0/icons
489 %{_datadir}/libgda-5.0/pixmaps
490 %{_datadir}/libgda-5.0/import_encodings.xml
491 %{_datadir}/libgda-5.0/information_schema.xml
492 %{_datadir}/libgda-5.0/language-specs
493 %{_datadir}/libgda-5.0/server_operation.glade
494 # used by libgda-report
495 %{_datadir}/libgda-5.0/gda_trml2html
496 %{_datadir}/libgda-5.0/gda_trml2pdf
497 %dir %{_sysconfdir}/libgda-5.0
498 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libgda-5.0/config
499 %{_sysconfdir}/libgda-5.0/sales_test.db
500 %{_mandir}/man1/gda-sql-5.0.1*
501 %{_mandir}/man1/gda-sql.1*
502
503 %files devel
504 %defattr(644,root,root,755)
505 %attr(755,root,root) %{_libdir}/libgda-5.0.so
506 %attr(755,root,root) %{_libdir}/libgda-report-5.0.so
507 %attr(755,root,root) %{_libdir}/libgda-xslt-5.0.so
508 %if %{with vala}
509 %attr(755,root,root) %{_libdir}/libgdadata-5.0.so
510 %endif
511 %{_datadir}/gir-1.0/Gda-5.0.gir
512 %if %{with vala}
513 %{_datadir}/gir-1.0/GdaData-5.0.gir
514 %endif
515 %{_includedir}/libgda-5.0
516 %{_pkgconfigdir}/libgda-5.0.pc
517 %{_pkgconfigdir}/libgda-bdb-5.0.pc
518 %{?with_dbsql:%{_pkgconfigdir}/libgda-bdbsql-5.0.pc}
519 %{?with_firebird:%{_pkgconfigdir}/libgda-firebird-5.0.pc}
520 %{?with_jdbc:%{_pkgconfigdir}/libgda-jdbc-5.0.pc}
521 %{?with_ldap:%{_pkgconfigdir}/libgda-ldap-5.0.pc}
522 %{?with_mdb:%{_pkgconfigdir}/libgda-mdb-5.0.pc}
523 %{?with_mysql:%{_pkgconfigdir}/libgda-mysql-5.0.pc}
524 %{?with_pgsql:%{_pkgconfigdir}/libgda-postgres-5.0.pc}
525 %{_pkgconfigdir}/libgda-report-5.0.pc
526 %{_pkgconfigdir}/libgda-sqlcipher-5.0.pc
527 %{_pkgconfigdir}/libgda-sqlite-5.0.pc
528 %{_pkgconfigdir}/libgda-xslt-5.0.pc
529 %{_pkgconfigdir}/libgda-web-5.0.pc
530 %{?with_vala:%{_pkgconfigdir}/libgdadata-5.0.pc}
531
532 %if %{with static_libs}
533 %files static
534 %defattr(644,root,root,755)
535 %{_libdir}/libgda-5.0.a
536 %{_libdir}/libgda-report-5.0.a
537 %{_libdir}/libgda-xslt-5.0.a
538 %if %{with vala}
539 %{_libdir}/libgdadata-5.0.a
540 %endif
541 %endif
542
543 %if %{with vala}
544 %files -n vala-libgda5
545 %defattr(644,root,root,755)
546 %{_datadir}/vala/vapi/gdadata-5.0.vapi
547 %{_datadir}/vala/vapi/libgda-5.0.vapi
548 %endif
549
550 %files ui
551 %defattr(644,root,root,755)
552 %attr(755,root,root) %{_bindir}/gdaui-demo-5.0
553 %attr(755,root,root) %{_libdir}/libgda-ui-5.0.so.*.*.*
554 %attr(755,root,root) %ghost %{_libdir}/libgda-ui-5.0.so.4
555 %attr(755,root,root) %{_libdir}/libgda-5.0/plugins/libgda-ui-plugins.so
556 %dir %{_libdir}/libgda-5.0/plugins
557 %{_libdir}/libgda-5.0/plugins/gdaui-*.xml
558 %{_libdir}/girepository-1.0/Gdaui-5.0.typelib
559 %{_datadir}/libgda-5.0/ui
560
561 %files ui-devel
562 %defattr(644,root,root,755)
563 %attr(755,root,root) %{_libdir}/libgda-ui-5.0.so
564 %{_datadir}/gir-1.0/Gdaui-5.0.gir
565 %{_pkgconfigdir}/libgda-ui-5.0.pc
566
567 %if %{with static_libs}
568 %files ui-static
569 %defattr(644,root,root,755)
570 %{_libdir}/libgda-ui-5.0.a
571 %endif
572
573 %if %{with vala}
574 %files -n vala-libgda5-ui
575 %defattr(644,root,root,755)
576 %{_datadir}/vala/vapi/libgdaui-5.0.vapi
577 %endif
578
579 %if %{with apidocs}
580 %files apidocs
581 %defattr(644,root,root,755)
582 %{_gtkdocdir}/gda-browser
583 %{_gtkdocdir}/libgda-5.0
584 %endif
585
586 %files provider-db
587 %defattr(644,root,root,755)
588 %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-bdb.so
589 %{_datadir}/libgda-5.0/bdb_specs_*.xml
590
591 %if %{with dbsql}
592 %files provider-dbsql
593 %defattr(644,root,root,755)
594 %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-bdbsql.so
595 %{_datadir}/libgda-5.0/bdbsql_specs_*.xml
596 %endif
597
598 %if %{with firebird}
599 %files provider-firebird
600 %defattr(644,root,root,755)
601 %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-firebird-client.so
602 %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-firebird-embed.so
603 %{_datadir}/libgda-5.0/firebird_specs_*.xml
604 %endif
605
606 %if %{with jdbc}
607 %files provider-jdbc
608 %defattr(644,root,root,755)
609 %attr(755,root,root) %{_bindir}/gda-list-jdbc-providers-5.0
610 %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-jdbc.so
611 %{_libdir}/libgda-5.0/providers/gdaprovider-5.0.jar
612 %{_datadir}/libgda-5.0/jdbc_specs_*.xml
613 %endif
614
615 %if %{with ldap}
616 %files provider-ldap
617 %defattr(644,root,root,755)
618 %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-ldap.so
619 %{_datadir}/libgda-5.0/ldap_specs_*.xml
620 %endif
621
622 %if %{with mdb}
623 %files provider-mdb
624 %defattr(644,root,root,755)
625 %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-mdb.so
626 %{_datadir}/libgda-5.0/mdb_specs_*.xml
627 %endif
628
629 %if %{with mysql}
630 %files provider-mysql
631 %defattr(644,root,root,755)
632 %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-mysql.so
633 %{_datadir}/libgda-5.0/mysql_specs_*.xml
634 %endif
635
636 %if %{with pgsql}
637 %files provider-postgres
638 %defattr(644,root,root,755)
639 %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-postgres.so
640 %{_datadir}/libgda-5.0/postgres_specs_*.xml
641 %endif
642
643 %files provider-sqlcipher
644 %defattr(644,root,root,755)
645 %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-sqlcipher.so
646 %{_datadir}/libgda-5.0/sqlcipher_specs_*.xml
647
648 %files provider-sqlite
649 %defattr(644,root,root,755)
650 %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-sqlite.so
651 %{_datadir}/libgda-5.0/sqlite_specs_*.xml
652
653 %files provider-web
654 %defattr(644,root,root,755)
655 %doc providers/web/README
656 %attr(755,root,root) %{_libdir}/libgda-5.0/providers/libgda-web.so
657 %{_datadir}/libgda-5.0/php
658 %{_datadir}/libgda-5.0/web
659 %{_datadir}/libgda-5.0/web_specs_*.xml
660
661 %files tools -f gda-browser.lang
662 %defattr(644,root,root,755)
663 %attr(755,root,root) %{_bindir}/gda-browser-5.0
664 %attr(755,root,root) %{_bindir}/gda-control-center-5.0
665 %{_desktopdir}/gda-browser-5.0.desktop
666 %{_desktopdir}/gda-control-center-5.0.desktop
667 %{_pixmapsdir}/gda-browser-5.0.png
668 %{_iconsdir}/hicolor/*/apps/gda-control-center.png
This page took 0.085199 seconds and 2 git commands to generate.