2 Summary: GnuCash is an application to keep track of your finances.
5 Copyright: Free Software Foundation
6 Group: Applications/Finance
7 Source0: http://www.gnucash.org/pub/gnucash/sources/stable/%{name}-%{PACKAGE_VERSION}.tar.gz
8 URL: Http://www.gnucash.org
10 Requires: guile >= 1.3
12 BuildRequires: gnome-libs-devel
13 BuildRequires: esound-devel
14 BuildRequires: libxml-devel
15 BuildRequires: g-wrap-static
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 GnuCash is a personal finance manager. A check-book like register GUI
20 allows you to enter and track bank accounts, stocks, income and even
21 currency trades. The interface is designed to be simple and easy to use,
22 but is backed with double-entry accounting principles to ensure balanced
34 rm -rf $RPM_BUILD_ROOT
35 %{__make} DESTDIR=$RPM_BUILD_ROOT GNC_DOC_INSTALL_DIR=%{_docdir}/%{name}-%{version}/ \
36 gnomeappdir=%{_applnkdir}/Applications install
38 gzip -9nfr $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/*
43 rm -rf $RPM_BUILD_ROOT
45 %files -f %{name}.lang
46 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_bindir}/gnucash
48 %attr(755,root,root) %{_bindir}/gnc-prices
49 %{_libdir}/gnucash/perl/*.so*
50 %{_libdir}/libgncengine.so*
52 %{_datadir}/gnucash/html/C
53 %lang(fr) %{_datadir}/gnucash/html/fr
54 %{_datadir}/gnucash/html/index.html
55 %{_datadir}/gnucash/html/gnucash.css
56 %{_datadir}/gnucash/scm
57 %{_datadir}/gnucash/perl
58 %{_sysconfdir}/gnucash/config
59 %{_applnkdir}/Applications/gnucash.desktop
60 %doc %{_docdir}/%{name}-%{version}/