File klickety.spec of Package klickety

#
# spec file for package klickety
#
# 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:           klickety
BuildRequires:  libkdegames4-devel
BuildRequires:  xz
Summary:        Strategic board game
License:        GPL-2.0+
Group:          Amusements/Games/Board/Other
Url:            http://www.kde.org
Version:        15.08.1
Release:        0
Source0:        klickety-%{version}.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires

%description
Klickety is an adaptation of the Clickomania and SameGame games.


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

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %kde4_makeinstall
  %suse_update_desktop_file -r klickety           Game LogicGame
  %kde_post_install

%files 
%defattr(-,root,root)
%doc COPYING COPYING.DOC
%{_kde4_bindir}/klickety
%{_kde4_htmldir}/en/klickety/
%{_kde4_applicationsdir}/ksame.desktop
%{_kde4_applicationsdir}/klickety.desktop
%{_kde4_iconsdir}/hicolor/*/apps/klickety.*
%{_kde4_iconsdir}/hicolor/*/apps/ksame.*
%{_kde4_appsdir}/klickety/
%{_kde4_appsdir}/kconf_update/klick*

%changelog