Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw
kmymoney4
kmymoney.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kmymoney.spec of Package kmymoney4
# # spec file for package kmymoney # # Copyright (c) 2018 SUSE LINUX 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 http://bugs.opensuse.org/ # Name: kmymoney Version: 4.8.4 %if 0%{?sle_version} == 150300 Epoch: 1 Provides: %{name} = %{version} %endif Release: 0 Summary: A Personal Finance Manager by KDE License: GPL-2.0 or GPL-3.0 Group: Productivity/Office/Finance Url: http://www.kmymoney.org/ Source0: http://download.kde.org/stable/kmymoney/%{version}/src/%{name}-%{version}.tar.xz Source1: manage-translations Source2: kmymoney-4.8.4-src.7z # PATCH-FIX-UPSTREAM Patch0: Fix-Print-to-File.patch # PATCH-FIX-UPSTREAM Patch1: Fix-clang-compilation-error-ordered-comparison-between-pointer-and-zero.patch Patch2: add-print-preview-for-charts.patch Patch3: disable-print-preview-with-unpatched-kdelibs.patch BuildRequires: aqbanking-devel %if 0%{?suse_version} > 1325 BuildRequires: libboost_headers-devel %else BuildRequires: boost-devel %endif BuildRequires: fdupes BuildRequires: glibmm2-devel BuildRequires: gmp-devel BuildRequires: libalkimia-devel BuildRequires: libgpgme-devel BuildRequires: libkactivities-devel BuildRequires: libkdepimlibs4-devel BuildRequires: libofx-devel BuildRequires: libxml++-devel %if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200 BuildRequires: p7zip-full %else BuildRequires: p7zip %endif %if %suse_version > 1320 BuildRequires: python2 %else BuildRequires: python %endif BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libical) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(sqlcipher) Requires(post): shared-mime-info Requires(postun): shared-mime-info Recommends: %{name}-doc = %{version} Recommends: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %suse_version > 1320 || 0%{?is_opensuse} Requires: libakonadiprotocolinternals1 Recommends: akonadi-runtime %else %kde4_akonadi_requires %endif %kde4_pimlibs_requires %kde4_runtime_requires Requires(post): shared-mime-info Requires(postun): shared-mime-info %requires_ge aqbanking %description KMyMoney is a Personal Finance Manager by KDE. 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. %lang_package %prep %setup -q %autopatch -p1 sh -x %{_sourcedir}/manage-translations --unpack4 %{SOURCE2} %build %if 0%{suse_version} > 1500 # workaround to fix build with gcc11 where C++17 is the default # TODO: check if still needed whenever there's a new release export RPM_OPT_FLAGS="$RPM_OPT_FLAGS --std=c++14" %endif %cmake_kde4 -d build -- -DENABLE_SQLCIPHER=1 %make_jobs %install %kde4_makeinstall -C build %kde_post_install %find_lang %{name} %fdupes -s %{buildroot} %post /sbin/ldconfig %mime_database_post %postun /sbin/ldconfig %mime_database_postun %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog ChangeLog.original README.Fileformats %dir %{_datadir}/metainfo %{_datadir}/metainfo/org.kde.kmymoney.appdata.xml %{_datadir}/mime/packages/x-kmymoney.xml %{_kde4_applicationsdir}/org.kde.kmymoney.desktop %{_kde4_appsdir}/kconf_update/kmymoney.upd %{_kde4_appsdir}/kmm_*/ %{_kde4_appsdir}/kmymoney/ %{_kde4_bindir}/kmymoney %{_kde4_configdir}/csvimporterrc %{_kde4_configkcfgdir}/ %{_kde4_iconsdir}/*/*/*/*kmymoney.png %{_kde4_libdir}/libkmm_*.so.* %{_kde4_libdir}/libkmm_settings.so %{_kde4_libdir}/libpayeeidentifier_*.so.* %dir %{_kde4_modulesdir}/sqldrivers %{_kde4_modulesdir}/sqldrivers/libsqlcipherdriver.so %{_kde4_modulesdir}/kcm_kmm_*.so %{_kde4_modulesdir}/kmm_*.so %{_kde4_modulesdir}/konlinetasks_sepa.so %{_kde4_modulesdir}/payeeidentifier_*.so %dir %{_kde4_servicesdir}/ibanbicdata %{_kde4_servicesdir}/ibanbicdata/germany.desktop %{_kde4_servicesdir}/ibanbicdata/switzerland.desktop %{_kde4_servicesdir}/kcm_kmm_*.desktop %{_kde4_servicesdir}/kmm_*.desktop %{_kde4_servicesdir}/kmymoney-*.desktop %{_kde4_servicetypesdir}/ibanbicdata.desktop %{_kde4_servicetypesdir}/kmymoney-*.desktop %files devel %defattr(-,root,root,-) %{_kde4_includedir}/kmymoney/ %{_kde4_libdir}/libkmm_kdchart.so %{_kde4_libdir}/libkmm_mymoney.so %{_kde4_libdir}/libkmm_payeeidentifier.so %{_kde4_libdir}/libkmm_plugin.so %{_kde4_libdir}/libkmm_widgets.so %{_kde4_libdir}/libpayeeidentifier_*.so %files lang -f %{name}.lang %defattr(-,root,root,-) %exclude %{_kde4_htmldir} %files doc %defattr(-,root,root,-) %doc %{_kde4_htmldir} %{_kde4_mandir}/man1/kmymoney.1.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor