]> git.pld-linux.org Git - packages/gnucash.git/blobdiff - gnucash.spec
- Guppi enabled (misundenstanding...)
[packages/gnucash.git] / gnucash.spec
index bbf9499c540dd66de05d0489fde3b6ce01c34964..c34db06cf1c717a6cb90327c9690b71175d84f5e 100644 (file)
@@ -1,48 +1,70 @@
+%include       /usr/lib/rpm/macros.perl
+Summary:       GnuCash is an application to keep track of your finances
+Summary(pl):   GnuCash - aplikacja do zarz±dzania twoimi finansami
 Name:          gnucash
-Summary:       GnuCash is an application to keep track of your finances.
-Version:       1.4.0
-Release:       0
-Copyright:     Free Software Foundation
-Group:         Applications/Finance
-Source0:       http://www.gnucash.org/pub/gnucash/sources/stable/%{name}-%{PACKAGE_VERSION}.tar.gz
-Patch0:                gnucash-destdir.patch
-URL:           Http://www.gnucash.org
+Version:       1.5.96
+Release:       1
+License:       GPL
+Group:         X11/Applications
+Group(de):     X11/Applikationen
+Group(pl):     X11/Aplikacje
+Source0:       http://www.gnucash.org/pub/gnucash/sources/stable/%{name}-%{version}.tar.gz
+URL:           http://www.gnucash.org/
 Requires:      slib
-Requires:      guile >= 1.3
+Requires:      guile >= 1.3.4
 Requires:      g-wrap
+Requires:      gnome-print >= 0.21
 BuildRequires: gnome-libs-devel
 BuildRequires: esound-devel
 BuildRequires: libxml-devel
-BuildRequires: g-wrap-static
+BuildRequires: g-wrap-static >= 1.1.9
+BuildRequires: bonobo-devel
+BuildRequires: libghttp-devel
+BuildRequires: gtkhtml-devel >= 0.8
+BuildRequires: libtool automake autoconf
+BuildRequires: gnome-print-devel
+BuildRequires: Guppi-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define         _prefix         /usr/X11R6
+
 %description
 GnuCash is a personal finance manager. A check-book like register GUI
 allows you to enter and track bank accounts, stocks, income and even
-currency trades. The interface is designed to be simple and easy to use,
-but is backed with double-entry accounting principles to ensure balanced
-books.
+currency trades. The interface is designed to be simple and easy to
+use, but is backed with double-entry accounting principles to ensure
+balanced books.
+
+%description -l pl
+GnuCash jest mened¿erem finansów osobistych. Pozwala na ¶ledzenie i 
+wpisywanie zasobów na swoich kontach bankowych, zak³adów. Daje
+wgl±d nawet w kursy walut. Interfejs zosta³ zaprojektowany z my¶l±
+o prostocie i ³atwo¶ci u¿ycia.
 
-%prep
+%prep -q
 %setup -q
-%patch0 -p1
 
 %build
-automake
-%configure 
-%{__make}
+rm missing
+libtoolize --copy --force
+#aclocal
+automake -a -c
+
+%configure \
+#      --disable-guppi         # we don't have guppi for now...
+
+#%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} DESTDIR=$RPM_BUILD_ROOT GNC_DOC_INSTALL_DIR=%{_docdir}/%{name}-%{version}/ \
-gnomeappdir=%{_applnkdir}/Applications install
 
-strip --strip-unneed $RPM_BUILD_ROOT%{_libdir}/libgncengine.so.0.1.1
-strip --strip-unneed $RPM_BUILD_ROOT%{_libdir}/gnucash/perl/libgncswig.so.0.1.1
+%{__make} DESTDIR=$RPM_BUILD_ROOT \
+       GNC_DOC_INSTALL_DIR=%{_docdir}/%{name}-%{version}/ \
+       gnomeappdir=%{_applnkdir}/Office/Misc install
 
-gzip -9nfr $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/* $RPM_BUILD_ROOT%{_mandir}/man1/*
+gzip -9nfr $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/*
 
-%find_lang %{name}
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -54,12 +76,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/gnucash/perl/*.so*
 %{_libdir}/libgncengine.so*
 %{_mandir}/man1/*
-%{_datadir}/gnucash/html/C
-%lang(fr) %{_datadir}/gnucash/html/fr
 %{_datadir}/gnucash/html/index.html
 %{_datadir}/gnucash/html/gnucash.css
 %{_datadir}/gnucash/scm
 %{_datadir}/gnucash/perl
 %{_sysconfdir}/gnucash/config
-%{_applnkdir}/Applications/gnucash.desktop
+%{_applnkdir}/Office/Misc/gnucash.desktop
 %doc %{_docdir}/%{name}-%{version}/
This page took 0.048375 seconds and 4 git commands to generate.