]> git.pld-linux.org Git - packages/gnucash.git/blob - gnucash.spec
- removed explicit requirements for perl = %%{version} and %%{perl_sitearch}
[packages/gnucash.git] / gnucash.spec
1 %include        /usr/lib/rpm/macros.perl
2 Name:           gnucash
3 Summary:        GnuCash is an application to keep track of your finances.
4 Version:        1.4.9
5 Release:        1
6 Copyright:      Free Software Foundation
7 Group:          Applications/Finance
8 Source0:        http://www.gnucash.org/pub/gnucash/sources/stable/%{name}-%{version}.tar.gz
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 %define         _prefix         /usr/X11R6
20
21 %description
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.
27
28 %prep
29 %setup -q
30
31 %build
32 automake
33 %configure 
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 %{__make} DESTDIR=$RPM_BUILD_ROOT GNC_DOC_INSTALL_DIR=%{_docdir}/%{name}-%{version}/ \
39 gnomeappdir=%{_applnkdir}/Office/Misc install
40
41 gzip -9nfr $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/*
42
43 %find_lang %{name}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files -f %{name}.lang
49 %defattr(644,root,root,755)
50 %attr(755,root,root) %{_bindir}/gnucash
51 %attr(755,root,root) %{_bindir}/gnc-prices
52 %{_libdir}/gnucash/perl/*.so*
53 %{_libdir}/libgncengine.so*
54 %{_mandir}/man1/*
55 %{_datadir}/gnucash/html/C
56 %lang(fr) %{_datadir}/gnucash/html/fr
57 %{_datadir}/gnucash/html/index.html
58 %{_datadir}/gnucash/html/gnucash.css
59 %{_datadir}/gnucash/scm
60 %{_datadir}/gnucash/perl
61 %{_sysconfdir}/gnucash/config
62 %{_applnkdir}/Office/Misc/gnucash.desktop
63 %doc %{_docdir}/%{name}-%{version}/
This page took 0.093679 seconds and 4 git commands to generate.