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