File gnucash.spec of Package gnucash

#
# spec file for package gnucash (Version 2.2.7)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           gnucash
Version:        2.2.7
Release:        1.<RELEASE19>
Url:            http://www.gnucash.org/
Group:          Productivity/Office/Finance
License:        GPL v2 or later
Summary:        Personal Finance Manager
Source:         %{name}-%{version}.tar.bz2
Source1:        %{name}-rpmlintrc
Patch:          gnucash-desktop.patch
Patch3:         gnucash-cpan-warning.patch
Requires:       guile slib
# Required to make quotes working. Gnucash can run without quotes support:
Requires:       perl-Crypt-SSLeay perl-DateManip perl-Finance-Quote perl-HTML-Parser perl-HTML-TableExtract perl-libwww-perl
BuildRequires:  doxygen fdupes gconf2-devel glib2-devel goffice-devel graphviz gtk2-devel gtkhtml2-devel guile-devel intltool ktoblzcheck-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libofx-devel libxml2-devel popt-devel slib swig update-desktop-files
# Optional features:
BuildRequires:  aqbanking-devel libchipcard3 libchipcard3-devel libofx-devel postgresql-devel
#BuildRequires: callgrind
# tested but unused BuildRequires: readline-devel qt3-devel termcap
%if %suse_version > 1000
Recommends:     gnucash-docs
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         %install_info_prereq
Requires:       %{name}-lang = %{version}
AutoReqProv:    on
%gconf_schemas_prereq

%description
GnuCash is a personal finance manager. A check book-like register GUI
allows you to enter and track bank accounts, stocks, income, and even
currency trades. A full set of reports allows you to see the state
ofyour finances. The interface is designed to be simple and easy to
use, but is backed with double-entry accounting principles to
ensurebalanced books.



