From 743b77bbbf9c87f0c14e3f66ec43a0d05f805663 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Jan 13 2006 17:40:29 +0000 Subject: disable postgres --- diff --git a/gnucash.spec b/gnucash.spec index 952515c..bd4a498 100644 --- a/gnucash.spec +++ b/gnucash.spec @@ -1,4 +1,4 @@ -%define svnrev 12307 +%define svnrev 12326 Name: gnucash Summary: GnuCash is an application to keep track of your finances. @@ -15,7 +15,7 @@ Patch4: gnucash-1.8.6-64bit-fixes.patch Patch5: gnucash-1.8.12-aq.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildPrereq: g-wrap-devel >= 1.3.2, gtkhtml3-devel -BuildPrereq: postgresql-devel, libgsf-devel >= 1.12.2 +BuildPrereq: libgsf-devel >= 1.12.2 # cairo-devel >= 0.5.0 BuildPrereq: libglade2-devel >= 2.3.6, libgnomeprint22-devel >= 2.8.0 BuildPrereq: libofx-devel, aqbanking-devel, docbook-style-xsl @@ -23,6 +23,7 @@ BuildRequires: desktop-file-utils, scrollkeeper texinfo Requires: slib >= 3a1-5 Prereq: /sbin/ldconfig, scrollkeeper >= 0.3.4 %define __perl_requires %{nil} +Obsoletes: gnucash-backend-postgres %description GnuCash is a personal finance manager. A check-book like register GUI @@ -31,18 +32,6 @@ currency trades. The interface is designed to be simple and easy to use, but is backed with double-entry accounting principles to ensure balanced books. -%package backend-postgres -Summary: Backend for storing GnuCash data in a PostgreSQL database. -Group: Applications/Productivity -Requires: gnucash = %{version} - -%description backend-postgres - -This package contains a backend for storing your GnuCash accounts and -transactions in a PostgreSQL database. Install this package if you -want to keep your financial data in a database instead of a flat file -(recommended for large volumes of data and commercial sites). - %prep %setup -q -n gnucash -a 1 #%patch3 -p1 -b .icon @@ -51,7 +40,7 @@ want to keep your financial data in a database instead of a flat file %build ./autogen.sh --prefix=/usr -%configure --enable-sql --enable-error-on-warning=no \ +%configure --disable-sql --enable-error-on-warning=no \ --enable-ofx \ --enable-hbci \ # --with-cairo \ @@ -118,7 +107,6 @@ done %{_libexecdir}/gnucash %{_libdir}/* %exclude /usr/lib/debug -%exclude %{_libdir}/libgnc-backend-postgres* %{_datadir}/xml/* %{_datadir}/gnucash %{_datadir}/gnome/help/gnucash @@ -132,11 +120,6 @@ done %doc AUTHORS COPYING ChangeLog ChangeLog.1 HACKING NEWS README README.patches %doc doc/README.german doc/README.francais doc/guile-hackers.txt -%files backend-postgres -%defattr(-,root,root) -%doc src/backend/postgres/README -%{_libdir}/libgnc-backend-postgres* - %changelog * Sat Dec 24 2005 Bill Nottingham 1.9.0-0.12168.1 - update to 2.x branch