grisbi/grisbi.spec

78 lines
1.9 KiB
RPMSpec

#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: grisbi
Version: 0.8.5
Release: 1
License: GPLv2+
Summary: Personal Accounting Application
Url: http://www.grisbi.org
Group: Productivity/Office/Finance
Source: http://prdownloads.sourceforge.net/grisbi/grisbi-%{version}.tar.bz2
# Needed for make check
#BuildRequires: cunit-devel
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: libofx-devel
BuildRequires: openssl-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libxml-2.0)
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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.
One notable feature is that it respects French accounting rules.
%lang_package
%prep
%setup -q
%build
%configure \
--disable-static \
--with-ofx
make %{?jobs:-j%{jobs}}
%install
%make_install
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}
%fdupes -s %{buildroot}%{_datadir}
# We need cunit for this
#%%check
#make check
%clean
%{?buildroot:rm -rf %{buildroot}}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%{_bindir}/grisbi
%doc %{_mandir}/man1/grisbi.1%{?ext_man}
%{_datadir}/applications/grisbi.desktop
%{_datadir}/doc/grisbi/
%{_datadir}/grisbi/
%{_datadir}/icons/*/*/apps/grisbi.*
%{_datadir}/pixmaps/grisbi/
%dir %{_libdir}/grisbi
# Explicitly list plugins
%{_libdir}/grisbi/gnucash.so
%{_libdir}/grisbi/ofx.so
%{_libdir}/grisbi/openssl.so
%files lang -f %{name}.lang
# vim: set sw=4 ts=4 et:
%changelog