]>
Commit | Line | Data |
---|---|---|
7e42f0e0 | 1 | Name: gnucash |
2 | Summary: GnuCash is an application to keep track of your finances. | |
a9c8aeb2 | 3 | Version: 1.4.9 |
4 | Release: 1 | |
7e42f0e0 | 5 | Copyright: Free Software Foundation |
6 | Group: Applications/Finance | |
a9c8aeb2 | 7 | Source0: http://www.gnucash.org/pub/gnucash/sources/stable/%{name}-%{version}.tar.gz |
8 | URL: http://www.gnucash.org | |
7e42f0e0 | 9 | Requires: slib |
10 | Requires: guile >= 1.3 | |
05c7d5a6 | 11 | Requires: g-wrap |
7e42f0e0 | 12 | BuildRequires: gnome-libs-devel |
13 | BuildRequires: esound-devel | |
14 | BuildRequires: libxml-devel | |
05c7d5a6 | 15 | BuildRequires: g-wrap-static |
0c0928cf | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42e98a8e | 17 | |
a9c8aeb2 | 18 | %define _prefix /usr/X11R6 |
19 | ||
42e98a8e | 20 | %description |
7e42f0e0 | 21 | GnuCash is a personal finance manager. A check-book like register GUI |
22 | allows you to enter and track bank accounts, stocks, income and even | |
23 | currency trades. The interface is designed to be simple and easy to use, | |
24 | but is backed with double-entry accounting principles to ensure balanced | |
25 | books. | |
42e98a8e | 26 | |
42e98a8e | 27 | %prep |
7e42f0e0 | 28 | %setup -q |
42e98a8e | 29 | |
30 | %build | |
aaaa0722 | 31 | automake |
32 | %configure | |
33 | %{__make} | |
42e98a8e | 34 | |
42e98a8e | 35 | %install |
7e42f0e0 | 36 | rm -rf $RPM_BUILD_ROOT |
49dc8ea2 | 37 | %{__make} DESTDIR=$RPM_BUILD_ROOT GNC_DOC_INSTALL_DIR=%{_docdir}/%{name}-%{version}/ \ |
a9c8aeb2 | 38 | gnomeappdir=%{_applnkdir}/Office/Misc install |
7e42f0e0 | 39 | |
8091f937 | 40 | gzip -9nfr $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/* |
7e42f0e0 | 41 | |
42 | %find_lang %{name} | |
42e98a8e | 43 | |
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
7e42f0e0 | 47 | %files -f %{name}.lang |
48 | %defattr(644,root,root,755) | |
7e42f0e0 | 49 | %attr(755,root,root) %{_bindir}/gnucash |
50 | %attr(755,root,root) %{_bindir}/gnc-prices | |
aaaa0722 | 51 | %{_libdir}/gnucash/perl/*.so* |
52 | %{_libdir}/libgncengine.so* | |
7e42f0e0 | 53 | %{_mandir}/man1/* |
54 | %{_datadir}/gnucash/html/C | |
55 | %lang(fr) %{_datadir}/gnucash/html/fr | |
aaaa0722 | 56 | %{_datadir}/gnucash/html/index.html |
7e42f0e0 | 57 | %{_datadir}/gnucash/html/gnucash.css |
58 | %{_datadir}/gnucash/scm | |
49dc8ea2 | 59 | %{_datadir}/gnucash/perl |
7e42f0e0 | 60 | %{_sysconfdir}/gnucash/config |
a9c8aeb2 | 61 | %{_applnkdir}/Office/Misc/gnucash.desktop |
7e42f0e0 | 62 | %doc %{_docdir}/%{name}-%{version}/ |