File mingw64-kwinshutdown5.spec of Package mingw64-kwinshutdown5

#
# spec file for package mingw64-kwinshutdown5
#
# Copyright (c) 2021 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

Name:           mingw64-kwinshutdown5
Version:        0.9.9
Release:        0
Source0:        kwinshutdown5-%{version}.tar.xz
BuildRequires:  mingw64-cross-cmake
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64-extra-cmake-modules
BuildRequires:  mingw64-kf5-filesystem
BuildRequires:  mingw64(cmake:Qt5Core) >= 5.2.0
BuildRequires:  mingw64(cmake:Qt5DBus) >= 5.2.0
BuildRequires:  mingw64(cmake:Qt5Widgets) >= 5.2.0
BuildRequires:  mingw64(cmake:KF5CoreAddons)
BuildRequires:  mingw64(cmake:KF5I18n)
BuildRequires:  mingw64(cmake:KF5WidgetsAddons)

%_mingw64_package_header_debug

BuildArch:      noarch
#!BuildIgnore: post-build-checks

Summary:        Application shutdown helper for KDE
License:        GPL-2.0-or-later
Group:          System/GUI/KDE

%description
A small helper tool for shutting down KDE background processes if main application has been closed

%_mingw64_debug_package

%prep
%autosetup -p1 -n kwinshutdown5-%{version}

%build
%_mingw64_cmake_kf5 -d build
%cmake_build

%install
%_mingw64_kf5_makeinstall -C build

%_mingw64_kf5_post_install

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_mingw64_kf5_bindir}/kwinshutdown5.exe
%{_mingw64_kf5_applicationsdir}/kwinshutdown5.desktop

%changelog
openSUSE Build Service is sponsored by