]>
Commit | Line | Data |
---|---|---|
df9fb0de | 1 | # |
257768f0 | 2 | # Conditional build: |
e2ff96a2 JB |
3 | %bcond_without firebird # Firebird plugin |
4 | %bcond_with freetds # FreeTDS plugin | |
5 | %bcond_without ldap # LDAP plugin | |
6 | %bcond_without mdb # MDB plugin | |
7 | %bcond_with mdb05 # use mdb < 0.6pre1 | |
8 | %bcond_without mysql # MySQL plugin | |
9 | %bcond_with oci # Oracle DB plugin | |
10 | %bcond_without odbc # unixODBC plugin | |
11 | %bcond_without pgsql # PostgreSQL plugin | |
12 | %bcond_without sqlite # SQLite plugin | |
13 | %bcond_without sybase # sybase plugin | |
14 | %bcond_without xbase # xbase plugin | |
bcbff75e | 15 | # |
ae6edd35 | 16 | %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc |
ef1aa130 | 17 | %undefine with_firebird |
6c3af761 | 18 | %endif |
c8ba48aa | 19 | Summary: GNU Data Access library |
24868d0c | 20 | Summary(pl.UTF-8): Biblioteka GNU Data Access |
c8ba48aa | 21 | Name: libgda |
bb420e02 | 22 | Version: 1.2.4 |
e9d99518 | 23 | Release: 22 |
ae6edd35 | 24 | Epoch: 1 |
e2ff96a2 | 25 | License: LGPL v2+/GPL v2+ |
c8ba48aa | 26 | Group: Applications/Databases |
f7b985f9 | 27 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libgda/1.2/%{name}-%{version}.tar.bz2 |
bb420e02 JB |
28 | # Source0-md5: 512a8ed842ce98eb432e69bd6867f437 |
29 | Patch0: %{name}-mdb.patch | |
30 | Patch1: %{name}-sqlite.patch | |
31 | Patch2: %{name}-configure.patch | |
32 | Patch3: %{name}-freetds064.patch | |
105e4474 JB |
33 | Patch4: %{name}-xbase.patch |
34 | Patch5: %{name}-mdb2.patch | |
2ac68972 | 35 | Patch6: %{name}-gtk-doc.patch |
f7b985f9 | 36 | Patch7: %{name}-sybase.patch |
ef70d219 | 37 | Patch8: %{name}-firebird.patch |
11517932 | 38 | Patch9: glib.patch |
142780d3 | 39 | Patch10: %{name}-xml.patch |
24d1d436 | 40 | Patch11: %{name}-format.patch |
9e59a8c5 | 41 | Patch12: %{name}-mdb-0.7.patch |
096302f9 | 42 | URL: http://www.gnome-db.org/ |
66d19893 | 43 | %{?with_firebird:BuildRequires: Firebird-devel} |
256c7d6f | 44 | BuildRequires: autoconf >= 2.59 |
80c03a10 | 45 | BuildRequires: automake >= 1:1.8 |
256c7d6f | 46 | BuildRequires: bison |
47 | BuildRequires: db-devel | |
bd445c9f | 48 | BuildRequires: docbook-dtd412-xml |
256c7d6f | 49 | BuildRequires: flex |
c925dde7 | 50 | %{?with_freetds:BuildRequires: freetds-devel = 0.64} |
e2ff96a2 | 51 | %{?with_sybase:BuildRequires: freetds-devel >= 0.82} |
31d62a73 | 52 | BuildRequires: gettext-tools |
ae6edd35 | 53 | BuildRequires: glib2-devel >= 1:2.12.1 |
a44eed0f | 54 | BuildRequires: gnome-common >= 2.12.0 |
ae6edd35 | 55 | BuildRequires: gtk-doc >= 1.7 |
a44eed0f | 56 | BuildRequires: intltool >= 0.35 |
256c7d6f | 57 | BuildRequires: libtool |
ae6edd35 | 58 | BuildRequires: libxml2-devel >= 1:2.6.26 |
a44eed0f | 59 | BuildRequires: libxslt-devel >= 1.1.17 |
6057325e | 60 | %if %{with_mdb} |
105e4474 | 61 | %{?with_mdb05:BuildRequires: mdbtools-devel < 0.6} |
f7b985f9 | 62 | %{!?with_mdb05:BuildRequires: mdbtools-devel >= 0.6} |
6057325e | 63 | %endif |
66d19893 | 64 | %{?with_mysql:BuildRequires: mysql-devel} |
b50feefa | 65 | %{?with_ldap:BuildRequires: openldap-devel >= 2.4.6} |
e2ff96a2 | 66 | %{?with_oci:BuildRequires: oracle-instantclient-devel} |
256c7d6f | 67 | BuildRequires: perl-base |
bd445c9f | 68 | BuildRequires: pkgconfig |
256c7d6f | 69 | BuildRequires: popt-devel |
66d19893 | 70 | %{?with_pgsql:BuildRequires: postgresql-devel} |
fc628f1c | 71 | BuildRequires: readline-devel >= 5.0 |
ea715f64 | 72 | BuildRequires: rpmbuild(macros) >= 1.213 |
ae6edd35 | 73 | BuildRequires: scrollkeeper |
256c7d6f | 74 | %{?with_sqlite:BuildRequires: sqlite3-devel} |
66d19893 | 75 | %{?with_odbc:BuildRequires: unixODBC-devel} |
ee58c893 | 76 | %{?with_xbase:BuildRequires: xbase-devel >= 2.0.0} |
c8ba48aa | 77 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28b3db68 | 78 | |
79 | %description | |
c8ba48aa | 80 | GNU Data Access is an attempt to provide uniform access to different |
81 | kinds of data sources (databases, information servers, mail spools, | |
82 | etc). It is a complete architecture that provides all you need to | |
28b3db68 | 83 | access your data. |
84 | ||
c8ba48aa | 85 | libgda was part of the GNOME-DB project but has been separated from it |
86 | to allow non-GNOME applications to be developed based on it. | |
28b3db68 | 87 | |
a5ed81dd JR |
88 | %description -l pl.UTF-8 |
89 | GNU Data Access to próba zapewnienia jednolitego dostępu do różnych | |
90 | źródeł danych (bazy danych, serwery informacji, katalogi z pocztą | |
91 | itp.). Jest kompletną architekturą dostarczającą wszystko, czego | |
92 | potrzebujesz do dostępu do danych. | |
a1cd7e34 | 93 | |
a5ed81dd JR |
94 | libgda była częścią projektu GNOME-DB, ale została wydzielona, aby |
95 | pozwolić na używanie przez niegnomowe aplikacje. | |
a1cd7e34 | 96 | |
28b3db68 | 97 | %package devel |
e2ff96a2 JB |
98 | Summary: GNU Data Access development files |
99 | Summary(pl.UTF-8): Pliki programistyczne biblioteki GNU Data Access | |
c8ba48aa | 100 | Group: Development/Libraries |
ae6edd35 | 101 | Requires: %{name} = %{epoch}:%{version}-%{release} |
102 | Requires: glib2-devel >= 1:2.12.1 | |
a44eed0f | 103 | Requires: libxml2-devel >= 1:2.6.26 |
104 | Requires: libxslt-devel >= 1.1.17 | |
a6417575 | 105 | Obsoletes: libgda0-devel |
28b3db68 | 106 | |
107 | %description devel | |
c8ba48aa | 108 | GNU Data Access is an attempt to provide uniform access to different |
109 | kinds of data sources (databases, information servers, mail spools, | |
110 | etc). It is a complete architecture that provides all you need to | |
a1cd7e34 JB |
111 | access your data. This subpackage contains development files. |
112 | ||
a5ed81dd JR |
113 | %description devel -l pl.UTF-8 |
114 | GNU Data Access to próba zapewnienia jednolitego dostępu do różnych | |
115 | źródeł danych (bazy danych, serwery informacji, katalogi z pocztą | |
116 | itp.). Jest kompletną architekturą dostarczającą wszystko, czego | |
117 | potrzebujesz do dostępu do danych. Ten podpakiet zawiera pliki dla | |
118 | programistów używających libgda. | |
c8ba48aa | 119 | |
120 | %package static | |
121 | Summary: GNU Data Access static libraries | |
24868d0c | 122 | Summary(pl.UTF-8): Statyczne biblioteki GNU Data Access |
c8ba48aa | 123 | Group: Development/Libraries |
6057325e | 124 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
c8ba48aa | 125 | |
126 | %description static | |
127 | GNU Data Access static libraries. | |
128 | ||
a5ed81dd | 129 | %description static -l pl.UTF-8 |
a1cd7e34 JB |
130 | Statyczne biblioteki GNU Data Access. |
131 | ||
bcbff75e JB |
132 | %package apidocs |
133 | Summary: libgda API documentation | |
134 | Summary(pl.UTF-8): Dokumentacja API libgda | |
135 | Group: Documentation | |
136 | Requires(post,postun): scrollkeeper | |
137 | Requires: gtk-doc-common | |
138 | Requires: scrollkeeper | |
139 | ||
140 | %description apidocs | |
141 | libgda API documentation. | |
142 | ||
143 | %description apidocs -l pl.UTF-8 | |
144 | Dokumentacja API libgda. | |
145 | ||
256c7d6f | 146 | %package -n gda-db |
147 | Summary: GDA Berkeley DB provider | |
24868d0c | 148 | Summary(pl.UTF-8): Źródło danych Berkeley DB dla GDA |
256c7d6f | 149 | Group: Applications/Databases |
ae6edd35 | 150 | Requires: %{name} = %{epoch}:%{version}-%{release} |
256c7d6f | 151 | |
152 | %description -n gda-db | |
153 | This package contains the GDA Berkeley DB provider. | |
154 | ||
a5ed81dd | 155 | %description -n gda-db -l pl.UTF-8 |
e2ff96a2 | 156 | Pakiet dostarczający dane z Berkeley DB dla GDA. |
256c7d6f | 157 | |
efd3db9e | 158 | %package -n gda-firebird |
159 | Summary: GDA Firebird provider | |
24868d0c | 160 | Summary(pl.UTF-8): Źródło danych Firebird dla GDA |
28b3db68 | 161 | Group: Applications/Databases |
ae6edd35 | 162 | Requires: %{name} = %{epoch}:%{version}-%{release} |
28b3db68 | 163 | |
efd3db9e | 164 | %description -n gda-firebird |
165 | This package contains the GDA Firebird provider. | |
28b3db68 | 166 | |
a5ed81dd JR |
167 | %description -n gda-firebird -l pl.UTF-8 |
168 | Pakiet dostarczający dane z Firebird dla GDA. | |
a1cd7e34 | 169 | |
efd3db9e | 170 | %package -n gda-freetds |
171 | Summary: GDA FreeTDS provider | |
24868d0c | 172 | Summary(pl.UTF-8): Źródło danych FreeTDS dla GDA |
28b3db68 | 173 | Group: Applications/Databases |
ae6edd35 | 174 | Requires: %{name} = %{epoch}:%{version}-%{release} |
28b3db68 | 175 | |
efd3db9e | 176 | %description -n gda-freetds |
177 | This package contains the GDA FreeTDS provider. | |
28b3db68 | 178 | |
a5ed81dd JR |
179 | %description -n gda-freetds -l pl.UTF-8 |
180 | Pakiet dostarczający dane z FreeTDS dla GDA. | |
efd3db9e | 181 | |
182 | %package -n gda-ldap | |
183 | Summary: GDA LDAP provider | |
24868d0c | 184 | Summary(pl.UTF-8): Źródło danych LDAP dla GDA |
a7fca7d7 | 185 | Group: Applications/Databases |
ae6edd35 | 186 | Requires: %{name} = %{epoch}:%{version}-%{release} |
efd3db9e | 187 | |
188 | %description -n gda-ldap | |
189 | This package contains the GDA LDAP provider. | |
190 | ||
a5ed81dd JR |
191 | %description -n gda-ldap -l pl.UTF-8 |
192 | Pakiet dostarczający dane z LDAP dla GDA | |
a1cd7e34 | 193 | |
66d19893 | 194 | %package -n gda-mdb |
195 | Summary: GDA MDB provider | |
24868d0c | 196 | Summary(pl.UTF-8): Źródło danych MDB |
a7fca7d7 | 197 | Group: Applications/Databases |
ae6edd35 | 198 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c2b2b84d | 199 | %{?with_mdb05:Requires: mdbtools-libs < 0.6} |
f7b985f9 | 200 | %{!?with_mdb05:Requires: mdbtools-libs >= 0.6} |
66d19893 | 201 | |
202 | %description -n gda-mdb | |
203 | This package contains the GDA MDB provider. | |
204 | ||
a5ed81dd JR |
205 | %description -n gda-mdb -l pl.UTF-8 |
206 | Pakiet dostarczający dane z MDB dla GDA. | |
66d19893 | 207 | |
28b3db68 | 208 | %package -n gda-mysql |
c8ba48aa | 209 | Summary: GDA MySQL provider |
24868d0c | 210 | Summary(pl.UTF-8): Źródło danych MySQL dla GDA |
28b3db68 | 211 | Group: Applications/Databases |
ae6edd35 | 212 | Requires: %{name} = %{epoch}:%{version}-%{release} |
a6417575 | 213 | Obsoletes: libgda-mysql0 |
28b3db68 | 214 | |
215 | %description -n gda-mysql | |
c8ba48aa | 216 | This package contains the GDA MySQL provider. |
217 | ||
a5ed81dd JR |
218 | %description -n gda-mysql -l pl.UTF-8 |
219 | Pakiet dostarczający dane z MySQL dla GDA. | |
a1cd7e34 | 220 | |
efd3db9e | 221 | %package -n gda-odbc |
222 | Summary: GDA ODBC provider | |
24868d0c | 223 | Summary(pl.UTF-8): Źródło danych ODBC dla GDA |
c8ba48aa | 224 | Group: Applications/Databases |
ae6edd35 | 225 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c8ba48aa | 226 | |
efd3db9e | 227 | %description -n gda-odbc |
228 | This package contains the GDA ODBC provider. | |
28b3db68 | 229 | |
a5ed81dd JR |
230 | %description -n gda-odbc -l pl.UTF-8 |
231 | Pakiet dostarczający dane z ODBC dla GDA. | |
4893d155 | 232 | |
e2ff96a2 JB |
233 | %package -n gda-oracle |
234 | Summary: GDA Oracle provider | |
235 | Summary(pl.UTF-8): Źródło danych Oracle dla GDA | |
236 | Group: Libraries | |
237 | Requires: %{name} = %{version}-%{release} | |
238 | ||
239 | %description -n gda-oracle | |
240 | This package contains the GDA Oracle provider. | |
241 | ||
242 | %description -n gda-oracle -l pl.UTF-8 | |
243 | Pakiet dostarczający dane z bazy Oracle dla GDA. | |
244 | ||
efd3db9e | 245 | %package -n gda-postgres |
246 | Summary: GDA PostgreSQL provider | |
24868d0c | 247 | Summary(pl.UTF-8): Źródło danych PostgreSQL dla GDA |
4893d155 | 248 | Group: Applications/Databases |
ae6edd35 | 249 | Requires: %{name} = %{epoch}:%{version}-%{release} |
efd3db9e | 250 | Obsoletes: libgda-postgres0 |
4893d155 | 251 | |
efd3db9e | 252 | %description -n gda-postgres |
253 | This package contains the GDA PostgreSQL provider. | |
4893d155 | 254 | |
a5ed81dd JR |
255 | %description -n gda-postgres -l pl.UTF-8 |
256 | Pakiet dostarczający dane z PostgreSQL dla GDA. | |
a1cd7e34 | 257 | |
efd3db9e | 258 | %package -n gda-sqlite |
259 | Summary: GDA SQLite provider | |
24868d0c | 260 | Summary(pl.UTF-8): Źródło danych SQLite dla GDA |
efd3db9e | 261 | Group: Applications/Databases |
ae6edd35 | 262 | Requires: %{name} = %{epoch}:%{version}-%{release} |
7031a749 | 263 | |
efd3db9e | 264 | %description -n gda-sqlite |
265 | This package contains the GDA SQLite provider. | |
7031a749 | 266 | |
a5ed81dd JR |
267 | %description -n gda-sqlite -l pl.UTF-8 |
268 | Pakiet dostarczający dane z SQLite dla GDA. | |
7031a749 | 269 | |
f7b985f9 MB |
270 | %package -n gda-sybase |
271 | Summary: GDA Sybase provider | |
272 | Summary(pl.UTF-8): Źródło danych Sybase dla GDA | |
273 | Group: Applications/Databases | |
274 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
275 | ||
276 | %description -n gda-sybase | |
277 | This package contains the GDA Sybase provider. | |
278 | ||
279 | %description -n gda-sybase -l pl.UTF-8 | |
280 | Pakiet dostarczający dane z Sybase dla GDA. | |
281 | ||
ee58c893 JB |
282 | %package -n gda-xbase |
283 | Summary: GDA xBase provider | |
24868d0c | 284 | Summary(pl.UTF-8): Źródło danych xBase dla GDA |
ee58c893 | 285 | Group: Applications/Databases |
ae6edd35 | 286 | Requires: %{name} = %{epoch}:%{version}-%{release} |
ee58c893 JB |
287 | |
288 | %description -n gda-xbase | |
289 | This package contains the GDA xBase (dBase, Clipper, FoxPro) provider. | |
290 | ||
a5ed81dd JR |
291 | %description -n gda-xbase -l pl.UTF-8 |
292 | Pakiet dostarczający dane z xBase (dBase, Clippera, FoxPro) dla GDA. | |
ee58c893 | 293 | |
28b3db68 | 294 | %prep |
c8ba48aa | 295 | %setup -q |
105e4474 | 296 | %if %{with mdb05} |
bb420e02 | 297 | %patch0 -p1 |
6057325e | 298 | %endif |
bb420e02 | 299 | %patch1 -p1 |
0ada1dd4 | 300 | %patch2 -p1 |
ae6edd35 | 301 | %patch3 -p1 |
105e4474 JB |
302 | %patch4 -p1 |
303 | %patch5 -p1 | |
2ac68972 | 304 | %patch6 -p1 |
f7b985f9 | 305 | %patch7 -p1 |
ef70d219 | 306 | %patch8 -p1 |
11517932 | 307 | %patch9 -p1 |
142780d3 | 308 | %patch10 -p1 |
24d1d436 | 309 | %patch11 -p1 |
9e59a8c5 | 310 | %patch12 -p1 |
b1d883f6 | 311 | |
28b3db68 | 312 | %build |
b1d883f6 | 313 | CXXFLAGS="%{rpmcxxflags} -fno-rtti -fno-exceptions" |
62d7d353 | 314 | %{__intltoolize} |
acbe8cc1 | 315 | %{__libtoolize} |
b7cca347 | 316 | %{__aclocal} |
20eb05d1 | 317 | %{__autoconf} |
318 | %{__automake} | |
c8ba48aa | 319 | %configure \ |
ae6edd35 | 320 | --enable-gtk-doc \ |
61a37344 | 321 | --with-html-dir=%{_gtkdocdir} \ |
e2ff96a2 JB |
322 | --with-firebird%{!?with_firebird:=no} \ |
323 | --with-ldap%{!?with_ldap:=no} \ | |
324 | --with-mdb%{!?with_mdb:=no} \ | |
325 | --with-mysql%{!?with_mysql:=no} \ | |
326 | --with-odbc%{!?with_odbc:=no} \ | |
327 | --with-oracle%{!?with_oci:=no} \ | |
328 | --with-postgres%{!?with_pgsql:=no} \ | |
329 | --with-sqlite%{!?with_sqlite:=no} \ | |
f7b985f9 | 330 | %{?with_sybase:--with-sybase=/usr} \ |
e2ff96a2 JB |
331 | --with-tds%{!?with_freetds:=no} \ |
332 | --with-xbase%{!?with_xbase:=no} | |
174d0c9d | 333 | %{__make} -j1 |
28b3db68 | 334 | |
335 | %install | |
336 | rm -rf $RPM_BUILD_ROOT | |
337 | ||
c8ba48aa | 338 | %{__make} install \ |
2ac68972 | 339 | DESTDIR=$RPM_BUILD_ROOT |
1c4597eb | 340 | |
885fcf2a | 341 | # modules dlopened by *.so through libgmodule |
142780d3 JB |
342 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgda/providers/*.{a,la} |
343 | ||
344 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{sr@Latn,sr@latin} | |
885fcf2a | 345 | |
c8ba48aa | 346 | %find_lang %{name} --with-gnome --all-name |
28b3db68 | 347 | |
348 | %clean | |
349 | rm -rf $RPM_BUILD_ROOT | |
350 | ||
bcbff75e JB |
351 | %post -p /sbin/ldconfig |
352 | %postun -p /sbin/ldconfig | |
353 | ||
354 | %post apidocs | |
ae6edd35 | 355 | %scrollkeeper_update_post |
356 | ||
bcbff75e | 357 | %postun apidocs |
ae6edd35 | 358 | %scrollkeeper_update_postun |
c8ba48aa | 359 | |
ed86a141 | 360 | %files -f %{name}.lang |
c8ba48aa | 361 | %defattr(644,root,root,755) |
108e1980 JB |
362 | %doc AUTHORS ChangeLog NEWS README |
363 | %attr(755,root,root) %{_bindir}/gda-config-tool | |
24d1d436 JB |
364 | %attr(755,root,root) %{_libdir}/libgda-2.so.*.*.* |
365 | %attr(755,root,root) %ghost %{_libdir}/libgda-2.so.3 | |
366 | %attr(755,root,root) %{_libdir}/libgda-report-2.so.*.*.* | |
367 | %attr(755,root,root) %ghost %{_libdir}/libgda-report-2.so.3 | |
368 | %attr(755,root,root) %{_libdir}/libgdasql.so.*.*.* | |
369 | %attr(755,root,root) %ghost %{_libdir}/libgdasql.so.3 | |
ae6edd35 | 370 | %dir %{_libdir}/libgda |
371 | %dir %{_libdir}/libgda/providers | |
372 | %attr(755,root,root) %{_libdir}/libgda/providers/libgda-xml.so | |
4893d155 | 373 | %{_datadir}/libgda |
108e1980 | 374 | %dir %{_sysconfdir}/libgda |
f7b985f9 | 375 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libgda/config |
108e1980 | 376 | %{_mandir}/man1/gda-config-tool.1* |
142780d3 | 377 | %{_mandir}/man5/gda-config.5* |
c8ba48aa | 378 | |
ed86a141 | 379 | %files devel |
c8ba48aa | 380 | %defattr(644,root,root,755) |
49412792 | 381 | %attr(755,root,root) %{_bindir}/gda-report-test |
c8ba48aa | 382 | %attr(755,root,root) %{_bindir}/gda-run |
4893d155 | 383 | %attr(755,root,root) %{_bindir}/gda-test |
ae6edd35 | 384 | %attr(755,root,root) %{_libdir}/libgda-2.so |
385 | %attr(755,root,root) %{_libdir}/libgda-report-2.so | |
4893d155 | 386 | %attr(755,root,root) %{_libdir}/libgdasql.so |
ae6edd35 | 387 | %{_libdir}/libgda-2.la |
388 | %{_libdir}/libgda-report-2.la | |
4893d155 | 389 | %{_libdir}/libgdasql.la |
ae6edd35 | 390 | %{_includedir}/libgda-1.2 |
bb420e02 | 391 | %{_pkgconfigdir}/libgda.pc |
c8ba48aa | 392 | |
393 | %files static | |
394 | %defattr(644,root,root,755) | |
bb420e02 JB |
395 | %{_libdir}/libgda-2.a |
396 | %{_libdir}/libgda-report-2.a | |
397 | %{_libdir}/libgdasql.a | |
ae6edd35 | 398 | |
399 | %files apidocs | |
400 | %defattr(644,root,root,755) | |
bb420e02 | 401 | %{_gtkdocdir}/libgda |
bcbff75e | 402 | %{_omf_dest_dir}/%{name} |
c8ba48aa | 403 | |
256c7d6f | 404 | %files -n gda-db |
405 | %defattr(644,root,root,755) | |
ae6edd35 | 406 | %attr(755,root,root) %{_libdir}/libgda/providers/libgda-bdb.so |
256c7d6f | 407 | |
66d19893 | 408 | %if %{with firebird} |
efd3db9e | 409 | %files -n gda-firebird |
c8ba48aa | 410 | %defattr(644,root,root,755) |
ae6edd35 | 411 | %attr(755,root,root) %{_libdir}/libgda/providers/libgda-firebird.so |
257768f0 | 412 | %endif |
28b3db68 | 413 | |
66d19893 | 414 | %if %{with freetds} |
efd3db9e | 415 | %files -n gda-freetds |
c8ba48aa | 416 | %defattr(644,root,root,755) |
ae6edd35 | 417 | %attr(755,root,root) %{_libdir}/libgda/providers/libgda-freetds.so |
efd3db9e | 418 | %endif |
419 | ||
66d19893 | 420 | %if %{with ldap} |
efd3db9e | 421 | %files -n gda-ldap |
422 | %defattr(644,root,root,755) | |
ae6edd35 | 423 | %attr(755,root,root) %{_libdir}/libgda/providers/libgda-ldap.so |
257768f0 | 424 | %endif |
28b3db68 | 425 | |
66d19893 | 426 | %if %{with mdb} |
427 | %files -n gda-mdb | |
428 | %defattr(644,root,root,755) | |
ae6edd35 | 429 | %attr(755,root,root) %{_libdir}/libgda/providers/libgda-mdb.so |
66d19893 | 430 | %endif |
431 | ||
432 | %if %{with mysql} | |
28b3db68 | 433 | %files -n gda-mysql |
c8ba48aa | 434 | %defattr(644,root,root,755) |
ae6edd35 | 435 | %attr(755,root,root) %{_libdir}/libgda/providers/libgda-mysql.so |
257768f0 | 436 | %endif |
4893d155 | 437 | |
66d19893 | 438 | %if %{with odbc} |
efd3db9e | 439 | %files -n gda-odbc |
4893d155 | 440 | %defattr(644,root,root,755) |
ae6edd35 | 441 | %attr(755,root,root) %{_libdir}/libgda/providers/libgda-odbc.so |
257768f0 | 442 | %endif |
c8ba48aa | 443 | |
e2ff96a2 JB |
444 | %if %{with oci} |
445 | %files -n gda-oracle | |
446 | %defattr(644,root,root,755) | |
447 | %attr(755,root,root) %{_libdir}/libgda/providers/libgda-oracle.so | |
448 | %endif | |
449 | ||
66d19893 | 450 | %if %{with pgsql} |
efd3db9e | 451 | %files -n gda-postgres |
2c86248d | 452 | %defattr(644,root,root,755) |
ae6edd35 | 453 | %attr(755,root,root) %{_libdir}/libgda/providers/libgda-postgres.so |
257768f0 | 454 | %endif |
7031a749 | 455 | |
66d19893 | 456 | %if %{with sqlite} |
efd3db9e | 457 | %files -n gda-sqlite |
7031a749 | 458 | %defattr(644,root,root,755) |
ae6edd35 | 459 | %attr(755,root,root) %{_libdir}/libgda/providers/libgda-sqlite.so |
257768f0 | 460 | %endif |
ee58c893 | 461 | |
f7b985f9 MB |
462 | %if %{with sybase} |
463 | %files -n gda-sybase | |
464 | %defattr(644,root,root,755) | |
465 | %attr(755,root,root) %{_libdir}/libgda/providers/libgda-sybase.so | |
466 | %endif | |
467 | ||
ee58c893 JB |
468 | %if %{with xbase} |
469 | %files -n gda-xbase | |
470 | %defattr(644,root,root,755) | |
ae6edd35 | 471 | %attr(755,root,root) %{_libdir}/libgda/providers/libgda-xbase.so |
ee58c893 | 472 | %endif |