File kbounce.spec of Package kbounce

#
# spec file for package kbounce
#
# 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:           kbounce
BuildRequires:  libkdegames-devel
BuildRequires:  xz
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5Qml)
BuildRequires:  pkgconfig(Qt5Quick)
BuildRequires:  pkgconfig(Qt5QuickWidgets)
BuildRequires:  pkgconfig(Qt5Svg)
BuildRequires:  pkgconfig(Qt5Test)
BuildRequires:  kcoreaddons-devel
BuildRequires:  kconfig-devel
BuildRequires:  kitemmodels-devel
BuildRequires:  kwidgetsaddons-devel
BuildRequires:  kwindowsystem-devel
BuildRequires:  kcodecs-devel
BuildRequires:  karchive-devel
BuildRequires:  kdbusaddons-devel
BuildRequires:  kdnssd-framework-devel
BuildRequires:  kdeclarative-devel
BuildRequires:  ki18n-devel
BuildRequires:  kguiaddons-devel
BuildRequires:  kservice-devel
BuildRequires:  kconfigwidgets-devel
BuildRequires:  kitemviews-devel
BuildRequires:  kiconthemes-devel
BuildRequires:  kcompletion-devel
BuildRequires:  kjobwidgets-devel
BuildRequires:  ktextwidgets-devel
BuildRequires:  kglobalaccel-devel
BuildRequires:  kxmlgui-devel
BuildRequires:  kcrash-devel
BuildRequires:  kbookmarks-devel
BuildRequires:  kio-devel
BuildRequires:  knotifyconfig-devel
BuildRequires:  knewstuff-devel
BuildRequires:  kdelibs4support-devel
BuildRequires:  phonon4qt5-devel
BuildRequires:  update-desktop-files
Summary:        Bounce ball game
License:        LGPL-2.0+
Group:          Amusements/Games/Action/Other
Url:            http://www.kde.org
Version:        15.08.1
Release:        0
Source0:        kbounce-%{version}.tar.xz
Obsoletes:      %{name}5 < %{version}
Provides:       %{name}5 = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Your task in KBounce (Jezz Ball) is to catch several moving balls in a
rectangular game field by building walls. The motivation consists of
finding new and advanced strategies to catch as many balls as possible.

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

%build
  %cmake_kf5 -d build
  %make_jobs

%install
  %kf5_makeinstall -C build
  %suse_update_desktop_file -r org.kde.kbounce         Game LogicGame

%files 
%defattr(-,root,root)
%doc COPYING COPYING.DOC
%{_kf5_bindir}/kbounce
%{_kf5_applicationsdir}/org.kde.kbounce.desktop
%{_kf5_htmldir}/en/kbounce/
%{_kf5_iconsdir}/hicolor/*/apps/kbounce.*
%{_kf5_sharedir}/kbounce/
%{_kf5_sharedir}/kxmlgui5/

%changelog
openSUSE Build Service is sponsored by