rpms/libgda/devel libgda.spec,1.31,1.32

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Thu Aug 16 15:25:56 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/libgda/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18026

Modified Files:
	libgda.spec 
Log Message:
* Wed Aug 15 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1:3.0.1-3
- Enable microsoft access (mdb) support now that mdbtools is in Fedora
- Enable xBase (dBase, Clipper, FoxPro) support, it seems that xbase has been
  available for quite a while now
- Switch from using mysqlclient10 to using mysql-libs for the msql provider



Index: libgda.spec
===================================================================
RCS file: /cvs/extras/rpms/libgda/devel/libgda.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- libgda.spec	16 Aug 2007 11:51:24 -0000	1.31
+++ libgda.spec	16 Aug 2007 15:25:24 -0000	1.32
@@ -10,17 +10,19 @@
 # --without odbc
 # --without postgres
 # --without tds
+# --without xbase
 # 
 
-%define           FREETDS  1
 %define           IBMDB2   0
-%define           MYSQL    1
-%define           ODBC     1
 %define           ORACLE   0
-%define           POSTGRES 1
 %define           SYBASE   0
-%define           MDB      1
 %define           LDAP     1
+%define           MDB      1
+%define           MYSQL    1
+%define           ODBC     1
+%define           POSTGRES 1
+%define           FREETDS  1
+%define           XBASE    1
 
 %{?_with_db2:%define IBMDB2     1}
 %{?_with_oracle:%define ORACLE  1}
@@ -31,6 +33,7 @@
 %{?_without_odbc:%define ODBC   0}
 %{?_without_postgres:%define POSTGRES 0}
 %{?_without_tds:%define FREETDS 0}
+%{?_without_xbase:%define XBASE 0}
 
 Name:             libgda
 Epoch:            1
@@ -80,6 +83,10 @@
 BuildRequires:    openldap-devel
 %endif
 
+%if %{XBASE}
+BuildRequires:    xbase-devel
+%endif
+
 %description
 libgda is a library that eases the task of writing
 gnome database programs.
@@ -287,6 +294,22 @@
 This package includes the pkgconfig file for the libgda LDAP provider.
 %endif
 
+%if %{XBASE}
+%package xbase
+Summary:          XBASE provider for libgda
+Group:            System Environment/Libraries
+Requires:         %{name} = %{epoch}:%{version}-%{release}
+%description xbase
+This package includes the GDA XBASE provider.
+
+%package xbase-devel
+Summary:          XBASE provider for libgda pkgconfig file
+Group:            Development/Libraries
+Requires:         %{name}-xbase = %{epoch}:%{version}-%{release}, pkgconfig
+%description xbase-devel
+This package includes the pkgconfig file for the libgda XBASE provider.
+%endif
+
 
 %prep
 %setup -q
@@ -359,6 +382,12 @@
 CONFIG="$CONFIG --without-ldap"
 %endif
 
+%if %{XBASE}
+CONFIG="$CONFIG --with-xbase"
+%else
+CONFIG="$CONFIG --without-xbase"
+%endif
+
 %configure $CONFIG
 # Don't use rpath!
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@@ -517,10 +546,22 @@
 %{_libdir}/pkgconfig/libgda-ldap-3.0.pc
 %endif
 
+%if %{XBASE}
+%files xbase
+%defattr(-,root,root)
+%{_libdir}/libgda-3.0/providers/libgda-xbase.so
+
+%files xbase-devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/libgda-xbase-3.0.pc
+%endif
+
 
 %changelog
 * Wed Aug 15 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1:3.0.1-3
 - Enable microsoft access (mdb) support now that mdbtools is in Fedora
+- Enable xBase (dBase, Clipper, FoxPro) support, it seems that xbase has been
+  available for quite a while now
 - Switch from using mysqlclient10 to using mysql-libs for the msql provider
 
 * Wed Aug  8 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1:3.0.1-2




More information about the fedora-extras-commits mailing list