Authors:
--------
    Robin Clark <rclark@hmc.edu>
    Linas Vepstas <linas@linas.org>
    Jeremy Collins <jcollins@gnucash.org>
    Rob Browning <rlb@cs.utexas.edu>
    Dave Peticolas <dave@krondo.com>
    Bill Gribble <grib@billgribble.com>
    Robert Graham Merkel <rgmerk@mira.net>
    James LewisMoss <dres@debian.org>
    Christian Stimming <stimming@tuhh.de>
    Joshua Sled <jsled@asynchronous.org>
    Derek Atkins <derek@ihtfp.com>
    David Hampton <hampton@employees.org>
    Chris Lyttle <chris@wilddev.net>
    Benoit Grégoire <bock@step.polymtl.ca>
    Neil Williams <linux@codehelp.co.uk>
    Chris Shoemaker <c.shoemaker@cox.net>
    Andrew Arensburger <arensb@cfar.umd.edu>
    Matt Armstrong <matt_armstrong@bigfoot.com>
    A. Alper Atici <alper_atici@yahoo.com>
    Fred Baube <fred@moremagic.com>
    Jan-Pascal van Best <j.p.vanbest@tbm.tudelft.nl>
    Dennis Björklund <dennisb@cs.chalmers.se>
    Andreas Bogk <andreas@andreas.org>
    Per Bojsen <bojsen@worldnet.att.net>
    Terry Boldt <tboldt@attglobal.net>
    Richard Braakman <dark@xs4all.nl>
    Simon Britnell <simon.britnell@peace.com>
    Christopher B. Browne <cbbrowne@hex.net>
    Johan Buret <johanburet@free.fr>
    Thomas Bushnell <tb@becket.net>
    Eskil Bylund <eskil.bylund@gmail.com>
    Paul Campbell <kemitix@users.sourceforge.net>
    Conrad Canterford <conrad@mail.watersprite.com.au>
    Bill Carlson <wwc@wwcnet.nu>
    David Mar?n Carre?o <davefx@aspl.f2s.com>
    Tomas Cernaj <tcernaj@gmx.de>
    Carol Champagne <carol@io.com>
    Nikos Charonitakis <charosn@her.forthnet.gr>
    Graham Chapman <grahamc@zeta.org.au>
    George Chen <georgec@sco.com>
    Albert Chin-A-Young <china@thewrittenword.com>
    Kenneth Christiansen <kenneth@gnome.org>
    Matthew Condell <mcondell@bbn.com>
    Patrick Condron <pcondon@rackspace.com>
    Raphael Dechenaux <raphael.dechenaux@worldonline.fr>
    Ciaran Deignan <Ciaran.Deignan@bull.net>
    Glen Ditchfield <gjditchfield@acm.org>
    Tyson Dowd <tyson@tyse.net>
    Koen D'Hondt <ripley@xs4all.nl>
    Bob Drzyzgula <bob@mostly.com>
    Volker Englisch <Volker@englisch.us>
    Stephen Evanchik <evanchsa@clarkson.edu>
    Paul Fenwick <pjf@schools.net.au>
    Hubert Figuiere <hfiguiere@teaser.fr>
    Valek Filippov <frob@df.ru>
    Jan-Uwe Finck <jufi@nerdnet.de>
    Kevin Finn <kevinfinn@mediaone.net>
    Ron Forrester <rjf@aracnet.com>
    Dave Freese <DFreese@osc.uscg.mil>
    Todd T. Fries <todd@flare.fries.net>
    John Goerzen <jgoerzen@complete.org>
    Hans de Graaff <hans@degraaff.org>
    Daniel Hagerty <hag@linnaean.org>
    Mitsuo Hamada <mhamada@redhat.com>
    Otto Hammersmith <otto@bug.redhat.com>
    Eric Hanchrow <offby1@blarg.net>
    Alexandru Harsanyi <haral@codec.ro>
    John Hasler <john@dhh.gt.org>
    Jon Kåre Hellan <hellan@acm.org>
    Hendrik-Jan Heins <hjh@passys.nl>
    Claus Hindsgaul <claus_h@image.dk>
    Péter Hosszú <hosszu@web.de>
    Edward J. Huff <ejhuff@huff20may77.us>
    Tomokazu Iwashita <iwashita@center.nitech.ac.jp>
    David Jafferian <david.jafferian@east.sun.com>
    Miquel Jordana Vilamitjana <jjvmjv@mundomail.net>
    Prakash Kailasa <PrakashK@bigfoot.com>
    Alexey Kakunin <small@arcadia.spb.ru>
    Ben Kelly <ben.kelly@ieee.org>
    Tom Kludy <tkludy@csd.sgi.com>
    Andreas Köhler <KoehlerAndreas@web.de>
    Matt Kraai <kraai@alumni.carnegiemellon.edu>
    Sven Kuenzler <sk@xgm.de>
    Eneko Lacunza <enlar@enlar.net>
    Bryan Larsen <blarsen@ada-works.com>
    Chris J (Oakton) Leach <LeachCJ@az1.bp.com>
    Geert Jan Janssens <janssens.geert@advalvas.be>
    Rich Johnson <rich@dogstar-interactive.com>
    Nicholas Lee <nj.lee@plumtree.co.nz>
    Graham Leggett <minfrin@sharp.fm>
    Georg Lehner <Jorge.Lehner@gmx.net>
    Ted Lemon <mellon@andare.fugue.com>
    Yannick Le Ny <y-le-ny@ifrance.com>
    Frederic Lespez <frederic.lespez@wanadoo.fr>
    Chao-Hsiung Liao <pesder.liao@msa.hinet.net>
    Grant Likely <glikely@nortelnetworks.com>
    Vitaly Lipatov <lav@altlinux.ru>
    Volodymyr M. Lisivka <lvm@mystery.lviv.net>
    Phil Longstaff <plongstaff@newearth.org>
    Duarte Loreto <happyguy_pt@hotmail.com>
    Lionel Elie Mamane <lionel@mamane.lu>
    Kjartan Maraas <kmaraas@gnome.org>
    Heath Martin <martinh@pegasus.cc.ucf.edu>
    Matt Martin <mgmartin@abacusnet.net>
    Yves-Eric Martin <yem_lists.gnucash.org@filter.yve.net>
    Juan Manuel García Molina <juanmagm@mail.com>
    David Montenegro <sunrise2000@comcast.net>
    Orestes Mas <orestes@tsc.upc.es>
    Christopher Molnar <molnarc@mandrakesoft.com>
    Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
    Lucimar Moresco <lucimarmoresco@hotmail.com>
    G. Allen Morris III <gam3@ann.softgams.com>
    Steven Murdoch <sjmurdoch@bigfoot.com>
    Jose Carlos Nascimento <joseca@psabs.com>
    Brent Neal <brent@baton.phys.lsu.edu>
    Christian Neumair <chris@gnome-de.org>
    Johnny Ernst Nielsen <j.e.nielsen@iname.com>
    Stefan Nobis <stefan-ml@snobis.de>
    Martin Norbäck <d95mback@dtek.chalmers.se>
    Peter Norton <spacey@inch.com>
    Bill Nottingham <notting@redhat.com>
    Peter O'Gorman <peter@pogma.com>
    OmNiBuS <webmaster@obsidian.uia.net>
    Gordon Oliver <gordo@pincoya.com>
    Scott Oonk <s.oonk@comcast.net>, <scott.oonk@gmail.com>
    Alan Orndorff <dwarf@solarisresources.com>
    Myroslav Opyr <mopyr@IPM.Lviv.UA>
    Laurent Pélecq <laurent.pelecq@wanadoo.fr>
    Sulyok Peter <sp@elte.hu>
    Alain Peyrat <Alain.Peyrat@nmu.alcatel.fr>
    Zdenko Podobný <zdpo@mailbox.sk>
    Peter Pointner <peter@wuzel.m.isar.de>
    Gavin Porter <maufk@csv.warwick.ac.uk>
    Tomas Pospisek <tpo@spin.ch>
    Paul Poulain <famille.p.poulain@free.fr>
    Ron Record <rr@sco.com>
    Keith Refson <Keith.Refson@earth.ox.ac.uk>
    Andreas Rottmann <a.rottmann@gmx.at>
    Betina Schmidt <betina-s@gmx.de>
    Dirk Schoenberger <schoenberger@signsoft.com>
    Jan Schrage <jan.schrage@urz.uni-heidelberg.de>
    Christopher Seawood <cls@seawood.org>
    Alessandro Seveso <aleseveso@tiscalinet.it>
    Mike Simons <msimons@fsimons01.erols.com>
    Keld Simonsen <keld@dkuug.dk>
    Richard Skelton <rich@brake.demon.co.uk>
    Thomas Vander Stichele <thomas@urgent.rug.ac.be>
    James Strandboge <jstrand1@rochester.rr.com>
    Henning Spruth <spruth@bigfoot.com>
    Ben Stanley <bds02@uow.edu.au>
    Robby Stephenson <robby.stephenson@usa.net>
    Michael T. Garrison Stuber <garrisonstuber@bellsouth.net>
    Bartek Szady <bszx@bszxdomain.edu.eu.org>
    Herbert Thoma <tma@iis.fhg.de>
    Tor Harald Thorland <linux@strigen.com>
    James A. Treacy <treacy@debian.org>
    Arnold Troeger <troeger@samart.co.th>
    Diane Trout <detrout@earthlink.net>
    Richard -Gilligan- Uschold <uschold@cs.ucf.edu>
    Matthew Vanecek <mevanecek@yahoo.com>
    Didier Vidal <didier-devel@9online.fr>
    Richard Wackerbarth <rkw@dataplex.net>
    Rob Walker <rob@valinux.com>
    Darin Willits <darin@blueyonder.co.uk>
    Andy Wingo <wingo@pobox.com>
    Tom Winterhalder <t.winterhalder@freesurf.ch>
    David Woodhouse <dwmw2@infradead.org>
    Ken Yamaguchi <gooch@ic.EECS.Berkeley.EDU>
    Shimpei Yamashita <shimpei@gol.com>
    Alex Zepeda <jazepeda@pacbell.net>

