]> git.pld-linux.org Git - packages/gnucash.git/blob - gnucash.spec
1.6.1
[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.1
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 automake -a -c
52
53 %configure
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} DESTDIR=$RPM_BUILD_ROOT \
61         GNC_DOC_INSTALL_DIR=%{_docdir}/%{name}-%{version}/ \
62         gnomeappdir=%{_applnkdir}/Office/Misc install
63
64 gzip -9nfr $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/*
65
66 %find_lang %{name} --with-gnome
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_bindir}/gnucash
74 %attr(755,root,root) %{_bindir}/gnc-prices
75 %{_libdir}/gnucash/perl/*.so*
76 %{_libdir}/libgncengine.so*
77 %{_mandir}/man1/*
78 %{_datadir}/gnucash/html/index.html
79 %{_datadir}/gnucash/html/gnucash.css
80 %{_datadir}/gnucash/scm
81 %{_datadir}/gnucash/perl
82 %{_sysconfdir}/gnucash/config
83 %{_applnkdir}/Office/Misc/gnucash.desktop
84 %doc %{_docdir}/%{name}-%{version}/
This page took 0.072718 seconds and 4 git commands to generate.