File bomber.spec of Package bomber

#
# spec file for package bomber
#
# 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/
#


Name:           bomber
Version:        4.14.2
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:  libkde4-devel
BuildRequires:  libkdegames-devel >= 4.9.0
BuildRequires:  xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{kde4_runtime_requires}

%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_kde4 -d build
  %{make_jobs}

%install
  %{kde4_makeinstall} -C build
  %{kde_post_install}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_kde4_bindir}/bomber
%{_kde4_htmldir}/en/bomber/
%{_kde4_applicationsdir}/bomber.desktop
%{_kde4_iconsdir}/hicolor/*/apps/bomber.*
%{_kde4_appsdir}/bomber/
%{_kde4_configkcfgdir}/bomber.kcfg

%changelog
openSUSE Build Service is sponsored by