File bomber.spec of Package bomber

#
# spec file for package bomber
#
# Copyright (c) 2013 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
BuildRequires:  libkdegames-devel
BuildRequires:  xz
Summary:        Invading cities with a plane
License:        GPL-2.0+
Group:          Amusements/Games/Action/Arcade
Url:            http://www.kde.org
Version:        4.10.0
Release:        0
Source0:        bomber-%{version}.tar.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
  cd build
  %makeinstall
  %kde_post_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
  rm -rf $RPM_BUILD_ROOT

%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