File mingw32-khelpcenter-online.spec of Package mingw32-khelpcenter-online
#
# spec file for package mingw32-khelpcenter-online
#
# Copyright (c) 2014 Ralf Habacker
#
# 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
%define _version 0.5.0
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: mingw32-libkde4-devel
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-cross-cmake
Name: mingw32-khelpcenter-online
Version: 0.5.0
Release: 0
Source0: khelpcenter-online-%{_version}.tar.xz
Source1: khelpcenterrc
Url: https://build.opensuse.org/project/show/home:rhabacker:branches:windows:mingw:win32:kmymoney
%_mingw32_package_header_debug
BuildArch: noarch
#!BuildIgnore: post-build-checks
Summary: KDE Helpcenter replacement to access online documentation
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
%description
A small helper tool for accessing online documentation for KDE on Windows.
%_mingw32_debug_package
%prep
%setup -q -n khelpcenter-online-%{_version}
# overwrite template from tar ball
cp %{SOURCE1} .
%build
rm -rf CMakeCache.txt
%_mingw32_cmake_kde4 -d build
%_mingw32_cmake_build
%install
%_mingw32_kde4_makeinstall -C build
%_mingw32_kde4_post_install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_mingw32_kde4_bindir}/khelpcenter.exe
%{_mingw32_kde4_configdir}/khelpcenterrc
%changelog