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

witekfl witekfl at pld-linux.org
Sat Jan 12 23:47:58 CET 2019


commit cb6ad48d98699f91c06d48ce9888f1fe686c5ea3
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sat Jan 12 23:47:52 2019 +0100

    - updated to 18.12.1; ninja

 ka5-kmousetool.spec | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)
---
diff --git a/ka5-kmousetool.spec b/ka5-kmousetool.spec
index 865727f..5866d21 100644
--- a/ka5-kmousetool.spec
+++ b/ka5-kmousetool.spec
@@ -1,14 +1,14 @@
-%define		kdeappsver	18.12.0
+%define		kdeappsver	18.12.1
 %define		qtver		5.9.0
 %define		kaname		kmousetool
 Summary:	kmousetool
 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:	bf834fdbb825c9c9c61962de7cfc3f10
+# Source0-md5:	78caf0a2b5c6041d0f16cd339c4442a3
 URL:		http://www.kde.org/
 BuildRequires:	Qt5Core-devel >= %{qtver}
 BuildRequires:	Qt5Gui-devel
@@ -21,6 +21,7 @@ BuildRequires:	kf5-ki18n-devel >= 5.46.0
 BuildRequires:	kf5-kiconthemes-devel >= 5.46.0
 BuildRequires:	kf5-knotifications-devel >= 5.46.0
 BuildRequires:	kf5-kxmlgui-devel >= 5.46.0
+BuildRequires:	ninja
 BuildRequires:	phonon-qt5-devel
 BuildRequires:	qt5-build >= %{qtver}
 BuildRequires:	rpmbuild(macros) >= 1.164
@@ -42,14 +43,14 @@ to. KMouseTool works with any mouse or pointing device.
 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-qm
 
@@ -68,3 +69,15 @@ rm -rf $RPM_BUILD_ROOT
 %{_iconsdir}/hicolor/32x32/apps/kmousetool.png
 %{_datadir}/kmousetool
 %{_datadir}/metainfo/org.kde.kmousetool.appdata.xml
+%lang(ca) %{_mandir}/ca/man1/kmousetool.1.*
+%lang(de) %{_mandir}/de/man1/kmousetool.1.*
+%lang(es) %{_mandir}/es/man1/kmousetool.1.*
+%lang(et) %{_mandir}/et/man1/kmousetool.1.*
+%lang(fr) %{_mandir}/fr/man1/kmousetool.1.*
+%lang(it) %{_mandir}/it/man1/kmousetool.1.*
+%lang(C) %{_mandir}/man1/kmousetool.1.*
+%lang(nl) %{_mandir}/nl/man1/kmousetool.1.*
+%lang(pt) %{_mandir}/pt/man1/kmousetool.1.*
+%lang(pt_BR) %{_mandir}/pt_BR/man1/kmousetool.1.*
+%lang(sv) %{_mandir}/sv/man1/kmousetool.1.*
+%lang(uk) %{_mandir}/uk/man1/kmousetool.1.*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-kmousetool.git/commitdiff/cb6ad48d98699f91c06d48ce9888f1fe686c5ea3



More information about the pld-cvs-commit mailing list