Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Guillaume_G:WSL
mingw64-kmymoney5
mingw64-kmymoney5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-kmymoney5.spec of Package mingw64-kmymoney5
# # spec file for package mingw64-kmymoney5 # # 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 http://bugs.opensuse.org/ # %global aq_dev_package mingw64-aqbanking6-devel %global gw_dev_package mingw64-gwenhywfar5-devel %{!?aq_version: %define aq_version %(rpm -q %{aq_dev_package} | awk -F"[-+]" '{print $4}')} %{!?gw_version: %define gw_version %(rpm -q %{gw_dev_package} | awk -F"[-+]" '{print $4}')} %define _with_kbanking 1 %define _with_weboob 0 %define _name kmymoney5 Name: mingw64-%{_name} Version: 5.1.3 Release: 0 Summary: A Personal Finance Manager for KF5 License: GPL-2.0 or GPL-3.0 Group: Productivity/Office/Finance Url: https://www.kmymoney.org/ Source: https://download.kde.org/stable/kmymoney/%{version}/src/kmymoney-%{version}.tar.xz Patch0: 0001-Fix-Forecasting-graph-on-the-home-page-has-random-qu.patch Patch1: fix-building-with-gpgme-1.23.2.patch BuildRequires: mingw64-cross-cmake BuildRequires: doxygen #BuildRequires: mingw64-akonadi-devel BuildRequires: mingw64-aqbanking6-devel >= %{aq_version} BuildRequires: mingw64-cross-gcc-c++ # png2ico BuildRequires: mingw64-cross-kdewin-tools BuildRequires: mingw64-cross-libqt5-qmake >= 5.2.0 BuildRequires: mingw64-extra-cmake-modules BuildRequires: mingw64-gmp-devel BuildRequires: mingw64-gwenhywfar5-devel >= %{gw_version} BuildRequires: mingw64-libalkimia5-devel BuildRequires: mingw64-libical-devel-static BuildRequires: mingw64-libical-devel BuildRequires: mingw64-libofx-devel BuildRequires: mingw64-libqgpgme-devel # FIXME should be dependency of qtbase-devel package BuildRequires: mingw64-libqt5-qtbase-devel >= 5.2.0 BuildRequires: mingw64-libqt5-qtdeclarative-devel >= 5.2.0 BuildRequires: mingw64-libqt5-qtsvg-devel >= 5.2.0 BuildRequires: mingw64-kactivities5-devel BuildRequires: mingw64-karchive-devel BuildRequires: mingw64-kcmutils-devel BuildRequires: mingw64-kcompletion-devel #BuildRequires: mingw64-kconfig-devel BuildRequires: mingw64-kconfigwidgets-devel BuildRequires: mingw64-kcontacts-devel BuildRequires: mingw64-kcoreaddons-devel BuildRequires: mingw64-kdewebkit-devel BuildRequires: mingw64-kdewin-devel BuildRequires: mingw64-kdiagram-devel BuildRequires: mingw64-kdoctools-devel BuildRequires: mingw64-kf5-filesystem BuildRequires: mingw64-kholidays-devel BuildRequires: mingw64-ki18n-devel BuildRequires: mingw64-kiconthemes-devel #BuildRequires: mingw64-kidentitymanagement-devel BuildRequires: mingw64-kitemmodels-devel BuildRequires: mingw64-kitemviews-devel BuildRequires: mingw64-kio-devel BuildRequires: mingw64-knotifications-devel BuildRequires: mingw64-kross-devel BuildRequires: mingw64-kservice-devel BuildRequires: mingw64-ktextwidgets-devel BuildRequires: mingw64-kwallet-devel BuildRequires: mingw64-kxmlgui-devel BuildRequires: mingw64-opensp-devel BuildRequires: mingw64-win_iconv-devel BuildRequires: update-desktop-files Recommends: %{name}-doc = %{version} Recommends: %{name}-lang = %{version} Requires: mingw64-libKChart2 Requires(post): mingw64-shared-mime-info Requires(postun): mingw64-shared-mime-info %_mingw64_package_header_debug BuildArch: noarch #!BuildIgnore: post-build-checks %description KMyMoney is a Personal Finance Manager. 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 %_mingw64_debug_package %prep %autosetup -p1 -n kmymoney-%{version} # fix finding libical sed -i 's,find_package(Libical),find_package(LibIcal CONFIG),g' CMakeLists.txt # fix /usr/i686-w64-mingw64/sys-root/mingw/include/gmpxx.h:242:6: error: 'DBL_MANT_DIG' was not declared in this scope sed -i '1s;^;add_definitions(-DDBL_MANT_DIG=__DBL_MANT_DIG__)\n;' CMakeLists.txt %build %_mingw64_cmake_kf5 -d build -- -DPng2Ico_EXECUTABLE=/usr/bin/i686-w64-mingw64-png2ico -DKMM_DBUS=1 %_mingw64_cmake_build %install %_mingw64_kf5_makeinstall -C build # remove obsolete man dir rm -rf %{buildroot}%{_mingw64_kf5_mandir} %_mingw64_find_lang kmymoney || true %suse_update_desktop_file org.kde.kmymoney %post %mime_database_post %{_mingw64_kf5_sharedir}/mime %postun %mime_database_postun %{_mingw64_kf5_sharedir}/mime %files %defattr(-,root,root,-) %{_mingw64_kf5_sharedir}/mime/packages/x-kmymoney.xml %{_mingw64_kf5_applicationsdir}/org.kde.kmymoney.desktop %if %{?_with_kbanking} %{_mingw64_kf5_appsdir}/kbanking/ %endif %{_mingw64_kf5_appsdir}/kmymoney/ %if %{?_with_weboob} %{_mingw64_kf5_appsdir}/weboob/ %endif %{_mingw64_kf5_bindir}/kmymoney.exe %{_mingw64_kf5_configkcfgdir}/ %{_mingw64_kf5_bindir}/lib*.dll %{_mingw64_kf5_servicesdir}/*.desktop %dir %{_mingw64_kf5_plugindir}/kmymoney %{_mingw64_kf5_plugindir}/kmymoney/*.dll %{_mingw64_kf5_appstreamdir}/ %{_mingw64_kf5_iconsdir} %{_mingw64_kf5_sharedir}/kconf_update/ %{_mingw64_kf5_kxmlguidir}/ %{_mingw64_kf5_sharedir}/checkprinting/ %files devel %defattr(-,root,root,-) %{_mingw64_kf5_prefix}/include/kmymoney/ %{_mingw64_kf5_libdir}/lib*.dll.a %files lang -f kmymoney.lang %defattr(-,root,root,-) %files doc %defattr(-,root,root,-) %{_mingw64_kf5_htmldir} %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