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