File arkade.spec of Package arkade-0.0.1.20220521-1.53

# spec file for arkade
#
# Copyright (c) 2021 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.

Name:           arkade 
Version:        0.0.1.20220521
Release:        1.53
License:        GPL-3.0+
Summary:        Arkade, a compilation of touch friendly games
Url:            https://invent.kde.org/games/arkade
Source0:        arkade-%{version}.tar.xz
BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  cmake
BuildRequires:  fdupes
BuildRequires:  AppStream
BuildRequires:  extra-cmake-modules
BuildRequires:  hicolor-icon-theme
BuildRequires:  update-desktop-files

BuildRequires:  cmake(Qt5Core)
BuildRequires:  cmake(Qt5Gui)
BuildRequires:  cmake(Qt5Qml)
BuildRequires:  cmake(Qt5QuickControls2)
BuildRequires:  cmake(Qt5Svg)

BuildRequires:  cmake(KF5Kirigami2)
BuildRequires:  cmake(KF5I18n)
BuildRequires:  cmake(KF5Package)

Requires:       kirigami2

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Collection of arcade/classic games written in QML.
Contains at least samegame, connect-four and Tetris.

%prep
%setup -q -n arkade-%{version}

%build
%cmake_kf5 -d build
%cmake_build

%install
%kf5_makeinstall -C build
%kf5_post_install
%fdupes %{buildroot}%{_prefix}

%files
%defattr(-,root,root,-)
%license LICENSES/{BSD-2-Clause,GPL-3.0-or-later}.txt
%{_kf5_bindir}/%{name}
%{_kf5_applicationsdir}/org.kde.%{name}.desktop
%{_kf5_appstreamdir}/org.kde.%{name}.appdata.xml
%{_kf5_plugindir}/kpackage/packagestructure/game_packagestructure.so
%dir %{_kf5_plugindir}/kpackage
%dir %{_kf5_plugindir}/kpackage/packagestructure
%dir %{_kf5_sharedir}/game
%dir %{_kf5_sharedir}/game/packages
%{_kf5_sharedir}/game/packages/org.kde.arkade.blocktennis/contents/ui/
%{_kf5_sharedir}/game/packages/org.kde.arkade.blocktennis/
%{_kf5_sharedir}/game/packages/org.kde.arkade.fourinline/contents/ui/
%{_kf5_sharedir}/game/packages/org.kde.arkade.fourinline/contents/ui/shared/pics/
%{_kf5_sharedir}/game/packages/org.kde.arkade.fourinline/
%{_kf5_sharedir}/game/packages/org.kde.arkade.samegame/contents/ui/
%{_kf5_sharedir}/game/packages/org.kde.arkade.samegame/contents/ui/samegame4/highscores/
%{_kf5_sharedir}/game/packages/org.kde.arkade.samegame/contents/ui/shared/pics/
%{_kf5_sharedir}/game/packages/org.kde.arkade.samegame/


%changelog
openSUSE Build Service is sponsored by