SPECS: libgda.spec - build sybase provider - release 6
megabajt
megabajt at pld-linux.org
Mon Jul 21 20:13:34 CEST 2008
Author: megabajt Date: Mon Jul 21 18:13:34 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- build sybase provider
- release 6
---- Files affected:
SPECS:
libgda.spec (1.121 -> 1.122)
---- Diffs:
================================================================
Index: SPECS/libgda.spec
diff -u SPECS/libgda.spec:1.121 SPECS/libgda.spec:1.122
--- SPECS/libgda.spec:1.121 Mon Jul 21 17:45:08 2008
+++ SPECS/libgda.spec Mon Jul 21 20:13:28 2008
@@ -10,6 +10,7 @@
%bcond_without odbc # build without unixODBC
%bcond_without pgsql # build without PostgreSQL plugin
%bcond_without sqlite # build without sqlite plugin
+%bcond_without sybase # build without sybase plugin
%bcond_without xbase # build without xbase plugin
#
%ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
@@ -19,11 +20,11 @@
Summary(pl.UTF-8): Biblioteka GNU Data Access
Name: libgda
Version: 1.2.4
-Release: 5
+Release: 6
Epoch: 1
License: LGPL v2/GPL v2
Group: Applications/Databases
-Source0: http://ftp.gnome.org/pub/gnome/sources/libgda/1.2/%{name}-%{version}.tar.bz2
+Source0: http://ftp.gnome.org/pub/GNOME/sources/libgda/1.2/%{name}-%{version}.tar.bz2
# Source0-md5: 512a8ed842ce98eb432e69bd6867f437
Patch0: %{name}-mdb.patch
Patch1: %{name}-sqlite.patch
@@ -32,6 +33,7 @@
Patch4: %{name}-xbase.patch
Patch5: %{name}-mdb2.patch
Patch6: %{name}-gtk-doc.patch
+Patch7: %{name}-sybase.patch
URL: http://www.gnome-db.org/
%{?with_firebird:BuildRequires: Firebird-devel}
BuildRequires: autoconf >= 2.59
@@ -48,9 +50,10 @@
BuildRequires: libxml2-devel >= 1:2.6.26
BuildRequires: libxslt-devel >= 1.1.17
%if %{with_mdb}
-%{!?with_mdb05:BuildRequires: mdbtools-devel >= 0.6}
%{?with_mdb05:BuildRequires: mdbtools-devel < 0.6}
+%{!?with_mdb05:BuildRequires: mdbtools-devel >= 0.6}
%endif
+%{?with_sybase:BuildRequires: freetds-devel >= 0.82}
%{?with_mysql:BuildRequires: mysql-devel}
%{?with_ldap:BuildRequires: openldap-devel >= 2.4.6}
BuildRequires: perl-base
@@ -184,8 +187,8 @@
Summary(pl.UTF-8): Źródło danych MDB
Group: Applications/Databases
Requires: %{name} = %{epoch}:%{version}-%{release}
-%{!?with_mdb05:Requires: mdbtools-libs >= 0.6}
%{?with_mdb05:Requires: mdbtools-libs < 0.6}
+%{!?with_mdb05:Requires: mdbtools-libs >= 0.6}
%description -n gda-mdb
This package contains the GDA MDB provider.
@@ -243,6 +246,18 @@
%description -n gda-sqlite -l pl.UTF-8
Pakiet dostarczający dane z SQLite dla GDA.
+%package -n gda-sybase
+Summary: GDA Sybase provider
+Summary(pl.UTF-8): Źródło danych Sybase dla GDA
+Group: Applications/Databases
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description -n gda-sybase
+This package contains the GDA Sybase provider.
+
+%description -n gda-sybase -l pl.UTF-8
+Pakiet dostarczający dane z Sybase dla GDA.
+
%package -n gda-xbase
Summary: GDA xBase provider
Summary(pl.UTF-8): Źródło danych xBase dla GDA
@@ -266,6 +281,7 @@
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
%build
CXXFLAGS="%{rpmcxxflags} -fno-rtti -fno-exceptions"
@@ -286,6 +302,7 @@
--with%{!?with_sqlite:out}-sqlite \
--with%{!?with_freetds:out}-tds \
--with%{!?with_xbase:out}-xbase \
+ %{?with_sybase:--with-sybase=/usr} \
--without-oracle
%{__make} -j1
@@ -324,7 +341,7 @@
%attr(755,root,root) %{_libdir}/libgda/providers/libgda-xml.so
%{_datadir}/libgda
%dir %{_sysconfdir}/libgda
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/libgda/config
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libgda/config
%{_mandir}/man1/gda-config-tool.1*
%{_mandir}/man5/*
@@ -405,6 +422,12 @@
%attr(755,root,root) %{_libdir}/libgda/providers/libgda-sqlite.so
%endif
+%if %{with sybase}
+%files -n gda-sybase
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgda/providers/libgda-sybase.so
+%endif
+
%if %{with xbase}
%files -n gda-xbase
%defattr(644,root,root,755)
@@ -417,6 +440,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.122 2008/07/21 18:13:28 megabajt
+- build sybase provider
+- release 6
+
Revision 1.121 2008/07/21 15:45:08 megabajt
- disable freetds bcond by default
- release 5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libgda.spec?r1=1.121&r2=1.122&f=u
More information about the pld-cvs-commit
mailing list