%package devel
License:        GPL v2 or later
Group:          Development/Libraries/C and C++
Summary:        Personal Finance Manager
Requires:       %{name} = %{version} aqbanking-devel gconf2-devel goffice-devel libgsf-devel gtk2-devel gtkhtml2-devel gwenhywfar-devel ktoblzcheck-devel libglade2-devel libgnomeui-devel libgnomeprint-devel libgnomeprintui-devel libofx-devel libtool popt-devel

%description devel
GnuCash is a personal finance manager. A check-book like register GUI
allows you to enter and track bank accounts, stocks, income and even
currency trades. A full set of reports allow you to see the state of
your finances. The interface is designed to be simple and easy to use,
but is backed with double-entry accounting principles to ensure
balanced books.



Authors:
--------
    Robin Clark <rclark@hmc.edu>
    Linas Vepstas <linas@linas.org>
    Jeremy Collins <jcollins@gnucash.org>
    Rob Browning <rlb@cs.utexas.edu>
    Dave Peticolas <dave@krondo.com>
    Bill Gribble <grib@billgribble.com>
    Robert Graham Merkel <rgmerk@mira.net>
    James LewisMoss <dres@debian.org>
    Christian Stimming <stimming@tuhh.de>
    Joshua Sled <jsled@asynchronous.org>
    Derek Atkins <derek@ihtfp.com>
    David Hampton <hampton@employees.org>
    Chris Lyttle <chris@wilddev.net>
    Benoit Grégoire <bock@step.polymtl.ca>
    Neil Williams <linux@codehelp.co.uk>
    Chris Shoemaker <c.shoemaker@cox.net>
    Andrew Arensburger <arensb@cfar.umd.edu>
    Matt Armstrong <matt_armstrong@bigfoot.com>
    A. Alper Atici <alper_atici@yahoo.com>
    Fred Baube <fred@moremagic.com>
    Jan-Pascal van Best <j.p.vanbest@tbm.tudelft.nl>
    Dennis Björklund <dennisb@cs.chalmers.se>
    Andreas Bogk <andreas@andreas.org>
    Per Bojsen <bojsen@worldnet.att.net>
    Terry Boldt <tboldt@attglobal.net>
    Richard Braakman <dark@xs4all.nl>
    Simon Britnell <simon.britnell@peace.com>
    Christopher B. Browne <cbbrowne@hex.net>
    Johan Buret <johanburet@free.fr>
    Thomas Bushnell <tb@becket.net>
    Eskil Bylund <eskil.bylund@gmail.com>
    Paul Campbell <kemitix@users.sourceforge.net>
    Conrad Canterford <conrad@mail.watersprite.com.au>
    Bill Carlson <wwc@wwcnet.nu>
    David Mar?n Carre?o <davefx@aspl.f2s.com>
    Tomas Cernaj <tcernaj@gmx.de>
    Carol Champagne <carol@io.com>
    Nikos Charonitakis <charosn@her.forthnet.gr>
    Graham Chapman <grahamc@zeta.org.au>
    George Chen <georgec@sco.com>
    Albert Chin-A-Young <china@thewrittenword.com>
    Kenneth Christiansen <kenneth@gnome.org>
    Matthew Condell <mcondell@bbn.com>
    Patrick Condron <pcondon@rackspace.com>
    Raphael Dechenaux <raphael.dechenaux@worldonline.fr>
    Ciaran Deignan <Ciaran.Deignan@bull.net>
    Glen Ditchfield <gjditchfield@acm.org>
    Tyson Dowd <tyson@tyse.net>
    Koen D'Hondt <ripley@xs4all.nl>
    Bob Drzyzgula <bob@mostly.com>
    Volker Englisch <Volker@englisch.us>
    Stephen Evanchik <evanchsa@clarkson.edu>
    Paul Fenwick <pjf@schools.net.au>
    Hubert Figuiere <hfiguiere@teaser.fr>
    Valek Filippov <frob@df.ru>
    Jan-Uwe Finck <jufi@nerdnet.de>
    Kevin Finn <kevinfinn@mediaone.net>
    Ron Forrester <rjf@aracnet.com>
    Dave Freese <DFreese@osc.uscg.mil>
    Todd T. Fries <todd@flare.fries.net>
    John Goerzen <jgoerzen@complete.org>
    Hans de Graaff <hans@degraaff.org>
    Daniel Hagerty <hag@linnaean.org>
    Mitsuo Hamada <mhamada@redhat.com>
    Otto Hammersmith <otto@bug.redhat.com>
    Eric Hanchrow <offby1@blarg.net>
    Alexandru Harsanyi <haral@codec.ro>
    John Hasler <john@dhh.gt.org>
    Jon Kåre Hellan <hellan@acm.org>
    Hendrik-Jan Heins <hjh@passys.nl>
    Claus Hindsgaul <claus_h@image.dk>
    Péter Hosszú <hosszu@web.de>
    Edward J. Huff <ejhuff@huff20may77.us>
    Tomokazu Iwashita <iwashita@center.nitech.ac.jp>
    David Jafferian <david.jafferian@east.sun.com>
    Miquel Jordana Vilamitjana <jjvmjv@mundomail.net>
    Prakash Kailasa <PrakashK@bigfoot.com>
    Alexey Kakunin <small@arcadia.spb.ru>
    Ben Kelly <ben.kelly@ieee.org>
    Tom Kludy <tkludy@csd.sgi.com>
    Andreas Köhler <KoehlerAndreas@web.de>
    Matt Kraai <kraai@alumni.carnegiemellon.edu>
    Sven Kuenzler <sk@xgm.de>
    Eneko Lacunza <enlar@enlar.net>
    Bryan Larsen <blarsen@ada-works.com>
    Chris J (Oakton) Leach <LeachCJ@az1.bp.com>
    Geert Jan Janssens <janssens.geert@advalvas.be>
    Rich Johnson <rich@dogstar-interactive.com>
    Nicholas Lee <nj.lee@plumtree.co.nz>
    Graham Leggett <minfrin@sharp.fm>
    Georg Lehner <Jorge.Lehner@gmx.net>
    Ted Lemon <mellon@andare.fugue.com>
    Yannick Le Ny <y-le-ny@ifrance.com>
    Frederic Lespez <frederic.lespez@wanadoo.fr>
    Chao-Hsiung Liao <pesder.liao@msa.hinet.net>
    Grant Likely <glikely@nortelnetworks.com>
    Vitaly Lipatov <lav@altlinux.ru>
    Volodymyr M. Lisivka <lvm@mystery.lviv.net>
    Phil Longstaff <plongstaff@newearth.org>
    Duarte Loreto <happyguy_pt@hotmail.com>
    Lionel Elie Mamane <lionel@mamane.lu>
    Kjartan Maraas <kmaraas@gnome.org>
    Heath Martin <martinh@pegasus.cc.ucf.edu>
    Matt Martin <mgmartin@abacusnet.net>
    Yves-Eric Martin <yem_lists.gnucash.org@filter.yve.net>
    Juan Manuel García Molina <juanmagm@mail.com>
    David Montenegro <sunrise2000@comcast.net>
    Orestes Mas <orestes@tsc.upc.es>
    Christopher Molnar <molnarc@mandrakesoft.com>
    Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
    Lucimar Moresco <lucimarmoresco@hotmail.com>
    G. Allen Morris III <gam3@ann.softgams.com>
    Steven Murdoch <sjmurdoch@bigfoot.com>
    Jose Carlos Nascimento <joseca@psabs.com>
    Brent Neal <brent@baton.phys.lsu.edu>
    Christian Neumair <chris@gnome-de.org>
    Johnny Ernst Nielsen <j.e.nielsen@iname.com>
    Stefan Nobis <stefan-ml@snobis.de>
    Martin Norbäck <d95mback@dtek.chalmers.se>
    Peter Norton <spacey@inch.com>
    Bill Nottingham <notting@redhat.com>
    Peter O'Gorman <peter@pogma.com>
    OmNiBuS <webmaster@obsidian.uia.net>
    Gordon Oliver <gordo@pincoya.com>
    Scott Oonk <s.oonk@comcast.net>, <scott.oonk@gmail.com>
    Alan Orndorff <dwarf@solarisresources.com>
    Myroslav Opyr <mopyr@IPM.Lviv.UA>
    Laurent Pélecq <laurent.pelecq@wanadoo.fr>
    Sulyok Peter <sp@elte.hu>
    Alain Peyrat <Alain.Peyrat@nmu.alcatel.fr>
    Zdenko Podobný <zdpo@mailbox.sk>
    Peter Pointner <peter@wuzel.m.isar.de>
    Gavin Porter <maufk@csv.warwick.ac.uk>
    Tomas Pospisek <tpo@spin.ch>
    Paul Poulain <famille.p.poulain@free.fr>
    Ron Record <rr@sco.com>
    Keith Refson <Keith.Refson@earth.ox.ac.uk>
    Andreas Rottmann <a.rottmann@gmx.at>
    Betina Schmidt <betina-s@gmx.de>
    Dirk Schoenberger <schoenberger@signsoft.com>
    Jan Schrage <jan.schrage@urz.uni-heidelberg.de>
    Christopher Seawood <cls@seawood.org>
    Alessandro Seveso <aleseveso@tiscalinet.it>
    Mike Simons <msimons@fsimons01.erols.com>
    Keld Simonsen <keld@dkuug.dk>
    Richard Skelton <rich@brake.demon.co.uk>
    Thomas Vander Stichele <thomas@urgent.rug.ac.be>
    James Strandboge <jstrand1@rochester.rr.com>
    Henning Spruth <spruth@bigfoot.com>
    Ben Stanley <bds02@uow.edu.au>
    Robby Stephenson <robby.stephenson@usa.net>
    Michael T. Garrison Stuber <garrisonstuber@bellsouth.net>
    Bartek Szady <bszx@bszxdomain.edu.eu.org>
    Herbert Thoma <tma@iis.fhg.de>
    Tor Harald Thorland <linux@strigen.com>
    James A. Treacy <treacy@debian.org>
    Arnold Troeger <troeger@samart.co.th>
    Diane Trout <detrout@earthlink.net>
    Richard -Gilligan- Uschold <uschold@cs.ucf.edu>
    Matthew Vanecek <mevanecek@yahoo.com>
    Didier Vidal <didier-devel@9online.fr>
    Richard Wackerbarth <rkw@dataplex.net>
    Rob Walker <rob@valinux.com>
    Darin Willits <darin@blueyonder.co.uk>
    Andy Wingo <wingo@pobox.com>
    Tom Winterhalder <t.winterhalder@freesurf.ch>
    David Woodhouse <dwmw2@infradead.org>
    Ken Yamaguchi <gooch@ic.EECS.Berkeley.EDU>
    Shimpei Yamashita <shimpei@gol.com>
    Alex Zepeda <jazepeda@pacbell.net>

