b06e4d1
%define svnrev 13195
cvsdist fa7a79d
cvsdist fa7a79d
Name: gnucash
cvsdist fa7a79d
Summary: GnuCash is an application to keep track of your finances.
04be3a9
Version: 1.9.0
b06e4d1
Release: 1
b06e4d1
# Release: 1.svn%{svnrev}.1
cvsdist e6b73bb
License: GPL/GFDL
cvsdist fa7a79d
Group: Applications/Productivity
b06e4d1
Source: http://www.gnucash.org/pub/gnucash/sources/unstable/1.9.x/%{name}-%{version}.tar.gz
04be3a9
#Source1: http://www.gnucash.org/pub/gnucash/sources/unstable/%{name}-docs-%{docver}.tar.gz
b06e4d1
#Source: gnucash-%{version}.svn%{svnrev}.tar.bz2
cce2a32
Source1: gnucash-docs-1.9.0.svn%{svnrev}.tar.bz2
3f27c75
Patch3: gnucash-1.8.11-icon.patch
cvsdist e6b73bb
Patch4: gnucash-1.8.6-64bit-fixes.patch
04be3a9
Patch5: gnucash-1.8.12-aq.patch
cvsdist fa7a79d
BuildRoot: %{_tmppath}/%{name}-%{version}-root
69f02b2
BuildRequires: g-wrap-devel >= 1.3.2, gtkhtml3-devel
69f02b2
BuildRequires: libgsf-devel >= 1.12.2
04be3a9
# cairo-devel >= 0.5.0
69f02b2
BuildRequires: libglade2-devel >= 2.3.6, libgnomeprint22-devel >= 2.8.0
69f02b2
BuildRequires: libofx-devel, aqbanking-devel, docbook-style-xsl
69f02b2
BuildRequires: desktop-file-utils, scrollkeeper, texinfo, libtool-ltdl-devel
df8b249
Requires: slib >= 3a1-5
b3749a8
Prereq: /sbin/ldconfig, scrollkeeper >= 0.3.4
cvsdist fa7a79d
%define __perl_requires  %{nil}
743b77b
Obsoletes: gnucash-backend-postgres
cvsdist fa7a79d
cvsdist fa7a79d
%description
cvsdist fa7a79d
GnuCash is a personal finance manager. A check-book like register GUI
cvsdist fa7a79d
allows you to enter and track bank accounts, stocks, income and even
cvsdist fa7a79d
currency trades. The interface is designed to be simple and easy to
cvsdist fa7a79d
use, but is backed with double-entry accounting principles to ensure
cvsdist fa7a79d
balanced books.
cvsdist fa7a79d
cvsdist fa7a79d
%prep
8660388
%setup -q -a 1
04be3a9
#%patch3 -p1 -b .icon
cvsdist e6b73bb
%patch4 -p1 -b .64bit
9bdd36b
#%patch5 -p1 -b .aq
cvsdist fa7a79d
cvsdist fa7a79d
%build
c6454aa
#./autogen.sh --prefix=/usr
743b77b
%configure --disable-sql --enable-error-on-warning=no \
cvsdist fa7a79d
	--enable-ofx \
04be3a9
	--enable-hbci \
04be3a9
#	--with-cairo \
cvsdist fa7a79d
04be3a9
make LIBTOOL=/usr/bin/libtool CC=gcc
cvsdist fa7a79d
04be3a9
cd gnucash-docs
04be3a9
./autogen.sh --prefix=/usr
cvsdist fa7a79d
%configure
cvsdist e288449
make
cvsdist fa7a79d
cvsdist fa7a79d
%install
cvsdist e6b73bb
rm -rf $RPM_BUILD_ROOT
cvsdist e6b73bb
cvsdist fa7a79d
make install DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool
cvsdist fa7a79d
cvsdist fa7a79d
%find_lang %{name}
cvsdist fa7a79d
04be3a9
cd gnucash-docs
cvsdist fa7a79d
make install DESTDIR=$RPM_BUILD_ROOT || :
cvsdist fa7a79d
cvsdist fa7a79d
# vfolder desktop file install stuff
cvsdist fa7a79d
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications/
cvsdist fa7a79d
desktop-file-install --vendor gnome --delete-original \
cvsdist fa7a79d
  --dir $RPM_BUILD_ROOT%{_datadir}/applications       \
