File bomber.spec of Package bomber
#
# spec file for package bomber
#
# Copyright (c) 2015 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: bomber
Version: 15.08.1
Release: 0
Summary: Invading cities with a plane
License: GPL-2.0+
Group: Amusements/Games/Action/Arcade
Url: http://www.kde.org
Source0: bomber-%{version}.tar.xz
BuildRequires: extra-cmake-modules
BuildRequires: kconfig-devel
BuildRequires: kconfigwidgets-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kdelibs4support-devel
BuildRequires: kguiaddons-devel
BuildRequires: ki18n-devel
BuildRequires: kiconthemes-devel
BuildRequires: kio-devel
BuildRequires: kitemviews-devel
BuildRequires: knewstuff-devel
BuildRequires: knotifyconfig-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: kxmlgui-devel
BuildRequires: libkdegames-devel
BuildRequires: phonon4qt5-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5QuickWidgets)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: xz
Obsoletes: %{name}5 < %{version}
Provides: %{name}5 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Bomber is a single player arcade game. The player is invading various cities in a plane that is decreasing in height.
The goal of the game is to destroy all the buildings and advance to the next level. Each level gets a harder by increasing the speed of the plane and the height of the buildings.
%prep
%setup -q -n bomber-%{version}
%build
%cmake_kf5 -d build
%{make_jobs}
%install
%{kf5_makeinstall} -C build
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_kf5_bindir}/bomber
%{_kf5_htmldir}/en/bomber/
%{_kf5_applicationsdir}/org.kde.bomber.desktop
%{_kf5_iconsdir}/hicolor/*/*/bomber.*
%{_kf5_appsdir}/bomber/
%dir %{_kf5_configkcfgdir}
%{_kf5_configkcfgdir}/bomber.kcfg
%{_kf5_appsdir}/appdata/
%_datadir/kxmlgui5/bomber/
%changelog