Revert accidental framework branch commit

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/palapeli?expand=0&rev=47
This commit is contained in:
Luca Beltrame 2017-03-26 13:17:25 +00:00 committed by Git OBS Bridge
parent 3001b8d807
commit cd98c41fe7

View File

@ -1,7 +1,7 @@
# #
# spec file for package palapeli # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,44 +17,19 @@
Name: palapeli 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 Summary: Jigsaw puzzle game
License: GPL-2.0+ License: GPL-2.0+
Group: Amusements/Games/Board/Puzzle Group: Amusements/Games/Board/Puzzle
Url: http://www.kde.org Url: http://www.kde.org
Version: 17.03.80
Release: 0
Source0: palapeli-%{version}.tar.xz Source0: palapeli-%{version}.tar.xz
BuildRequires: extra-cmake-modules BuildRequires: libkdegames4-devel
BuildRequires: kconfig-devel BuildRequires: xz
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)
Requires: palapeli-data = %{version} Requires: palapeli-data = %{version}
%kde4_runtime_requires
Requires(post): shared-mime-info Requires(post): shared-mime-info
Requires(postun): shared-mime-info Requires(postun): shared-mime-info
Obsoletes: palapeli5 < %{version}
Provides: palapeli5 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -67,8 +42,6 @@ your disk immediately.
Summary: Palapeli's standard puzzle files Summary: Palapeli's standard puzzle files
Group: System/GUI/KDE Group: System/GUI/KDE
Requires: palapeli = %{version} Requires: palapeli = %{version}
Obsoletes: palapeli5-data < %{version}
Provides: palapeli5-data = %{version}
BuildArch: noarch BuildArch: noarch
%description data %description data
@ -78,8 +51,6 @@ This package contains the standard puzzle files for Palapeli.
Summary: Development package for Palapeli Summary: Development package for Palapeli
Group: Development/Libraries/KDE Group: Development/Libraries/KDE
Requires: palapeli = %{version} Requires: palapeli = %{version}
Obsoletes: palapeli5-devel < %{version}
Provides: palapeli5-devel = %{version}
%description devel %description devel
This package contains the development files for Palapeli. This package contains the development files for Palapeli.
@ -88,12 +59,13 @@ This package contains the development files for Palapeli.
%setup -q %setup -q
%build %build
%cmake_kf5 -d build %cmake_kde4 -d build
%make_jobs %make_jobs
%install %install
%kf5_makeinstall -C build %kde4_makeinstall -C build
%suse_update_desktop_file -r org.kde.palapeli Game BoardGame %suse_update_desktop_file -r org.kde.palapeli Game BoardGame
%kde_post_install
%post %post
/sbin/ldconfig /sbin/ldconfig
@ -106,37 +78,39 @@ This package contains the development files for Palapeli.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING COPYING.DOC %doc COPYING COPYING.DOC
%{_kf5_bindir}/palapeli %{_kde4_bindir}/palapeli
%{_kf5_htmldir}/en/palapeli/ %{_kde4_htmldir}/en/palapeli/
%{_kf5_applicationsdir}/org.kde.palapeli.desktop %{_kde4_applicationsdir}/org.kde.palapeli.desktop
%dir %{_kf5_iconsdir}/hicolor/24x24 %dir %{_kde4_iconsdir}/hicolor/24x24
%dir %{_kf5_iconsdir}/hicolor/24x24/apps %dir %{_kde4_iconsdir}/hicolor/24x24/apps
%dir %{_kf5_iconsdir}/hicolor/*/mime %dir %{_kde4_iconsdir}/hicolor/24x24/mimetypes
%{_kf5_iconsdir}/hicolor/*/apps/palapeli.* %{_kde4_iconsdir}/hicolor/*/apps/palapeli.*
%{_kf5_iconsdir}/hicolor/*/mime/application-x-palapeli.* %{_kde4_iconsdir}/hicolor/*/mimetypes/application-x-palapeli.*
%{_libdir}/libpala.so.* %{_kde4_modulesdir}/palapeli_goldbergslicer.so
%dir %{_kf5_servicesdir}/ServiceMenus %{_kde4_modulesdir}/palapeli_jigsawslicer.so
%{_kf5_servicesdir}/ServiceMenus/palapeli_servicemenu.desktop %{_kde4_modulesdir}/palapeli_rectslicer.so
%{_kf5_servicesdir}/palapeli_goldbergslicer.desktop %{_kde4_modulesdir}/palathumbcreator.so
%{_kf5_servicesdir}/palapeli_jigsawslicer.desktop %{_kde4_libdir}/libpala.so.*
%{_kf5_servicesdir}/palapeli_rectslicer.desktop %{_kde4_servicesdir}/ServiceMenus/palapeli_servicemenu.desktop
%{_kf5_servicesdir}/palathumbcreator.desktop %{_kde4_servicesdir}/palapeli_goldbergslicer.desktop
%{_kf5_servicetypesdir}/libpala-slicerplugin.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 %{_datadir}/mime/packages/palapeli-mimetypes.xml
%{_kf5_plugindir}/pala* %dir %{_kde4_appsdir}/appdata
%{_kf5_kxmlguidir}/palapeli/ %{_kde4_appsdir}/appdata/org.kde.palapeli.appdata.xml
%{_datadir}/knotifications5/palapeli.notifyrc
%files data %files data
%defattr(-,root,root) %defattr(-,root,root)
%{_kf5_appsdir}/palapeli/ %{_kde4_appsdir}/palapeli/
%{_kf5_configdir}/palapeli-collectionrc %{_kde4_configdir}/palapeli-collectionrc
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_kf5_libdir}/libpala.so %{_kde4_includedir}/Pala/
%{_kf5_libdir}/libpala/ %{_kde4_includedir}/libpala/
%{_includedir}/Pala %{_kde4_libdir}/libpala.so
%{_includedir}/libpala %{_kde4_libdir}/libpala/
%changelog %changelog