cvsdist fa7a79d
  --add-category X-Red-Hat-Extra                      \
cvsdist fa7a79d
  --add-category Application                         \
cvsdist fa7a79d
  --add-category Office                               \
cvsdist fa7a79d
  $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Applications/gnucash.desktop
cvsdist fa7a79d
echo "StartupWMClass=GnuCash" >> $RPM_BUILD_ROOT%{_datadir}/applications/gnome-gnucash.desktop
cvsdist fa7a79d
b3749a8
rm -rf $RPM_BUILD_ROOT/%{_infodir} \
cvsdist fa7a79d
      $RPM_BUILD_ROOT/%{_includedir} \
cvsdist fa7a79d
      $RPM_BUILD_ROOT/%{_datadir}/aclocal \
cvsdist fa7a79d
      $RPM_BUILD_ROOT/var/scrollkeeper \
cvsdist fa7a79d
      $RPM_BUILD_ROOT/%{_libdir}/lib*.a \
04be3a9
      $RPM_BUILD_ROOT/%{_libdir}/gnucash/lib*.a \
04be3a9
      $RPM_BUILD_ROOT/%{_datadir}/gnome/apps \
04be3a9
      $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
cvsdist fa7a79d
      
cvsdist fa7a79d
%clean
cvsdist fa7a79d
rm -rf $RPM_BUILD_ROOT
cvsdist fa7a79d
cvsdist fa7a79d
%post
cvsdist fa7a79d
/sbin/ldconfig
cvsdist fa7a79d
/usr/bin/scrollkeeper-update -o %{_datadir}/omf/gnucash-docs
cvsdist fa7a79d
04be3a9
export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
04be3a9
SCHEMAS="apps_gnucash_dialog_business_common.schemas apps_gnucash_dialog_commodities.schemas apps_gnucash_dialog_common.schemas apps_gnucash_dialog_hbci.schemas apps_gnucash_dialog_prices.schemas apps_gnucash_dialog_reconcile.schemas apps_gnucash_dialog_totd.schemas apps_gnucash_general.schemas apps_gnucash_history.schemas apps_gnucash_import_generic_matcher.schemas apps_gnucash_warnings.schemas apps_gnucash_window_pages_account_tree.schemas apps_gnucash_window_pages_register.schemas"
04be3a9
04be3a9
for S in $SCHEMAS; do
04be3a9
  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
