2011-04-29 01:06:06 +02:00
|
|
|
#
|
2011-06-14 16:30:33 +02:00
|
|
|
# spec file for package grisbi
|
|
|
|
#
|
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2011-04-29 01:06:06 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-06-14 16:30:33 +02:00
|
|
|
|
|
|
|
|
2011-04-29 01:06:06 +02:00
|
|
|
Name: grisbi
|
2011-09-19 12:29:48 +02:00
|
|
|
Version: 0.8.8
|
2011-04-29 01:38:52 +02:00
|
|
|
Release: 1
|
|
|
|
License: GPLv2+
|
2011-04-29 01:06:06 +02:00
|
|
|
Summary: Personal Accounting Application
|
|
|
|
Url: http://www.grisbi.org
|
|
|
|
Group: Productivity/Office/Finance
|
2011-09-19 12:29:48 +02:00
|
|
|
Source: http://downloads.sourceforge.net/project/grisbi/grisbi%20stable/0.8.x/%{name}-%{version}.tar.bz2
|
|
|
|
# PATCH-FIX-UPSTREAM grisbi-fix-linking.patch vuntz@opensuse.org -- Fix build with strict linker; sent upstream by mail on 2011-09-19
|
|
|
|
Patch0: grisbi-fix-linking.patch
|
2011-04-29 01:38:52 +02:00
|
|
|
# Needed for make check
|
|
|
|
#BuildRequires: cunit-devel
|
2011-04-29 01:06:06 +02:00
|
|
|
BuildRequires: fdupes
|
2011-04-29 01:38:52 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libofx-devel
|
2011-10-15 08:14:27 +02:00
|
|
|
BuildRequires: libtool
|
2011-04-29 01:06:06 +02:00
|
|
|
BuildRequires: openssl-devel
|
2011-04-29 01:38:52 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2011-04-29 01:06:06 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2011-04-29 01:38:52 +02:00
|
|
|
Recommends: %{name}-lang
|
2011-04-29 01:06:06 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2011-04-29 01:38:52 +02:00
|
|
|
Grisbi is a personal accounting application, aiming at providing the most
|
|
|
|
simple and intuitive software for basic use, although it can be very powerful
|
|
|
|
if you spend a little time on the setup.
|
2011-04-29 01:06:06 +02:00
|
|
|
|
2011-04-29 01:38:52 +02:00
|
|
|
One notable feature is that it respects French accounting rules.
|
2011-04-29 01:06:06 +02:00
|
|
|
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-06-16 14:46:10 +02:00
|
|
|
%patch0 -p1
|
2011-04-29 01:06:06 +02:00
|
|
|
|
|
|
|
%build
|
2011-09-19 12:29:48 +02:00
|
|
|
# needed for patch0
|
|
|
|
autoreconf -fi
|
2011-04-29 01:06:06 +02:00
|
|
|
%configure \
|
2011-04-29 01:38:52 +02:00
|
|
|
--disable-static \
|
|
|
|
--with-ofx
|
2011-04-29 01:06:06 +02:00
|
|
|
make %{?jobs:-j%{jobs}}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2011-04-29 01:38:52 +02:00
|
|
|
rm %{buildroot}%{_libdir}/grisbi/*.la
|
|
|
|
# Those files are deprecated and not needed anymore
|
|
|
|
rm %{buildroot}%{_datadir}/mime-info/grisbi.{keys,mime}
|
|
|
|
%suse_update_desktop_file %{name}
|
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2011-05-03 18:02:23 +02:00
|
|
|
%fdupes -s %{buildroot}%{_datadir}
|
2011-04-29 01:38:52 +02:00
|
|
|
|
|
|
|
# We need cunit for this
|
|
|
|
#%%check
|
|
|
|
#make check
|
2011-04-29 01:06:06 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:rm -rf %{buildroot}}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2011-04-29 01:38:52 +02:00
|
|
|
%doc AUTHORS COPYING NEWS README
|
2011-04-29 01:06:06 +02:00
|
|
|
%{_bindir}/grisbi
|
2011-04-29 01:38:52 +02:00
|
|
|
%doc %{_mandir}/man1/grisbi.1%{?ext_man}
|
2011-04-29 01:06:06 +02:00
|
|
|
%{_datadir}/applications/grisbi.desktop
|
2011-04-29 01:38:52 +02:00
|
|
|
%{_datadir}/doc/grisbi/
|
|
|
|
%{_datadir}/grisbi/
|
|
|
|
%{_datadir}/icons/*/*/apps/grisbi.*
|
|
|
|
%{_datadir}/pixmaps/grisbi/
|
2011-04-29 01:06:06 +02:00
|
|
|
%dir %{_libdir}/grisbi
|
2011-04-29 01:38:52 +02:00
|
|
|
# Explicitly list plugins
|
2011-04-29 01:06:06 +02:00
|
|
|
%{_libdir}/grisbi/gnucash.so
|
|
|
|
%{_libdir}/grisbi/ofx.so
|
|
|
|
%{_libdir}/grisbi/openssl.so
|
|
|
|
|
2011-04-29 01:38:52 +02:00
|
|
|
%files lang -f %{name}.lang
|
2011-04-29 01:06:06 +02:00
|
|
|
|
|
|
|
# vim: set sw=4 ts=4 et:
|
2011-06-14 16:30:33 +02:00
|
|
|
|
2011-04-29 01:38:52 +02:00
|
|
|
%changelog
|