[packages/ka5-kmahjongg] - updated to 18.12.1; ninja

witekfl witekfl at pld-linux.org
Sat Jan 12 23:18:40 CET 2019


commit 0be18a9c582ba215a490e599ba047b5a9cf753da
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sat Jan 12 23:18:34 2019 +0100

    - updated to 18.12.1; ninja

 ka5-kmahjongg.spec | 36 ++++++++++++++++++++++++++----------
 1 file changed, 26 insertions(+), 10 deletions(-)
---
diff --git a/ka5-kmahjongg.spec b/ka5-kmahjongg.spec
index 75cad65..c24f3d0 100644
--- a/ka5-kmahjongg.spec
+++ b/ka5-kmahjongg.spec
@@ -1,19 +1,34 @@
-%define		kdeappsver	18.04.0
-%define		qtver		5.3.2
+%define		kdeappsver	18.12.1
+%define		qtver		5.9.0
 %define		kaname		kmahjongg
 Summary:	kmahjongg
 Name:		ka5-%{kaname}
-Version:	18.04.0
+Version:	18.12.1
 Release:	1
 License:	GPL v2+/LGPL v2.1+
 Group:		X11/Applications/Games
 Source0:	http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5:	dc0102bc960dda9eb49b48ba3608c27a
+# Source0-md5:	ba73372fa992a52e4a2887feba26bfd3
 URL:		http://www.kde.org/
 BuildRequires:	Qt5Core-devel >= %{qtver}
+BuildRequires:	Qt5Gui-devel
+BuildRequires:	Qt5Svg-devel
+BuildRequires:	Qt5Widgets-devel >= 5.8.0
 BuildRequires:	cmake >= 2.8.12
+BuildRequires:	gettext-devel
+BuildRequires:	ka5-libkdegames-devel >= %{kdeappsver}
 BuildRequires:	ka5-libkmahjongg-devel
-BuildRequires:	kf5-extra-cmake-modules >= 1.4.0
+BuildRequires:	kf5-extra-cmake-modules >= 5.53.0
+BuildRequires:	kf5-kconfig-devel >= 5.30.0
+BuildRequires:	kf5-kcoreaddons-devel >= 5.30.0
+BuildRequires:	kf5-kcrash-devel >= 5.30.0
+BuildRequires:	kf5-kdbusaddons-devel >= 5.30.0
+BuildRequires:	kf5-kdeclarative-devel >= 5.30.0
+BuildRequires:	kf5-kdoctools-devel >= 5.30.0
+BuildRequires:	kf5-knewstuff-devel >= 5.30.0
+BuildRequires:	kf5-kxmlgui-devel >= 5.30.0
+BuildRequires:	ninja
+BuildRequires:	python
 BuildRequires:	qt5-build >= %{qtver}
 BuildRequires:	rpmbuild(macros) >= 1.164
 BuildRequires:	shared-mime-info
@@ -22,7 +37,9 @@ BuildRequires:	xz
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Kmahjongg.
+In KMahjongg the tiles are scrambled and staked on top of each other
+to resemble a certain shape. The player is then expected to remove all
+the tiles off the game board by locating each tile's matching pair.
 
 %prep
 %setup -q -n %{kaname}-%{version}
@@ -31,21 +48,20 @@ Kmahjongg.
 install -d build
 cd build
 %cmake \
+	-G Ninja \
 	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
 	..
-%{__make}
+%ninja_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} -C build install \
-	DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
 
 %find_lang %{kaname} --all-name --with-kde
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %files -f %{kaname}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kmahjongg
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-kmahjongg.git/commitdiff/0be18a9c582ba215a490e599ba047b5a9cf753da



More information about the pld-cvs-commit mailing list