]>
Commit | Line | Data |
---|---|---|
42e98a8e | 1 | Name: gnucash |
2 | Summary: GnuCash is an application to keep track of your finances. | |
3 | Version: 1.2.5 | |
4 | Release: 1 | |
5 | Copyright: Free Software Foundation | |
6 | Group: Applications/Finance | |
7 | Source: ftp://ftp.gnucash.org/pub/gnucash/sources/stable/gnucash-1.2.5.tar.gz | |
8 | Packager: Eugene Kanter (eugene@bgs.com) | |
9 | ||
0c0928cf | 10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42e98a8e | 11 | |
12 | %description | |
13 | GnuCash is a personal finance manager. A check-book like | |
14 | register GUI allows you to enter and track bank accounts, | |
15 | stocks, income and even currency trades. The interface is | |
16 | designed to be simple and easy to use, but is backed with | |
17 | double-entry accounting principles to ensure balanced books. | |
18 | ||
42e98a8e | 19 | %prep |
20 | %setup | |
21 | ||
22 | %build | |
23 | X_LIBS=-lXp ./configure --prefix=/usr --sysconfdir=/etc | |
24 | make motif | |
25 | ||
42e98a8e | 26 | %install |
27 | make prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc GNC_CONFIGDIR=$RPM_BUILD_ROOT/etc/gnucash install | |
28 | #make prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc GNC_BINDIR=$RPM_BUILD_ROOT/usr/bin GNC_CONFIGDIR=$RPM_BUILD_ROOT/etc/gnucash GNC_DOCDIR=$RPM_BUILD_ROOT/usr/doc/gnucash install | |
29 | #rm -rf $RPM_BUILD_ROOT/usr/doc/gnucash | |
30 | ||
31 | %clean | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
42e98a8e | 34 | %files |
35 | %defattr(444,root,root,755) | |
36 | %attr(555,-,-) /usr/bin/gnucash.motif | |
37 | /usr/bin/gnucash | |
38 | /usr/bin/gnc-prices | |
39 | /usr/lib/gnucash | |
40 | /usr/share/gnucash | |
41 | ||
42 | %doc /usr/doc/gnucash |