From cd98c41fe72876c2df05ca26215a6ebb693a7b8511257492f529be39f1482a33 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sun, 26 Mar 2017 13:17:25 +0000 Subject: [PATCH] Revert accidental framework branch commit OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/palapeli?expand=0&rev=47 --- palapeli.spec | 98 +++++++++++++++++++-------------------------------- 1 file changed, 36 insertions(+), 62 deletions(-) diff --git a/palapeli.spec b/palapeli.spec index 05dc49a..bda403f 100644 --- a/palapeli.spec +++ b/palapeli.spec @@ -1,7 +1,7 @@ # # spec file for package palapeli # -# 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,44 +17,19 @@ Name: palapeli -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: Jigsaw puzzle game License: GPL-2.0+ Group: Amusements/Games/Board/Puzzle Url: http://www.kde.org +Version: 17.03.80 +Release: 0 Source0: palapeli-%{version}.tar.xz -BuildRequires: extra-cmake-modules -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(Qt5Concurrent) -BuildRequires: pkgconfig(Qt5QuickWidgets) -BuildRequires: pkgconfig(Qt5Svg) -BuildRequires: pkgconfig(Qt5Test) -BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: libkdegames4-devel +BuildRequires: xz Requires: palapeli-data = %{version} +%kde4_runtime_requires Requires(post): shared-mime-info Requires(postun): shared-mime-info -Obsoletes: palapeli5 < %{version} -Provides: palapeli5 = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -67,8 +42,6 @@ your disk immediately. Summary: Palapeli's standard puzzle files Group: System/GUI/KDE Requires: palapeli = %{version} -Obsoletes: palapeli5-data < %{version} -Provides: palapeli5-data = %{version} BuildArch: noarch %description data @@ -78,8 +51,6 @@ This package contains the standard puzzle files for Palapeli. Summary: Development package for Palapeli Group: Development/Libraries/KDE Requires: palapeli = %{version} -Obsoletes: palapeli5-devel < %{version} -Provides: palapeli5-devel = %{version} %description devel This package contains the development files for Palapeli. @@ -88,12 +59,13 @@ This package contains the development files for Palapeli. %setup -q %build - %cmake_kf5 -d build + %cmake_kde4 -d build %make_jobs %install - %kf5_makeinstall -C build + %kde4_makeinstall -C build %suse_update_desktop_file -r org.kde.palapeli Game BoardGame + %kde_post_install %post /sbin/ldconfig @@ -106,37 +78,39 @@ This package contains the development files for Palapeli. %files %defattr(-,root,root) %doc COPYING COPYING.DOC -%{_kf5_bindir}/palapeli -%{_kf5_htmldir}/en/palapeli/ -%{_kf5_applicationsdir}/org.kde.palapeli.desktop -%dir %{_kf5_iconsdir}/hicolor/24x24 -%dir %{_kf5_iconsdir}/hicolor/24x24/apps -%dir %{_kf5_iconsdir}/hicolor/*/mime -%{_kf5_iconsdir}/hicolor/*/apps/palapeli.* -%{_kf5_iconsdir}/hicolor/*/mime/application-x-palapeli.* -%{_libdir}/libpala.so.* -%dir %{_kf5_servicesdir}/ServiceMenus -%{_kf5_servicesdir}/ServiceMenus/palapeli_servicemenu.desktop -%{_kf5_servicesdir}/palapeli_goldbergslicer.desktop -%{_kf5_servicesdir}/palapeli_jigsawslicer.desktop -%{_kf5_servicesdir}/palapeli_rectslicer.desktop -%{_kf5_servicesdir}/palathumbcreator.desktop -%{_kf5_servicetypesdir}/libpala-slicerplugin.desktop +%{_kde4_bindir}/palapeli +%{_kde4_htmldir}/en/palapeli/ +%{_kde4_applicationsdir}/org.kde.palapeli.desktop +%dir %{_kde4_iconsdir}/hicolor/24x24 +%dir %{_kde4_iconsdir}/hicolor/24x24/apps +%dir %{_kde4_iconsdir}/hicolor/24x24/mimetypes +%{_kde4_iconsdir}/hicolor/*/apps/palapeli.* +%{_kde4_iconsdir}/hicolor/*/mimetypes/application-x-palapeli.* +%{_kde4_modulesdir}/palapeli_goldbergslicer.so +%{_kde4_modulesdir}/palapeli_jigsawslicer.so +%{_kde4_modulesdir}/palapeli_rectslicer.so +%{_kde4_modulesdir}/palathumbcreator.so +%{_kde4_libdir}/libpala.so.* +%{_kde4_servicesdir}/ServiceMenus/palapeli_servicemenu.desktop +%{_kde4_servicesdir}/palapeli_goldbergslicer.desktop +%{_kde4_servicesdir}/palapeli_jigsawslicer.desktop +%{_kde4_servicesdir}/palapeli_rectslicer.desktop +%{_kde4_servicesdir}/palathumbcreator.desktop +%{_kde4_servicetypesdir}/libpala-slicerplugin.desktop %{_datadir}/mime/packages/palapeli-mimetypes.xml -%{_kf5_plugindir}/pala* -%{_kf5_kxmlguidir}/palapeli/ -%{_datadir}/knotifications5/palapeli.notifyrc +%dir %{_kde4_appsdir}/appdata +%{_kde4_appsdir}/appdata/org.kde.palapeli.appdata.xml %files data %defattr(-,root,root) -%{_kf5_appsdir}/palapeli/ -%{_kf5_configdir}/palapeli-collectionrc +%{_kde4_appsdir}/palapeli/ +%{_kde4_configdir}/palapeli-collectionrc %files devel %defattr(-,root,root) -%{_kf5_libdir}/libpala.so -%{_kf5_libdir}/libpala/ -%{_includedir}/Pala -%{_includedir}/libpala +%{_kde4_includedir}/Pala/ +%{_kde4_includedir}/libpala/ +%{_kde4_libdir}/libpala.so +%{_kde4_libdir}/libpala/ %changelog