%define pkgname libgda %define apiver 4.0 %define majversion %(echo %version | cut -d. -f 1-2) Name: libgda4 Version: 4.2.5 Release: 1mamba Summary: A library implementing a free unified data access architecture Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome-db.org/ Source: http://ftp.gnome.org/pub/GNOME/sources/%{pkgname}/%{majversion}/%{pkgname}-%{version}.tar.gz Patch0: %{name}-3.99.8-java_check.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: gtk-doc BuildRequires: libdb47-devel BuildRequires: libgamin-devel BuildRequires: libgcrypt-devel BuildRequires: libglib-devel BuildRequires: libgnutls-devel BuildRequires: libgpg-error-devel BuildRequires: libmdb-devel BuildRequires: libmysql5-devel BuildRequires: libncurses-devel BuildRequires: libpostgresql-devel BuildRequires: libreadline-devel BuildRequires: libselinux-devel BuildRequires: libsoup-devel BuildRequires: libstdc++6-devel BuildRequires: libtasn1-devel BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: intltool BuildRequires: perl BuildRequires: perl-XML-Parser BuildRequires: gettext-devel BuildRequires: pkgconfig BuildRequires: libodbc-devel BuildRequires: libopenldap-devel BuildRequires: libsasl-devel BuildRequires: libsqlite3-devel BuildRequires: popt-devel BuildRequires: libpopt-devel BuildRequires: bison, flex BuildRequires: gtk-doc BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A library implementing a free unified data access architecture. %package devel Group: Development/Libraries Summary: Devel package for libgda Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-bdb = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-mysql = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-postgresql = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-sqlite = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-mdb = %{?epoch:%epoch:}%{version}-%{release} %description devel A library implementing a free unified data access architecture. This package contains static libraries and header files need for development. %package -n gda Group: Graphical Desktop/Applications/Databases Summary: Database User Interfaces based on libgda Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n gda Database User Interfaces based on libgda. %package mdb Group: Development/Libraries Summary: mdb provider for libgda Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description mdb mdb provider for %{name}. %package mysql Group: Development/Libraries Summary: MySql provider for libgda Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description mysql MySql provider for %{name}. %package postgresql Group: Development/Libraries Summary: PostgreSQL provider for libgda Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description postgresql PostgreSQL provider for %{name}. %package jdbc Group: Development/Libraries Summary: JDBC provider for libgda Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description jdbc JDBC provider for %{name}. %package odbc Group: Development/Libraries Summary: ODBC provider for libgda Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description odbc ODBC provider for %{name}. %package ldap Group: Development/Libraries Summary: LDAP provider for libgda Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description ldap LDAP provider for %{name}. %package bdb Group: Development/Libraries Summary: Berkely DB provider for libgda Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description bdb Berkeley DB provider for %{name}. %package sqlite Group: Development/Libraries Summary: SQLite providers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description sqlite SQLite provider for %{name}. %package apidocs Summary: %{pkgname} API documentation Group: Documentation Requires: gtk-doc %description apidocs %{pkgname} API documentation. # FIXME: # checking for GTK_SHARP... checking for GAPI... configure: "Not building gda-sharp" # # C# bindings = no # Providers: # FireBird = no # FreeTDS = no # IBM DB2 = no # MDB (MS Access) = no # mSQL = no # Oracle = no # Sybase = no # xBase (dBase, Clipper, FoxPro) = no %prep %setup -q -n libgda-%{version} #%patch0 -p1 #/usr/lib/jvm/jdk/bin/javac getsp.java %build %configure \ --enable-shared \ --disable-static \ --enable-gtk-doc \ --enable-csharp \ --disable-debug \ --with-mysql \ --with-postgres \ --with-odbc=%{_prefix} \ --with-ldap \ --with-bdb \ --with-java \ --disable-introspection %make -j1 %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall %find_lang libgda-%{apiver} %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -n gda %defattr(-,root,root) %{_bindir}/gda-* %{_bindir}/gda_trml2html/*.py %{_bindir}/gda_trml2pdf/*.py %{_libdir}/libgda-ui-%{apiver}.so.* %{_libdir}/libgda-%{apiver}/plugins %{_libdir}/libgda-%{apiver}/providers %{_datadir}/applications/gda-browser-%{apiver}.desktop %{_datadir}/applications/gda-control-center-%{apiver}.desktop %{_datadir}/pixmaps/gda-browser-%{apiver}.png %{_datadir}/icons/hicolor/*/apps/gda-control-center.png %{_datadir}/gnome/help/gda-browser %{_datadir}/gtk-doc/html/gda-browser %{_datadir}/libgda-%{apiver}/icons/hicolor/ %{_datadir}/libgda-%{apiver}/php %{_datadir}/libgda-%{apiver}/pixmaps %{_datadir}/libgda-%{apiver}/ui %{_datadir}/libgda-%{apiver}/web_specs_auth.xml %{_datadir}/libgda-%{apiver}/web_specs_dsn.xml %files -f libgda-%{apiver}.lang %defattr(-,root,root) %{_sysconfdir}/libgda-%{apiver}/config %{_sysconfdir}/libgda-%{apiver}/sales_test.db %{_libdir}/libgda-%{apiver}.so.* %{_libdir}/libgda-report-%{apiver}.so.* %{_libdir}/libgda-xslt-%{apiver}.so.* #%{_libdir}/libgda_handlers-%{apiver}.so.* #%{_libdir}/libgda_sql_delimiter-%{apiver}.so.* #%{_libdir}/libgda_sql_transaction-%{apiver}.so.* #%{_libdir}/libgdasql-%{apiver}.so.* %{_datadir}/libgda-%{apiver}/import_encodings.xml %{_datadir}/libgda-%{apiver}/language-specs/gda-sql.lang %{_datadir}/libgda-%{apiver}/server_operation.glade %{_datadir}/libgda-%{apiver}/sqlcipher_specs_*.xml #%{_datadir}/libgda-%{apiver}/xml/*.dtd #%{_datadir}/libgda-%{apiver}/xml/*.xsl %{_datadir}/libgda-%{apiver}/information_schema.xml %{_datadir}/libgda-%{apiver}/dtd/*.dtd %{_datadir}/libgda-%{apiver}/web/* %{_mandir}/man1/* #%{_mandir}/man5/* %files bdb %defattr(-,root,root) %{_datadir}/libgda-%{apiver}/bdb_*.xml %{_libdir}/libgda-%{apiver}/providers/libgda-bdb.so %files ldap %defattr(-,root,root) #%{_datadir}/libgda-%{apiver}/ldap_*.xml #%{_libdir}/libgda-%{apiver}/providers/libgda-ldap.so %files mdb %defattr(-,root,root) %{_datadir}/libgda-%{apiver}/mdb_*.xml %{_libdir}/libgda-%{apiver}/providers/libgda-mdb.so %files mysql %defattr(-,root,root) %{_datadir}/libgda-%{apiver}/mysql_*.xml %{_libdir}/libgda-%{apiver}/providers/libgda-mysql.so %files jdbc %defattr(-,root,root) %{_libdir}/libgda-%{apiver}/providers/gdaprovider-%{apiver}.jar %{_libdir}/libgda-%{apiver}/providers/libgda-jdbc.so %{_datadir}/libgda-%{apiver}/jdbc_specs_create_table.xml %{_datadir}/libgda-%{apiver}/jdbc_specs_dsn.xml %files odbc %defattr(-,root,root) #%{_datadir}/libgda-%{apiver}/odbc_*.xml #%{_libdir}/libgda-%{apiver}/providers/libgda-odbc.so %files postgresql %defattr(-,root,root) %{_datadir}/libgda-%{apiver}/postgres_*.xml %{_libdir}/libgda-%{apiver}/providers/libgda-postgres.so %files sqlite %defattr(-,root,root) %{_datadir}/libgda-%{apiver}/sqlite_*.xml %{_libdir}/libgda-%{apiver}/providers/libgda-sqlite.so %files devel %defattr(-,root,root) %{_bindir}/gdaui-demo-4.0 %{_includedir}/libgda-%{apiver}/libgda/ %{_includedir}/libgda-%{apiver}/libgda-ui/ %{_includedir}/libgda-%{apiver}/libgda-xslt/ %{_includedir}/libgda-%{apiver}/libgda-report/ #%{_includedir}/libgda-%{apiver}/providers-support/ #%{_includedir}/libgda-%{apiver}/sql-parser/ #%{_includedir}/libgda-%{apiver}/virtual/ %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/libgda-%{apiver}/providers/libgda-*.la %{_datadir}/libgda-%{apiver}/demo #%{_libdir}/girepository-1.0/Gda-*.typelib #%{_datadir}/gir-1.0/Gda-*.gir %{_libdir}/pkgconfig/libgda*-%{apiver}.pc %files apidocs %defattr(-,root,root) %{_datadir}/gtk-doc/html/%{pkgname}-%{apiver}/ %changelog * Mon Mar 07 2011 Automatic Build System 4.2.5-1mamba - automatic update by autodist * Sat Jan 15 2011 Automatic Build System 4.2.3-1mamba - automatic update by autodist * Fri Dec 03 2010 Automatic Build System 4.2.2-1mamba - automatic update by autodist * Sat Nov 20 2010 Automatic Build System 4.2.1-1mamba - automatic update by autodist * Thu Oct 28 2010 Silvan Calarco 4.2.0-1mamba - update to 4.2.0 * Mon Jun 28 2010 Automatic Build System 4.0.9-1mamba - automatic update by autodist * Sat Jun 05 2010 Automatic Build System 4.0.8-1mamba - automatic update by autodist * Thu Oct 15 2009 Automatic Build System 4.0.5-1mamba - automatic update by autodist * Tue Sep 01 2009 Automatic Build System 4.0.4-1mamba - automatic update by autodist * Sat Jun 13 2009 Silvan Calarco 4.0.2-1mamba - update to 4.0.2 * Thu Jan 15 2009 Silvan Calarco 3.99.8-1mamba - update to 3.99.8 - renamed to libgda4 * Wed Apr 11 2007 Davide Madrisan 2.99.5-2mamba - new subpackage apidocs with API documentation - added missing build requirements - do not build static libraries - use %%find_lang macro to package l18n files - repackage providers for supported db in subpackages * Tue Apr 10 2007 Tiziano Pratellesi 2.99.5-1mamba - update to version 2.99.5 * Mon Dec 19 2005 Silvan Calarco 1.2.3-1qilnx - update to version 1.2.3 by autospec * Fri Oct 28 2005 Davide Madrisan 1.2.2-2qilnx - security fix QSA-2005-129 (CAN-2005-2958) [QiLinux bug#56] * Wed Oct 26 2005 Davide Madrisan 1.2.2-1qilnx - update to version 1.2.2 by autospec - specfile fixes - added SQLite provider package * Thu Oct 07 2004 Silvan Calarco 1.1.6-1qilnx - update to version 1.1.6 by autospec - added bdb provider * Tue May 18 2004 Silvan Calarco 1.0.4-1qilnx - added missing .so in devel package - database package split * Tue May 18 2004 Silvan Calarco 1.0.4-1qilnx - first build