]> git.pld-linux.org Git - packages/gnucash.git/blob - gnucash.spec
- 1.5.97
[packages/gnucash.git] / gnucash.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        GnuCash is an application to keep track of your finances
3 Summary(pl):    GnuCash - aplikacja do zarz±dzania twoimi finansami
4 Name:           gnucash
5 Version:        1.5.97
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications
9 Group(de):      X11/Applikationen
10 Group(pl):      X11/Aplikacje
11 Source0:        http://www.gnucash.org/pub/gnucash/sources/stable/%{name}-%{version}.tar.gz
12 URL:            http://www.gnucash.org/
13 Requires:       slib
14 Requires:       guile >= 1.3.4
15 Requires:       g-wrap
16 Requires:       gnome-print >= 0.21
17 BuildRequires:  gnome-libs-devel
18 BuildRequires:  esound-devel
19 BuildRequires:  libxml-devel
20 BuildRequires:  g-wrap-static >= 1.1.9
21 BuildRequires:  bonobo-devel
22 BuildRequires:  libghttp-devel
23 BuildRequires:  gtkhtml-devel >= 0.8
24 BuildRequires:  libtool automake autoconf
25 BuildRequires:  gnome-print-devel
26 BuildRequires:  Guppi-devel
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         _prefix         /usr/X11R6
30
31 %description
32 GnuCash is a personal finance manager. A check-book like register GUI
33 allows you to enter and track bank accounts, stocks, income and even
34 currency trades. The interface is designed to be simple and easy to
35 use, but is backed with double-entry accounting principles to ensure
36 balanced books.
37
38 %description -l pl
39 GnuCash jest mened¿erem finansów osobistych. Pozwala na ¶ledzenie i 
40 wpisywanie zasobów na swoich kontach bankowych, zak³adów. Daje
41 wgl±d nawet w kursy walut. Interfejs zosta³ zaprojektowany z my¶l±
42 o prostocie i ³atwo¶ci u¿ycia.
43
44 %prep -q
45 %setup -q
46
47 %build
48 rm missing
49 libtoolize --copy --force
50 #aclocal
51 automake -a -c
52
53 %configure \
54 #       --disable-guppi         # we don't have guppi for now...
55
56 #%{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} DESTDIR=$RPM_BUILD_ROOT \
62         GNC_DOC_INSTALL_DIR=%{_docdir}/%{name}-%{version}/ \
63         gnomeappdir=%{_applnkdir}/Office/Misc install
64
65 gzip -9nfr $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/*
66
67 %find_lang %{name} --with-gnome
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/gnucash
75 %attr(755,root,root) %{_bindir}/gnc-prices
76 %{_libdir}/gnucash/perl/*.so*
77 %{_libdir}/libgncengine.so*
78 %{_mandir}/man1/*
79 %{_datadir}/gnucash/html/index.html
80 %{_datadir}/gnucash/html/gnucash.css
81 %{_datadir}/gnucash/scm
82 %{_datadir}/gnucash/perl
83 %{_sysconfdir}/gnucash/config
84 %{_applnkdir}/Office/Misc/gnucash.desktop
85 %doc %{_docdir}/%{name}-%{version}/
This page took 0.083382 seconds and 4 git commands to generate.