klickety/klickety.spec

79 lines
2.4 KiB
RPMSpec

#
# 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: libkdegames-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5QuickWidgets)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: kconfig-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: ki18n-devel
BuildRequires: kguiaddons-devel
BuildRequires: kconfigwidgets-devel
BuildRequires: kitemviews-devel
BuildRequires: kiconthemes-devel
BuildRequires: kxmlgui-devel
BuildRequires: kio-devel
BuildRequires: knotifyconfig-devel
BuildRequires: kdelibs4support-devel
Summary: Strategic board game
License: GPL-2.0+
Group: Amusements/Games/Board/Other
Url: http://www.kde.org
Version: 15.12.1
Release: 0
Source0: klickety-%{version}.tar.xz
# PATCH-FIX-UPSTREAM fix-ksame-desktop.patch kde#356742 wbauer@tmo.at -- fix error when starting KSame from the application menu
Patch: fix-ksame-desktop.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Klickety is an adaptation of the Clickomania and SameGame games.
%prep
%setup -q -n klickety-%{version}
%patch -p0
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%suse_update_desktop_file -r org.kde.klickety Game LogicGame
%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC
%{_kf5_bindir}/klickety
%{_kf5_htmldir}/en/klickety/
%{_kf5_applicationsdir}/org.kde.ksame.desktop
%{_kf5_applicationsdir}/org.kde.klickety.desktop
%{_kf5_iconsdir}/hicolor/*/apps/klickety.*
%{_kf5_iconsdir}/hicolor/*/apps/ksame.*
%{_kf5_appsdir}/klickety/
%{_kf5_appsdir}/kconf_update/klick*
%_datadir/kxmlgui5/klickety/
%_kf5_notifydir/klickety.notifyrc
%changelog