]> git.pld-linux.org Git - packages/gnucash.git/blob - gnucash.spec
- more BuildReuires
[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.96
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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _prefix         /usr/X11R6
29
30 %description
31 GnuCash is a personal finance manager. A check-book like register GUI
32 allows you to enter and track bank accounts, stocks, income and even
33 currency trades. The interface is designed to be simple and easy to
34 use, but is backed with double-entry accounting principles to ensure
35 balanced books.
36
37 %description -l pl
38 GnuCash jest mened¿erem finansów osobistych. Pozwala na ¶ledzenie i 
39 wpisywanie zasobów na swoich kontach bankowych, zak³adów. Daje
40 wgl±d nawet w kursy walut. Interfejs zosta³ zaprojektowany z my¶l±
41 o prostocie i ³atwo¶ci u¿ycia.
42
43 %prep -q
44 %setup -q
45
46 %build
47 rm missing
48 automake -a -c
49
50 %configure 
51         --disable-guppi         # we don't have guppi for now...
52
53 #%{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} DESTDIR=$RPM_BUILD_ROOT \
59         GNC_DOC_INSTALL_DIR=%{_docdir}/%{name}-%{version}/ \
60         gnomeappdir=%{_applnkdir}/Office/Misc install
61
62 gzip -9nfr $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/*
63
64 %find_lang %{name} --with-gnome
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_bindir}/gnucash
72 %attr(755,root,root) %{_bindir}/gnc-prices
73 %{_libdir}/gnucash/perl/*.so*
74 %{_libdir}/libgncengine.so*
75 %{_mandir}/man1/*
76 %{_datadir}/gnucash/html/index.html
77 %{_datadir}/gnucash/html/gnucash.css
78 %{_datadir}/gnucash/scm
79 %{_datadir}/gnucash/perl
80 %{_sysconfdir}/gnucash/config
81 %{_applnkdir}/Office/Misc/gnucash.desktop
82 %doc %{_docdir}/%{name}-%{version}/
This page took 0.084221 seconds and 4 git commands to generate.