%lang_package
%prep
%setup -q
%patch
# This patch must be applied:
%patch3
# build fix, G_INLINE_FUNC definition in glib2 is broken again for gcc-4.3
sed -i "s:^\(GNC_DOC_INSTALL_DIR=\).*$:\1'%{_docdir}/%{name}':" configure.in

%build
export GUILE_WARN_DEPRECATED=no
export CFLAGS="$RPM_OPT_FLAGS"
#�FIXME: invalid directory somewhere in the source:
mkdir m4
ACLOCAL="aclocal -I macros" autoreconf -f -i
%configure\
	--disable-schemas-install\
	--with-qt3-wizard-package=aqbanking-qt3\
	--libexecdir=%{_prefix}/lib\
	--enable-sql\
	--enable-ofx\
	--enable-aqbanking-test\
	--enable-hbci\
	--enable-locale-specific-tax\
	--enable-html-docs
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
cp AUTHORS COPYING ChangeLog ChangeLog.2003 ChangeLog.2004 ChangeLog.2005 DOCUMENTERS HACKING LICENSE NEWS README README.dependencies README.patches TODO $RPM_BUILD_ROOT%{_docdir}/%{name}/
rm $RPM_BUILD_ROOT%{_docdir}/%{name}/INSTALL
%suse_update_desktop_file gnucash
rm $RPM_BUILD_ROOT%{_infodir}/dir
%find_lang gnucash
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%fdupes $RPM_BUILD_ROOT%{_datadir}
rm -rf  $RPM_BUILD_ROOT%{_bindir}/gnc-test-env

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre

