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

witekfl witekfl at pld-linux.org
Sat Jan 12 22:28:07 CET 2019


commit 67365ca7a0778da1cbfe52218f3c4170d3992e22
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sat Jan 12 22:27:59 2019 +0100

    - updated to 18.12.1; ninja

 ka5-kdiamond.spec | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/ka5-kdiamond.spec b/ka5-kdiamond.spec
index af7d9ff..d5cfdf8 100644
--- a/ka5-kdiamond.spec
+++ b/ka5-kdiamond.spec
@@ -1,14 +1,14 @@
-%define		kdeappsver	18.12.0
+%define		kdeappsver	18.12.1
 %define		qtver		5.9.0
 %define		kaname		kdiamond
 Summary:	kdiamond
 Name:		ka5-%{kaname}
-Version:	18.12.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:	e92089339179355ca026d75791658de7
+# Source0-md5:	378b9d8fe56b64dfa81868a348ce6642
 URL:		http://www.kde.org/
 BuildRequires:	Qt5Core-devel >= %{qtver}
 BuildRequires:	Qt5Gui-devel >= 5.11.1
@@ -17,7 +17,7 @@ BuildRequires:	Qt5Quick-devel >= 5.11.1
 BuildRequires:	Qt5Widgets-devel
 BuildRequires:	cmake >= 2.8.12
 BuildRequires:	gettext-devel
-BuildRequires:	ka5-libkdegames-devel >= 18.12.0
+BuildRequires:	ka5-libkdegames-devel >= %{kdeappsver}
 BuildRequires:	kf5-extra-cmake-modules >= 5.53.0
 BuildRequires:	kf5-kconfig-devel >= 5.30.0
 BuildRequires:	kf5-kconfigwidgets-devel >= 5.30.0
@@ -30,6 +30,7 @@ BuildRequires:	kf5-knotifications-devel >= 5.30.0
 BuildRequires:	kf5-knotifyconfig-devel >= 5.30.0
 BuildRequires:	kf5-kwidgetsaddons-devel >= 5.30.0
 BuildRequires:	kf5-kxmlgui-devel >= 5.30.0
+BuildRequires:	ninja
 BuildRequires:	qt5-build >= %{qtver}
 BuildRequires:	rpmbuild(macros) >= 1.164
 BuildRequires:	shared-mime-info
@@ -48,14 +49,14 @@ build lines of three similar diamonds.
 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
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-kdiamond.git/commitdiff/67365ca7a0778da1cbfe52218f3c4170d3992e22



More information about the pld-cvs-commit mailing list