2011-04-29 01:06:06 +02:00
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: grisbi
|
2011-05-03 18:02:23 +02:00
|
|
|
Version: 0.8.5
|
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
|
|
|
|
Source: http://prdownloads.sourceforge.net/grisbi/grisbi-%{version}.tar.bz2
|
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-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
|
|
|
|
|
|
|
|
%build
|
|
|
|
%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-04-29 01:38:52 +02:00
|
|
|
%changelog
|