%post
/sbin/ldconfig
%install_info --info-dir=%{_infodir} %{_infodir}/gnucash-design.info.gz
%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%postun
/sbin/ldconfig
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gnucash-design.info.gz

%files -f %{name}.lst
%defattr (-, root, root)
%doc %{_docdir}/%{name}
%{_bindir}/gnc-*
%{_bindir}/gnucash
%{_bindir}/*gnucash-[a-bd-z]*
%{_datadir}/applications/*.desktop
%{_datadir}/gnucash
#%{_datadir}/pixmaps/*.png
/usr/share/icons/hicolor/*/apps/gnucash-icon.png
/usr/share/icons/hicolor/scalable/apps/gnucash-icon.svg
%{_datadir}/xml/gnucash
%{_libdir}/*.so.*
# Required by slib for many libraries:
%{_libdir}/*.so
# NOTE: .la files are required by ltdl in the main package (skip-check-libtool-deps)
%{_libdir}/*.la
%{_libdir}/gnucash
%doc %{_infodir}/gnucash-design.info*
%doc %{_mandir}/man?/*.*
%if "%{_libdir}" != "%{_prefix}/lib"
%{_prefix}/lib/gnucash
%endif
%dir %{_sysconfdir}/gnucash
%config %{_sysconfdir}/gnucash/config

%files lang -f %{name}.lang

%files devel
%defattr (-, root, root)
%{_includedir}/gnucash

%changelog
* Mon Oct 20 2008 mboman@suse.de
- Update to version 2.2.7:
  + Too many fixes and changes to list. Please see NEWS for details
- Remove gnucash-goffice0.8.patch. Fixed upstream
* Fri Oct 03 2008 vuntz@novell.com
- Add gnucash-goffice0.8.patch to compile with current goffice in
  Factory.
* Tue Apr 01 2008 maw@suse.de
- Update to version 2.2.4:
  + Recognize 401k/403b in QIF import
  + Remove superfluous trailing colons of de_DE SKR04 account names
  + Bugs fixed: bgo#106242, bgo#106383, bgo#123312, bgo#336211,
  bgo#360058, bgo#373584, bgo#454834, bgo#457591, bgo#481528,
  bgo#503166, bgo#506798, bgo#506873, bgo#506810, bgo#510221,
  bgo#510630, bgo#510725, bgo#510940, bgo#510962, bgo#511006,
  bgo#512166, bgo#512173, bgo#512497, bgo#513088, bgo#513829,
  and bgo#516178
  + Updated translations
- Drop gnucash-marksplit.patch
* Thu Feb 28 2008 ro@suse.de
- update to 2.3.3
  - many bugfixes, but still no support for aqbanking3
* Wed Feb 06 2008 sbrabec@suse.cz
- Warn users before upgrading packages from CPAN.
* Tue Nov 27 2007 sbrabec@suse.cz
- Report correct name of package containing qt3-wizard (#310886).
* Thu Oct 11 2007 sbrabec@suse.cz
- Removed false dependency on g-wrap-devel (#331963).
* Thu Aug 23 2007 sbrabec@suse.cz
- Fixed dependencies for quotes retrieval (#242504).
* Thu Aug 09 2007 maw@suse.de
- I lied in the last changelog entry and didn't really change
  the calls to ldconfig
- But I am changing them this time
- Also, rename rpmlintrc to gnucash-rpmlintrc.
* Tue Aug 07 2007 maw@suse.de
- Split off a -lang subpackage
- s#%%run_ldconfig#/sbin/ldconfig/ in %%post and %%postun.
* Fri Jul 27 2007 sbrabec@suse.cz
- Updated to version 2.2.0:
  * DATA FILE NOTICE If you are using Scheduled Transactions,
  the data file saved by GnuCash 2.1.2 and higher is NOT
  backward-compatible with GnuCash 2.0 anymore because of
  extensions in the file format. Please make a safe backup of
  your 2.0 data before upgrading to 2.1.3.
  * The Scheduled Transaction code has been refactored.
  * When adding custom reports to the menu, appropriate user
  feedback will be given.
  * Automatic saving of the data file was added.
  * SWIG is now used instead of g-wrap for providing language
  bindings.
  * New printing formats for check printing.
  * Bugfixes with the graphical reports
  * Fixing the Online Banking wizard
  * Fix crash on QIF import with german umlaut.
  * Internal GObject integration is much more advanced by now.
  * Crash on OFX import crashing has been fixed.
  * Some memory leaks have been fixed.
  * Start-up behaviour has been improved.
  * OFX DirectConnect import uses correct ID fields for transaction
  matching.
  * Improved Scheduled Transaction editor and management dialogs.
  * GtkPrint integrated.
  * Updated translations.
* Tue Jun 05 2007 ro@suse.de
- added rpmlintrc (suppress devel-file for lib*.so)
* Mon Mar 26 2007 maw@suse.de
- Add gtkhtml-req.patch, allowing gnucash to be built against
  newer versions of gtkhtml2.
* Fri Mar 02 2007 sbrabec@suse.cz
- Fixed autoreconf.
- Fixed missing symbol in gtkhtml2.
* Wed Feb 21 2007 sbrabec@suse.cz
- Updated to 2.0.5:
  * Use guiles native sort and record.
  * Adjust how payment dialog resizes.
  * Don't abort when F::Q fails to return a quote.
  * Fix security problem with tmp filesystem and symlink attack
  (#246969, CVE-2007-0007).
  * Do not crash on delete_event in new user dialog.
  * Add sanity checks when accessing GncPluginPage.
  * Make new windows the same size as the active one.
  * Fixes for Turkish Lira and Russian Ruble.
  * Translation and translatability updates.
* Fri Feb 16 2007 sbrabec@suse.cz
- Updated to 2.0.4:
  * Correct account compatibility check with top level account.
  * Check for potentially failed utf8 conversion of locale strings.
  * Fix crash when accessing the File Properties Menu.
  * Avoid crash when renaming page in a page-less window.
  * Save and restore the visibility of the toolbar, statusbar, and
  summarybar.
  * Fix for crash on quit during save.
  * Fix a bug so that blank transactions are marked as pending.
  * When progress bar is showing, do not make menus and toolbars
  insensitive, but rather the underlying action groups.
  * Save window size and position of the transfer dialog.
  * Fix for UTF-8 bug in month name.
  * Fix missing date when reconciling from HBCI.
  * Fix some scheme inexact errors.
  * Documentation and translation updates.
- Recommend gnucash-docs.
* Tue Jan 16 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Sun Nov 12 2006 stbinner@suse.de
- Fix Name entry of .desktop file post openSUSE 10.2
* Fri Oct 13 2006 aj@suse.de
- Add guile-devel to build requires.
* Mon Oct 09 2006 sbrabec@suse.cz
- Updated to 2.0.2:
  * String fixes.
  * Add a tip for raising the accounts menu in a register page.
  Maintain the account hierarchy when reparenting the descendants
  of a deleted account.
  * If the file type wasn't recognized, check why this failed.
  Add the ability to override the default sort.
  * Improve wording for XML data file import druid.
  * Fixed crashers in editing a transaction in two registers.
  * Translation updates.
* Tue Oct 03 2006 sbrabec@suse.cz
- Fixed %%post.
- Reduced BuildRequires.
* Mon Oct 02 2006 stbinner@suse.de
- Updated to from development to release version 2.0.1 (#209331):
  * OFX DirectConnect can directly retrieve and import account
  statements over the Internet.
  * A "Hide account" feature to keep a better overview of your
  current accounts tabbed window functionality.
  * Create budgets within GnuCash using your accoun data.
  * Support for Accounting Periods.
  * The data file format has been improved with respect to
  international characters. Data files with international
  characters can be transferred to other countries flawlessly.
  * GnuCash Help and Guide are now fully integrated with the
  GNOME Help system (Yelp)
* Wed Jun 14 2006 schwab@suse.de
- Add workaround for guile bug.
* Thu May 25 2006 sbrabec@suse.cz
- Updated to version 1.9.6.
- Do not install shared mime info files, now integrated to
  freedesktop.org.xml.
* Thu May 11 2006 sbrabec@suse.cz
- Updated to version 1.9.5 (GNOME2 branch).
- Split g-wrap and devel into separate packages.
* Sun Feb 05 2006 aj@suse.de
- Fix build.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Oct 25 2005 sbrabec@suse.cz
- Updated to version 1.8.12.
- Updated gnucash-docs to version 1.8.5.
  Based on spec file from Rajesh Singh <rajeshsingh.geo@yahoo.com>.
* Tue Aug 02 2005 ro@suse.de
- intltoolize with force
* Mon Apr 25 2005 gekker@suse.de
- Add Guppi-gcc4.patch to fix GCC4 compile failures.
* Tue Apr 19 2005 ro@suse.de
- use gt_LC_MESSAGES instead of AM_LC_MESSAGES
* Thu Apr 14 2005 sbrabec@suse.cz
- Added audiofile-devel to neededforbuild.
* Wed Mar 23 2005 sbrabec@suse.cz
- Moved desktop file (#73653).
* Mon Feb 21 2005 sf@suse.de
- fix build on biarch architectures
* Mon Jan 31 2005 sndirsch@suse.de
- use iso-8859-15 for recoding account files instead of iso-8859-1
* Sun Jan 30 2005 sndirsch@suse.de
- recode acccount files to UTF-8 encoding in specfile (Bug #38292)
* Thu Nov 11 2004 ro@suse.de
- fixed file list
* Mon Nov 08 2004 ro@suse.de
- update to 1.8.9
- fix build with current intltool
* Thu Nov 04 2004 ro@suse.de
- locale rename: no -> nb
* Mon Oct 11 2004 ro@suse.de
- added libgcrypt libgpg-error to neededforbuild
* Mon Mar 29 2004 hhetter@suse.de
- don't call format, as newer versions of slib don't provide it
  any more (Bug Id#34241)
* Wed Mar 17 2004 sbrabec@suse.cz
- Fixed underquoted definitions (#36195).
* Mon Mar 15 2004 sbrabec@suse.cz
- FHS 2.3 fix (mandir, infodir, #35821).
* Fri Feb 20 2004 sbrabec@suse.cz
- Removed false requirement of glade.
* Thu Feb 19 2004 sbrabec@suse.cz
- Removed false requirement of libunicode.
* Tue Feb 17 2004 sbrabec@suse.cz
- Added gdk-pixbuf-gnome to neededforbuild.
* Thu Feb 12 2004 sbrabec@suse.cz
- Updated to version 1.8.8.
* Thu Oct 23 2003 lmb@suse.de
- Update to gnucash 1.8.7 and gnucash-docs-1.8.3.
- Re-added Guppi and folded it into gnucash package so graphs work
  again. (#32135)
* Tue Sep 02 2003 ro@suse.de
- remove Guppi from neededforbuild
  (dropped, since gnumeric(1) was dropped)
* Fri Aug 22 2003 ke@suse.de
- Add sgml-skel to neededforbuild.
* Thu Aug 21 2003 hhetter@suse.de
- integrate the documentation package (rel. 1.8.2)
* Wed Aug 20 2003 ro@suse.de
- removed libgtop from neededforbuild
* Wed Aug 20 2003 hhetter@suse.de
- updated to version 1.8.5
* Sat Aug 16 2003 adrian@suse.de
- add Categories
* Sun Jul 27 2003 hhetter@suse.de
- don't run deprecated tests
* Tue Jul 15 2003 hhetter@suse.de
- updated to version 1.8.4
* Mon Jul 14 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Fri Jun 20 2003 ro@suse.de
- fix build with current gettext
* Wed Jun 04 2003 ro@suse.de
- remove unpackaged files from buildroot
- add g-wrap includes to package
* Wed May 14 2003 mcihar@suse.cz
- don't need umb-scheme
* Thu Apr 24 2003 ro@suse.de
- fix install_info --delete call and move from preun to postun
* Fri Mar 28 2003 sbrabec@suse.cz
- Typo fix (NBSP -> spaces).
* Fri Mar 28 2003 sbrabec@suse.cz
- Added install_info.
- Compress info pages.
* Fri Feb 21 2003 ro@suse.de
- added openhbci-devel to neededforbuild
* Tue Feb 18 2003 ro@suse.de
- added libchipcard and devel to neededforbuild
* Fri Feb 07 2003 hhetter@suse.de
- build with libofx support
* Thu Feb 06 2003 ro@suse.de
- update to g-wrap-1.3.4 and gnucash-1.8.0
* Wed Jan 08 2003 ro@suse.de
- add AM_GNU_GETTEXT_VERSION and make it build
- hack for gtkhtml-1.1 and recent guile
- more makefile hackery to work around cyclic library dependencies
* Fri Sep 27 2002 ro@suse.de
- Added alsa alsa-devel to neededforbuild (esound)
* Mon Sep 09 2002 hhetter@suse.de
- fix guile version checking in srfi-8.scm for new guile 1.4.1
  ( Bug Id #19258)
* Thu Aug 29 2002 hhetter@suse.de
- removed gnome-applets / gnome-core stuff from #neededforbuild
* Thu Jul 04 2002 hhetter@suse.de
- updated to version 1.6.6
- use a stable g-wrap release (1.2.x)
* Wed May 22 2002 meissner@suse.de
- %%_lib fixes.
* Thu Apr 04 2002 schwab@suse.de
- Fix for new autotools.
* Sun Feb 17 2002 ro@suse.de
- added missing g-wrap runtime lib to filelist (#13472)
* Thu Jan 31 2002 ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Wed Jan 23 2002 hhetter@suse.de
- added python, python-devel to #neededforbuild
* Wed Dec 19 2001 hhetter@suse.de
- gnucash version update to 1.6.5
- g-wrap updated to version 1.3.1
- added LIBRARY_PATH for broken libtool
- removed no longer needed patch
- functionality test on i386 arch
- g-wrap version customized in specfile
- features for 1.6.5:
  * amazing new Euro-conversion druid!
  * massive translation update
  * minor application bugfixes
* Sun Dec 09 2001 ro@suse.de
- added <slib> to neededforbuild
* Fri Dec 07 2001 ro@suse.de
- changed neededforbuild <scheme> to <umb-scheme>
* Wed Dec 05 2001 hhetter@suse.de
- prefix g-wrap to the original guile interpreter location
* Tue Nov 27 2001 ro@suse.de
- back to g-wrap-1.1.10
* Wed Nov 21 2001 ro@suse.de
- update to g-wrap-1.1.11
- added guppi-include path to cflags
  (gnome-config does not show this path)
* Wed Nov 21 2001 ro@suse.de
- added freetype2 to neededforbuild
* Tue Oct 16 2001 hhetter@suse.de
- updated to version 1.6.4:
  * fixes a bug which made it impossible to
  load 1.4.x-gnucash files
* Wed Sep 26 2001 hhetter@suse.de
- updated to version 1.6.3:
  * new Polish translation
  * Danish and Spanish translation of new account files
  * updated Swedish, German, and Portuguese translations
  * child accounts can be reconciled with the parent
  * support for TrustNet online quotes
  * support for precious metal currencies
- functionality test on i386
* Sat Sep 15 2001 schwab@suse.de
- Add Requires: python.
* Sat Sep 15 2001 schwab@suse.de
- Fix missing declarations.
- Add %%suse_update_config.
* Wed Sep 12 2001 hhetter@suse.de
- revert to g-wrap version 1.1.10, get gnucash
  to work with guile 1.4
- filelist review
- test on i386
* Fri Aug 17 2001 egger@suse.de
- Added fix for hardcoded CFLAGS in g-wrap.
* Fri Aug 17 2001 egger@suse.de
- Added fix for libtool bustage in g-wrap update to 1.1.11.
* Mon Aug 13 2001 hhetter@suse.de
- update to 1.6.2
* Sun Jul 29 2001 egger@suse.de
- Updated g-wrap to version 1.1.11.
* Wed Jul 25 2001 sf@suse.de
- removed '-Werror' from Makefile.am in test/ to compile also
  with gcc > 2.95
* Thu Jul 19 2001 hhetter@suse.de
- added #requires python phyton-gtk
* Sun Jul 08 2001 egger@suse.de
- Updated to version 1.6.1.
- Added mising stuff to the filelist.
* Thu Jul 05 2001 uli@suse.de
- added gal-devel to neededforbuild
* Wed Jun 20 2001 ro@suse.de
- updated filelist
- cleaned specfile a bit
* Mon Jun 18 2001 hhetter@suse.de
- gnucash : update to 1.6.0
- g-wrap : update to 1.1.10
- added additional requirements
- functionality test in current buildsystem
- filelist review
* Tue May 01 2001 egger@suse.de
- Updated to version 1.4.12. Again just bugfixes.
* Mon Apr 02 2001 egger@suse.de
- Updated to version 1.4.11. Pure bugfix release.
* Tue Mar 20 2001 ro@suse.de
- added esound-devel to neededforbuild
* Thu Mar 01 2001 egger@suse.de
- Minor corrections to the specfile.
* Tue Feb 20 2001 egger@suse.de
- removed imlib-config from neededforbuild.
- Updated gnucash to version 1.4.10.
- Updated g-wrap to version 1.4.12.
* Tue Jan 30 2001 ro@suse.de
- changed neededforbuild <imlibcfe> to <imlib-config>
* Thu Dec 21 2000 egger@suse.de
- Updated gnucash to 1.4.9.
- Updated g-wrap to 0.9.8.
- Bugfix releases.
- Recompressed with bzip2.
* Sun Dec 10 2000 schwab@suse.de
- Add %%suse_update_config.
* Sun Nov 05 2000 randall@suse.de
-  Removed these two commands.  The guile package will preform these
  actions:
  ln -sf /usr/lib/scheme/slib /usr/share/guile/1.4/slib
  guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)"
* Thu Nov 02 2000 randall@suse.de
- Changed to long file names, also for distro SuSE 7.1a
* Mon Oct 30 2000 randall@suse.de
- Initial Release
openSUSE Build Service is sponsored by