04be3a9
done
04be3a9
cvsdist fa7a79d
%postun
cvsdist fa7a79d
/sbin/ldconfig
cvsdist fa7a79d
/usr/bin/scrollkeeper-update
cvsdist fa7a79d
cvsdist fa7a79d
%files -f %{name}.lang
cvsdist fa7a79d
%defattr(-,root,root,755)
04be3a9
%{_sysconfdir}/gconf/schemas/*
04be3a9
%{_sysconfdir}/gnucash
cvsdist fa7a79d
%{_bindir}/*
cvsdist fa7a79d
%{_libexecdir}/gnucash
cvsdist fa7a79d
%{_libdir}/*
cvsdist fa7a79d
%exclude /usr/lib/debug
04be3a9
%{_datadir}/xml/*
cvsdist fa7a79d
%{_datadir}/gnucash
cvsdist fa7a79d
%{_datadir}/gnome/help/gnucash
cvsdist fa7a79d
%{_datadir}/mime-info/gnucash.*
cvsdist fa7a79d
%{_datadir}/omf/gnucash-docs
cvsdist fa7a79d
%{_datadir}/applications/*
cvsdist fa7a79d
%{_mandir}/man*/*
cvsdist fa7a79d
%config %{_sysconfdir}/gnucash
636241c
%doc AUTHORS COPYING ChangeLog* HACKING NEWS README README.patches
cvsdist fa7a79d
%doc doc/README.german doc/README.francais doc/guile-hackers.txt
cvsdist fa7a79d
cvsdist fa7a79d
%changelog
138c16f
* Fri Feb 10 2006 Bill Nottingham <notting@redhat.com> 1.9.0-1
b06e4d1
- update to official 1.9.0
b06e4d1
04be3a9
* Sat Dec 24 2005 Bill Nottingham <notting@redhat.com> 1.9.0-0.12168.1
04be3a9
- update to 2.x branch
04be3a9
04be3a9
* Thu Dec 22 2005 Bill Nottingham <notting@redhat.com> 1.8.12-1
04be3a9
- update to 1.8.12
04be3a9
46d14ce
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
46d14ce
- rebuilt
46d14ce
df8b249
* Fri Sep  9 2005 Bill Nottingham <notting@redhat.com> 1.8.11-4
df8b249
- with new slib, umb-scheme is no longer needed. Switch requirement.
df8b249
e34f069
* Tue Apr 12 2005 Bill Nottingham <notting@redhat.com> 1.8.11-3
b7e857e
- require umb-scheme explicitly (#151465)
e34f069
- rebuild against new postgresql
3f27c75
- use full path to icon (#154587)
b7e857e
8af5cfa
* Mon Mar  7 2005 Bill Nottingham <notting@redhat.com> 1.8.11-2
8af5cfa
- rebuild against bonobo-less Guppi, gtkhtml
8af5cfa
b3749a8
* Wed Feb  9 2005 Bill Nottingham <notting@redhat.com> 1.8.11-1
b3749a8
- update to 1.8.11
b3749a8
- update docs to 1.8.5
b3749a8
- remove info file (#123444)
b3749a8
cvsdist d781f0f
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist d781f0f
- rebuilt
cvsdist d781f0f
cvsdist aa64d85
* Tue Apr 13 2004 Bill Nottingham <notting@redhat.com> 1.8.9-1
cvsdist aa64d85
- update to 1.8.9
cvsdist aa64d85
cvsdist e6b73bb
* Sat Mar 20 2004 Bill Nottingham <notting@redhat.com> 1.8.8-5
cvsdist e6b73bb
- reinstate libtool helper files (#118495)
cvsdist e6b73bb
cvsdist e6b73bb
* Fri Mar 12 2004 Bill Nottingham <notting@redhat.com> 1.8.8-4
cvsdist e6b73bb
- rebuild against separate libofx/openhbci
cvsdist e6b73bb
cvsdist e6b73bb
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist e6b73bb
- rebuilt
cvsdist e6b73bb
cvsdist e6b73bb
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist e6b73bb
- rebuilt
cvsdist e6b73bb
cvsdist e6b73bb
* Tue Dec 23 2003 Bill Nottingham <notting@redhat.com>
cvsdist e6b73bb
- add a 64-bit patch from mandrake
cvsdist e6b73bb
cvsdist f64fc61
* Wed Dec  3 2003 Bill Nottingham <notting@redhat.com> 1.8.8-2
cvsdist f64fc61
- rebuild
cvsdist f64fc61
cvsdist ff06399
* Tue Dec  2 2003 Bill Nottingham <notting@redhat.com> 1.8.8-1
cvsdist ff06399
- update to 1.8.8
cvsdist ff06399
cvsdist e288449
* Tue Sep 23 2003 Bill Nottingham <notting@redhat.com> 1.8.7-1
cvsdist e288449
- update to 1.8.7
cvsdist e288449
- fix docs build
cvsdist e288449
cvsdist e288449
* Wed Aug 20 2003 Bill Nottingham <notting@redhat.com> 1.8.5-1
cvsdist e288449
- update to 1.8.5
cvsdist e288449
cvsdist e288449
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist e288449
- rebuilt
cvsdist e288449
cvsdist e288449
* Wed May 28 2003 Bill Nottingham <notting@redhat.com> 1.8.4-1
cvsdist e288449
- update to 1.8.4
cvsdist e288449
cvsdist e288449
* Mon May 19 2003 Bill Nottingham <notting@redhat.com> 1.8.3-1
cvsdist e288449
- update to 1.8.3
cvsdist e288449
cvsdist e288449
* Mon Mar 24 2003 Bill Nottingham <notting@redhat.com> 1.8.2-1
cvsdist e288449
- update to 1.8.2
cvsdist e288449
cvsdist e288449
* Thu Mar 20 2003 Tim Waugh <twaugh@redhat.com> 1.8.1-4
cvsdist e288449
- Build requires openjade-devel (new openjade sub-package).
cvsdist e288449
- Rebuild against new OpenSP.
cvsdist e288449
cvsdist fa7a79d
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
cvsdist fa7a79d
- debuginfo rebuild
cvsdist fa7a79d
cvsdist fa7a79d
* Sun Feb 23 2003 Bill Nottingham <notting@redhat.com> 1.8.1-2
cvsdist fa7a79d
- fix crash on hiding accounts (#84931, patch from upstream)
cvsdist fa7a79d
cvsdist fa7a79d
* Tue Feb 11 2003 Bill Nottingham <notting@redhat.com> 1.8.1-1
cvsdist fa7a79d
- update to 1.8.1
cvsdist fa7a79d
cvsdist fa7a79d
* Wed Feb  5 2003 Bill Nottingham <notting@redhat.com> 1.8.0-3
cvsdist fa7a79d
- fix desktop entry (#82804)
cvsdist fa7a79d
- add startup-notification
cvsdist fa7a79d
cvsdist fa7a79d
* Tue Feb  4 2003 Bill Nottingham <notting@redhat.com> 1.8.0-1
cvsdist fa7a79d
- 1.8.0
cvsdist fa7a79d
cvsdist fa7a79d
* Tue Jan 28 2003 Bill Nottingham <notting@redhat.com> 1.7.8-3
cvsdist fa7a79d
- rebuild everywhere
cvsdist fa7a79d
cvsdist fa7a79d
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist fa7a79d
- rebuilt
cvsdist fa7a79d
cvsdist fa7a79d
* Tue Jan 21 2003 Bill Nottingham <notting@redhat.com> 1.7.8-1
cvsdist fa7a79d
- 1.7.8
cvsdist fa7a79d
cvsdist fa7a79d
* Tue Jan 14 2003 Bill Nottingham <notting@redhat.com> 1.7.7-1
cvsdist fa7a79d
- update to 1.7.7
cvsdist fa7a79d
- add libofx, openhbci support
cvsdist fa7a79d
cvsdist fa7a79d
* Fri Dec  6 2002 Tim Waugh <twaugh@redhat.com> 1.7.5-3
cvsdist fa7a79d
- Fix desktop file (bug #69422).
cvsdist fa7a79d
cvsdist fa7a79d
* Wed Dec  4 2002 Bill Nottingham <notting@redhat.com> 1.7.5-2
cvsdist fa7a79d
- fix omf file ref to buildroot
cvsdist fa7a79d
cvsdist fa7a79d
* Tue Dec  3 2002 Bill Nottingham <notting@redhat.com> 1.7.5-1
cvsdist fa7a79d
- update to 1.7.5-1, split off postgres backend
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Nov 18 2002 Bill Nottingham <notting@redhat.com> 1.6.8-3
cvsdist fa7a79d
- guile is everywhere, build everywhere
cvsdist fa7a79d
- except hammer (postgres)
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Nov 11 2002 Tim Powers <timp@redhat.com> 1.6.8-2
cvsdist fa7a79d
- rebuild against guile-1.4
cvsdist fa7a79d
cvsdist fa7a79d
* Thu Nov  7 2002 Bill Nottingham <notting@redhat.com> 1.6.8-1
cvsdist fa7a79d
- update to 1.6.8-1
cvsdist fa7a79d
- stop using db1
cvsdist fa7a79d
cvsdist fa7a79d
* Thu Oct 24 2002 Jeremy Katz <katzj@redhat.com>
cvsdist fa7a79d
- build against new gtkhtml
cvsdist fa7a79d
cvsdist fa7a79d
* Sat Aug 10 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist fa7a79d
- bzip2 source
cvsdist fa7a79d
cvsdist fa7a79d
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist fa7a79d
- automated rebuild
cvsdist fa7a79d
cvsdist fa7a79d
* Sun May 26 2002 Tim Powers <timp@redhat.com>
cvsdist fa7a79d
- automated rebuild
cvsdist fa7a79d
cvsdist fa7a79d
* Thu May 16 2002 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- autoconf fun
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Apr  8 2002 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- rebuild in new environment against fixed guile, g-wrap
cvsdist fa7a79d
cvsdist fa7a79d
* Thu Mar 14 2002 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- rebuild in new environment
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Mar 11 2002 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- update to 1.6.6
cvsdist fa7a79d
cvsdist fa7a79d
* Fri Feb 22 2002 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- rebuild
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Dec 17 2001 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- update to 1.6.5
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Oct  1 2001 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- update to 1.6.4
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Sep 24 2001 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- update to 1.6.3
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- update to 1.6.2
cvsdist fa7a79d
cvsdist fa7a79d
* Thu Aug  9 2001 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- add patch to fix triple imports of prices from 1.4 files
cvsdist fa7a79d
  (<dave@krondo.com>)
cvsdist fa7a79d
cvsdist fa7a79d
* Thu Jul 19 2001 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- tweak buildprereqs
cvsdist fa7a79d
cvsdist fa7a79d
* Sun Jul  8 2001 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- update to 1.6.1
cvsdist fa7a79d
- fix info dir (#47646)
cvsdist fa7a79d
- fix library dependencies
cvsdist fa7a79d
cvsdist fa7a79d
* Fri Jun 29 2001 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- don't own %%{_infodir}/dir
cvsdist fa7a79d
cvsdist fa7a79d
* Wed Jun 27 2001 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- add info dir entry
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Jun 18 2001 Bill Nottingham <notting@redhat.com>
cvsdist fa7a79d
- update to 1.6.0, merge in stuff from included spec file
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Feb  5 2001 Adrian Havill <havill@redhat.com>
cvsdist fa7a79d
- added Japanese locale
cvsdist fa7a79d
cvsdist fa7a79d
* Thu Jan 11 2001 Tim Powers <timp@redhat.com>
cvsdist fa7a79d
- exclude ia64
cvsdist fa7a79d
cvsdist fa7a79d
* Wed Dec  6 2000 Tim Powers <timp@redhat.com>
cvsdist fa7a79d
- updated to 1.4.9
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Oct 23 2000 Tim Powers <timp@redhat.com>
cvsdist fa7a79d
- update to 1.4.8
cvsdist fa7a79d
cvsdist fa7a79d
* Wed Sep 13 2000 Tim Powers <timp@redhat.com>
cvsdist fa7a79d
- update to 1.4.6
cvsdist fa7a79d
cvsdist fa7a79d
* Wed Aug 2 2000 Tim Powers <timp@redhat.com>
cvsdist fa7a79d
- rebuilt against libpng-1.0.8
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Jul 31 2000 Tim Powers <timp@redhat.com>
cvsdist fa7a79d
- updated to 1.4.3, bugfix release
cvsdist fa7a79d
cvsdist fa7a79d
* Tue Jul 25 2000 Tim Powers <timp@redhat.com>
cvsdist fa7a79d
- ExcludeArch alpha
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
cvsdist fa7a79d
- rebuilt
cvsdist fa7a79d
cvsdist fa7a79d
* Mon Jul 17 2000 Tim Powers <timp@redhat.com>
cvsdist fa7a79d
- fixed defattr for the stuff in /usr/bin
cvsdist fa7a79d
cvsdist fa7a79d
* Wed Jul 12 2000 Tim Powers <timp@redhat.com>
cvsdist fa7a79d
- update to 1.4.2
cvsdist fa7a79d
cvsdist fa7a79d
* Tue Jul 11 2000 Tim Powers <timp@redhat.com>
cvsdist fa7a79d
- rebuilt 
cvsdist fa7a79d
cvsdist fa7a79d
* Wed Jul 05 2000 Preston Brown <pbrown@redhat.com>
cvsdist fa7a79d
- adopted for Powertools 7.0