From c59de2e567244bd53774869b68401a4d64ec8e8dfe56e30e0969a57429767d05 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sun, 26 Mar 2017 13:05:12 +0000 Subject: [PATCH] Revert accidental framework branch commit OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kolf?expand=0&rev=43 --- kolf.spec | 61 +++++++++++++++++-------------------------------------- 1 file changed, 19 insertions(+), 42 deletions(-) diff --git a/kolf.spec b/kolf.spec index c19d969..646d58a 100644 --- a/kolf.spec +++ b/kolf.spec @@ -1,7 +1,7 @@ # # spec file for package kolf # -# 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,70 +17,47 @@ Name: kolf -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}')} Summary: Miniature golf game License: GPL-2.0+ and LGPL-2.0+ Group: Amusements/Games/Board/Puzzle Url: http://www.kde.org +Version: 17.03.80 +Release: 0 Source0: kolf-%{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: kolf5 < %{version} -Provides: kolf5 = %{version} +BuildRequires: libkdegames4-devel +BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build +%kde4_runtime_requires %description Kolf is a miniature golf game for KDE. + %prep %setup -q %build - %cmake_kf5 -d build + %cmake_kde4 -d build %make_jobs %install - %kf5_makeinstall -C build - rm -rf %{buildroot}/%{_kf5_libdir}/libkolfprivate.so - %suse_update_desktop_file -r org.kde.kolf Game SportsGame + %kde4_makeinstall -C build + rm -rf %{buildroot}/%{_kde4_libdir}/libkolfprivate.so + %suse_update_desktop_file -r kolf Game SportsGame + %kde_post_install %post -p /sbin/ldconfig + %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING COPYING.DOC COPYING.LIB -%{_kf5_bindir}/kolf -%{_kf5_htmldir}/en/kolf/ -%{_kf5_applicationsdir}/org.kde.kolf.desktop -%{_kf5_iconsdir}/hicolor/*/*/kolf.* -%{_kf5_appsdir}/kolf/ -%{_kf5_libdir}/libkolfprivate.so.* -%{_datadir}/kxmlgui5/kolf/ +%{_kde4_bindir}/kolf +%{_kde4_htmldir}/en/kolf/ +%{_kde4_applicationsdir}/kolf.desktop +%{_kde4_iconsdir}/hicolor/*/apps/kolf.* +%{_kde4_appsdir}/kolf/ +%{_kde4_libdir}/libkolfprivate.so.* %changelog