File kmymoney.spec of Package kmymoney

# spec file for package kmymoney
# Copyright (c) 2014 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.

# Please submit bugfixes or comments via

Name:           kmymoney
Version:        4.6.6
Release:        0
Summary:        A Personal Finance Manager for KDE 4
License:        GPL-2.0 or GPL-3.0
Group:          Productivity/Office/Finance
BuildRequires:  aqbanking-devel
BuildRequires:  boost-devel
BuildRequires:  fdupes
BuildRequires:  glibmm2-devel
BuildRequires:  gmp-devel
BuildRequires:  libalkimia-devel
BuildRequires:  libgpgme-devel
BuildRequires:  libkdepimlibs4-devel
BuildRequires:  libofx-devel
BuildRequires:  libxml++-devel
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(libical)
BuildRequires:  pkgconfig(libxml-2.0)
Recommends:     %{name}-doc = %{version}
Recommends:     %{name}-lang = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires(post): shared-mime-info
Requires(postun): shared-mime-info

KMyMoney is a Personal Finance Manager for KDE4. It operates
similar to Quicken, supports various account types, categorization
of expenses, multiple currencies, online banking support via QIF,
OFX and HBCI, budgeting and a rich set of reports.

%package devel
Summary:        Development Files for KMyMoney
Group:          Development/Languages/C and C++
Requires:       %{name} = %{version}

%description devel
Development files and headers need to build software using KMyMoney.

%package doc
Summary:        Documentation for KMyMoney
Group:          Documentation/HTML
Requires:       %{name} = %{version}

%description doc
Documentation and help files for KMyMoney.


%setup -q

%cmake_kde4 -d build

%kde4_makeinstall -C build


%find_lang %{name}

%fdupes -s %{buildroot}

/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :

/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :

%doc AUTHORS COPYING ChangeLog ChangeLog.original README.Fileformats
%doc %{_kde4_mandir}/man1/kmymoney.1%{ext_man}

%files devel

%files lang -f %{name}.lang
%exclude %{_kde4_htmldir}

%files doc
%doc %{_kde4_htmldir}

openSUSE Build Service is sponsored by