diff --git a/kgoldrunner.spec b/kgoldrunner.spec index 662323c..7a14549 100644 --- a/kgoldrunner.spec +++ b/kgoldrunner.spec @@ -1,7 +1,7 @@ # # spec file for package kgoldrunner # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -17,66 +17,43 @@ Name: kgoldrunner -Version: 17.03.80 -Release: 0 -%define kf5_version 5.26.0 -# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) -%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} +BuildRequires: libkdegames4-devel +BuildRequires: xz Summary: Action & Puzzle Solving Game License: GPL-2.0+ Group: Amusements/Games/Action/Arcade Url: http://www.kde.org +Version: 17.03.80 +Release: 0 Source0: kgoldrunner-%{version}.tar.xz -BuildRequires: extra-cmake-modules -BuildRequires: karchive-devel -BuildRequires: kconfig-devel -BuildRequires: kconfigwidgets-devel -BuildRequires: kcoreaddons-devel -BuildRequires: kdelibs4support-devel -BuildRequires: kguiaddons-devel -BuildRequires: ki18n-devel -BuildRequires: kiconthemes-devel -BuildRequires: kio-devel -BuildRequires: kitemviews-devel -BuildRequires: knewstuff-devel -BuildRequires: knotifyconfig-devel -BuildRequires: kwidgetsaddons-devel -BuildRequires: kxmlgui-devel -BuildRequires: libkdegames-devel -BuildRequires: phonon4qt5-devel -BuildRequires: pkgconfig -BuildRequires: update-desktop-files -BuildRequires: pkgconfig(Qt5QuickWidgets) -BuildRequires: pkgconfig(Qt5Svg) -BuildRequires: pkgconfig(Qt5Test) -BuildRequires: pkgconfig(Qt5Widgets) -Obsoletes: kgoldrunner5 < %{version} -Provides: kgoldrunner5 = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build +%kde4_runtime_requires %description KGoldrunner is a game of action and puzzle solving + %prep %setup -q -n kgoldrunner-%{version} %build - %cmake_kf5 -d build + %cmake_kde4 -d build %make_jobs %install - %kf5_makeinstall -C build - %suse_update_desktop_file -r org.kde.KGoldrunner Game ArcadeGame + cd build + %kde4_makeinstall + %suse_update_desktop_file -r KGoldrunner Game ArcadeGame + %kde_post_install %files %defattr(-,root,root) %doc COPYING COPYING.DOC -%{_kf5_bindir}/kgoldrunner -%{_kf5_applicationsdir}/org.kde.KGoldrunner.desktop -%{_kf5_htmldir}/en/kgoldrunner/ -%{_kf5_iconsdir}/hicolor/*/apps/kgoldrunner.* -%{_kf5_appsdir}/kgoldrunner -%{_kf5_configdir}/kgoldrunner.knsrc -%{_datadir}/kxmlgui5/kgoldrunner/ +%{_kde4_bindir}/kgoldrunner +%{_kde4_applicationsdir}/KGoldrunner.desktop +%{_kde4_htmldir}/en/kgoldrunner/ +%{_kde4_iconsdir}/hicolor/*/apps/kgoldrunner.* +%{_kde4_appsdir}/kgoldrunner +%{_kde4_configdir}/kgoldrunner.knsrc %changelog