]> git.pld-linux.org Git - packages/gnucash.git/blob - gnucash.spec
- Release 1. STBR.
[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.6.2
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:       gnome-print >= 0.21
16 Requires:       perl
17 BuildRequires:  gnome-libs-devel
18 BuildRequires:  libxml-devel
19 BuildRequires:  g-wrap-devel >= 1.1.9
20 BuildRequires:  bonobo-devel
21 BuildRequires:  libghttp-devel
22 BuildRequires:  gtkhtml-devel >= 0.8
23 BuildRequires:  gnome-print-devel
24 BuildRequires:  Guppi-devel
25 BuildRequires:  guile-devel
26 BuildRequires:  libglade-devel
27 BuildRequires:  gtk+-devel
28 BuildRequires:  gal-devel
29 BuildRequires:  gdk-pixbuf-devel
30 BuildRequires:  gettext-devel
31 BuildRequires:  db1-devel
32 # Test for Guppi needs it
33 BuildRequires:  readline-devel
34 BuildRequires:  python-devel
35 BuildRequires:  libwrap-devel
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %define         _prefix         /usr/X11R6
39 %define         _mandir         %{_prefix}/man
40 %define         _sysconfdir     /etc/X11
41
42 %description
43 GnuCash is a personal finance manager. A check-book like register GUI
44 allows you to enter and track bank accounts, stocks, income and even
45 currency trades. The interface is designed to be simple and easy to
46 use, but is backed with double-entry accounting principles to ensure
47 balanced books.
48
49 %description -l pl
50 GnuCash jest mened¿erem finansów osobistych. Pozwala na ¶ledzenie i 
51 wpisywanie zasobów na swoich kontach bankowych, zak³adów. Daje
52 wgl±d nawet w kursy walut. Interfejs zosta³ zaprojektowany z my¶l±
53 o prostocie i ³atwo¶ci u¿ycia.
54
55 %prep -q
56 %setup -q
57
58 %build
59 rm missing
60 rm src/guile/Makefile.in
61 aclocal -I ./macros
62 libtoolize --copy --force
63 automake -a -c
64 autoconf
65
66 CFLAGS='-L/usr/X11R6/lib -I/usr/X11R6/include'
67 export CFLAGS
68 %configure
69
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT \
77         GNC_DOC_INSTALL_DIR=%{_docdir}/%{name}-%{version}/ \
78         gnomeappdir=%{_applnkdir}/Office/Misc
79
80 gzip -9nf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/[!e]*
81
82 %find_lang %{name} --with-gnome
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_bindir}/*
93 %{_libdir}/libgncengine.so.*.*.*
94 %{_mandir}/*/*
95 %{_infodir}/*
96 %{_applnkdir}/Office/Misc/*
97 %{_datadir}/%{name}
98 %{_datadir}/mime-info/*
99 %{_pixmapsdir}/%{name}
100 %{_sysconfdir}/gnucash
101 %doc %{_docdir}/%{name}-%{version}/
This page took 0.073875 seconds and 4 git commands to generate.