Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-kmymoney5
mingw32-kmymoney5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-kmymoney5.spec of Package mingw32-kmymoney5
# # spec file for package mingw32-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 mingw32-aqbanking6-devel %global gw_dev_package mingw32-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: mingw32-%{_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: mingw32-cross-cmake BuildRequires: doxygen #BuildRequires: mingw32-akonadi-devel BuildRequires: mingw32-aqbanking6-devel >= %{aq_version} BuildRequires: mingw32-cross-gcc-c++ # png2ico BuildRequires: mingw32-cross-kdewin-tools BuildRequires: mingw32-cross-libqt5-qmake >= 5.2.0 BuildRequires: mingw32-extra-cmake-modules BuildRequires: mingw32-gmp-devel BuildRequires: mingw32-gwenhywfar5-devel >= %{gw_version} BuildRequires: mingw32-libalkimia5-devel BuildRequires: mingw32-libical-devel-static BuildRequires: mingw32-libical-devel BuildRequires: mingw32-libofx-devel BuildRequires: mingw32-libqgpgme-devel # FIXME should be dependency of qtbase-devel package BuildRequires: mingw32-libqt5-qtbase-devel >= 5.2.0 BuildRequires: mingw32-libqt5-qtdeclarative-devel >= 5.2.0 BuildRequires: mingw32-libqt5-qtsvg-devel >= 5.2.0 BuildRequires: mingw32-kactivities5-devel BuildRequires: mingw32-karchive-devel BuildRequires: mingw32-kcmutils-devel BuildRequires: mingw32-kcompletion-devel #BuildRequires: mingw32-kconfig-devel BuildRequires: mingw32-kconfigwidgets-devel BuildRequires: mingw32-kcontacts-devel BuildRequires: mingw32-kcoreaddons-devel BuildRequires: mingw32-kdewebkit-devel BuildRequires: mingw32-kdewin-devel BuildRequires: mingw32-kdiagram-devel BuildRequires: mingw32-kdoctools-devel BuildRequires: mingw32-kf5-filesystem BuildRequires: mingw32-kholidays-devel BuildRequires: mingw32-ki18n-devel BuildRequires: mingw32-kiconthemes-devel #BuildRequires: mingw32-kidentitymanagement-devel BuildRequires: mingw32-kitemmodels-devel BuildRequires: mingw32-kitemviews-devel BuildRequires: mingw32-kio-devel BuildRequires: mingw32-knotifications-devel BuildRequires: mingw32-kross-devel BuildRequires: mingw32-kservice-devel BuildRequires: mingw32-ktextwidgets-devel BuildRequires: mingw32-kwallet-devel BuildRequires: mingw32-kxmlgui-devel BuildRequires: mingw32-opensp-devel BuildRequires: mingw32-win_iconv-devel BuildRequires: update-desktop-files Recommends: %{name}-doc = %{version} Recommends: %{name}-lang = %{version} Requires: mingw32-libKChart2 Requires(post): mingw32-shared-mime-info Requires(postun): mingw32-shared-mime-info %_mingw32_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 %_mingw32_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-mingw32/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 %_mingw32_cmake_kf5 -d build -- -DPng2Ico_EXECUTABLE=/usr/bin/i686-w64-mingw32-png2ico -DKMM_DBUS=1 %_mingw32_cmake_build %install %_mingw32_kf5_makeinstall -C build # remove obsolete man dir rm -rf %{buildroot}%{_mingw32_kf5_mandir} %_mingw32_find_lang kmymoney || true %suse_update_desktop_file org.kde.kmymoney %post %mime_database_post %{_mingw32_kf5_sharedir}/mime %postun %mime_database_postun %{_mingw32_kf5_sharedir}/mime %files %defattr(-,root,root,-) %{_mingw32_kf5_sharedir}/mime/packages/x-kmymoney.xml %{_mingw32_kf5_applicationsdir}/org.kde.kmymoney.desktop %if %{?_with_kbanking} %{_mingw32_kf5_appsdir}/kbanking/ %endif %{_mingw32_kf5_appsdir}/kmymoney/ %if %{?_with_weboob} %{_mingw32_kf5_appsdir}/weboob/ %endif %{_mingw32_kf5_bindir}/kmymoney.exe %{_mingw32_kf5_configkcfgdir}/ %{_mingw32_kf5_bindir}/lib*.dll %{_mingw32_kf5_servicesdir}/*.desktop %dir %{_mingw32_kf5_plugindir}/kmymoney %{_mingw32_kf5_plugindir}/kmymoney/*.dll %{_mingw32_kf5_appstreamdir}/ %{_mingw32_kf5_iconsdir} %{_mingw32_kf5_sharedir}/kconf_update/ %{_mingw32_kf5_kxmlguidir}/ %{_mingw32_kf5_sharedir}/checkprinting/ %files devel %defattr(-,root,root,-) %{_mingw32_kf5_prefix}/include/kmymoney/ %{_mingw32_kf5_libdir}/lib*.dll.a %files lang -f kmymoney.lang %defattr(-,root,root,-) %files doc %defattr(-,root,root,-) %{_mingw32_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