diff --git a/kmahjongg.spec b/kmahjongg.spec index f7213d4..565e128 100644 --- a/kmahjongg.spec +++ b/kmahjongg.spec @@ -17,10 +17,25 @@ Name: kmahjongg -BuildRequires: libkdegames4-devel -BuildRequires: libkmahjongg4-devel -BuildRequires: libkde4-devel +BuildRequires: extra-cmake-modules +BuildRequires: kconfig-devel +BuildRequires: kcoreaddons-devel +BuildRequires: kdeclarative-devel +BuildRequires: kdelibs4support-devel +BuildRequires: kdnssd-framework-devel +BuildRequires: knewstuff-devel +BuildRequires: kxmlgui-devel +BuildRequires: libkdegames-devel +BuildRequires: libkmahjongg-devel +BuildRequires: update-desktop-files BuildRequires: xz +BuildRequires: pkgconfig(Qt5Concurrent) +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Qml) +BuildRequires: pkgconfig(Qt5Quick) +BuildRequires: pkgconfig(Qt5QuickWidgets) +BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5Widgets) Summary: Mahjongg game License: GPL-2.0+ Group: Amusements/Games/Board/Puzzle @@ -29,7 +44,6 @@ Version: 16.03.90 Release: 0 Source0: kmahjongg-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build -%kde4_runtime_requires %description KMahjongg is a clone of the well known tile based patience game of the @@ -41,23 +55,22 @@ by removing pieces of the same type. %setup -q -n kmahjongg-%{version} %build - %cmake_kde4 -d build + %cmake_kf5 -d build %make_jobs %install - cd build - %kde4_makeinstall - %suse_update_desktop_file -r kmahjongg Game BoardGame - %kde_post_install + %kf5_makeinstall -C build + %suse_update_desktop_file -r org.kde.kmahjongg Game BoardGame %files %defattr(-,root,root) %doc COPYING COPYING.DOC -%{_kde4_bindir}/kmahjongg -%{_kde4_htmldir}/en/kmahjongg/ -%{_kde4_applicationsdir}/kmahjongg.desktop -%{_kde4_iconsdir}/hicolor/*/apps/kmahjongg.* -%{_kde4_appsdir}/kmahjongg/ -%{_kde4_configkcfgdir}/kmahjongg.kcfg +%{_kf5_bindir}/kmahjongg +%{_kf5_htmldir}/en/kmahjongg/ +%{_kf5_applicationsdir}/org.kde.kmahjongg.desktop +%{_kf5_iconsdir}/hicolor/*/apps/kmahjongg.* +%{_kf5_sharedir}/kmahjongg/ +%{_kf5_configkcfgdir}/ +%{_kf5_sharedir}/kxmlgui5 %changelog