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