]> git.pld-linux.org Git - packages/gnucash.git/blob - gnucash.spec
- upgrade to 1.4.0 - stable version
[packages/gnucash.git] / gnucash.spec
1 Name:           gnucash
2 Summary:        GnuCash is an application to keep track of your finances.
3 Version:        1.4.0
4 Release:        0
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 Patch0:         gnucash-destdir.patch
9 URL:            Http://www.gnucash.org
10 Requires:       slib
11 Requires:       guile >= 1.3
12 Requires:       g-wrap
13 BuildRequires:  gnome-libs-devel
14 BuildRequires:  esound-devel
15 BuildRequires:  libxml-devel
16 BuildRequires:  g-wrap-static
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 GnuCash is a personal finance manager. A check-book like register GUI
21 allows you to enter and track bank accounts, stocks, income and even
22 currency trades. The interface is designed to be simple and easy to use,
23 but is backed with double-entry accounting principles to ensure balanced
24 books.
25
26 %prep
27 %setup -q
28 %patch0 -p1
29
30 %build
31 automake
32 %configure 
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 %{__make} DESTDIR=$RPM_BUILD_ROOT GNC_DOC_INSTALL_DIR=%{_docdir}/%{name}-%{version}/ \
38 gnomeappdir=%{_applnkdir}/Applications install
39
40 strip --strip-unneed $RPM_BUILD_ROOT%{_libdir}/libgncengine.so.0.1.1
41 strip --strip-unneed $RPM_BUILD_ROOT%{_libdir}/gnucash/perl/libgncswig.so.0.1.1
42
43 gzip -9nfr $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/* $RPM_BUILD_ROOT%{_mandir}/man1/*
44
45 %find_lang %{name}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files -f %{name}.lang
51 %defattr(644,root,root,755)
52 %attr(755,root,root) %{_bindir}/gnucash
53 %attr(755,root,root) %{_bindir}/gnc-prices
54 %{_libdir}/gnucash/perl/*.so*
55 %{_libdir}/libgncengine.so*
56 %{_mandir}/man1/*
57 %{_datadir}/gnucash/html/C
58 %lang(fr) %{_datadir}/gnucash/html/fr
59 %{_datadir}/gnucash/html/index.html
60 %{_datadir}/gnucash/html/gnucash.css
61 %{_datadir}/gnucash/scm
62 %{_datadir}/gnucash/perl
63 %{_sysconfdir}/gnucash/config
64 %{_applnkdir}/Applications/gnucash.desktop
65 %doc %{_docdir}/%{name}-%{version}/
This page took 0.066156 seconds and 4 git commands to generate.