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

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


commit 17f5ed9d257ec28c3d6509c5d8676f662f06f80a
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sat Jan 12 23:57:55 2019 +0100

    - updated to 18.12.1; ninja

 ka5-kmplot.spec | 28 ++++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)
---
diff --git a/ka5-kmplot.spec b/ka5-kmplot.spec
index 7f6991d..f98d5b6 100644
--- a/ka5-kmplot.spec
+++ b/ka5-kmplot.spec
@@ -1,14 +1,14 @@
-%define		kdeappsver	18.12.0
+%define		kdeappsver	18.12.1
 %define		qtver		5.9.0
 %define		kaname		kmplot
 Summary:	kmplot
 Name:		ka5-%{kaname}
-Version:	18.12.0
+Version:	18.12.1
 Release:	1
 License:	GPL v2+/LGPL v2.1+
 Group:		X11/Applications
 Source0:	http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5:	ce96672543dc21c36ed8d30cebe537f7
+# Source0-md5:	a5a7fdd5be085ecf5ab8a29179bdf3ba
 URL:		http://www.kde.org/
 BuildRequires:	Qt5Core-devel >= %{qtver}
 BuildRequires:	Qt5Gui-devel
@@ -24,6 +24,7 @@ BuildRequires:	kf5-kguiaddons-devel
 BuildRequires:	kf5-ki18n-devel
 BuildRequires:	kf5-kparts-devel
 BuildRequires:	kf5-kwidgetsaddons-devel
+BuildRequires:	ninja
 BuildRequires:	qt5-build >= %{qtver}
 BuildRequires:	rpmbuild(macros) >= 1.164
 BuildRequires:	shared-mime-info
@@ -44,14 +45,14 @@ scalable, so that you are able to zoom to the level you need.
 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
 
@@ -81,3 +82,18 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/kxmlgui5/kmplot/kmplot_part_readonly.rc
 %{_datadir}/kxmlgui5/kmplot/kmplot_shell.rc
 %{_datadir}/metainfo/org.kde.kmplot.appdata.xml
+%lang(ca) %{_mandir}/ca/man1/kmplot.1*
+%lang(de) %{_mandir}/de/man1/kmplot.1*
+%lang(es) %{_mandir}/es/man1/kmplot.1*
+%lang(et) %{_mandir}/et/man1/kmplot.1*
+%lang(fr) %{_mandir}/fr/man1/kmplot.1*
+%lang(gl) %{_mandir}/gl/man1/kmplot.1*
+%lang(it) %{_mandir}/it/man1/kmplot.1*
+%lang(C) %{_mandir}/man1/kmplot.1*
+%lang(nl) %{_mandir}/nl/man1/kmplot.1*
+%lang(pl) %{_mandir}/pl/man1/kmplot.1*
+%lang(pt) %{_mandir}/pt/man1/kmplot.1*
+%lang(pt_BR) %{_mandir}/pt_BR/man1/kmplot.1*
+%lang(ru) %{_mandir}/ru/man1/kmplot.1*
+%lang(sv) %{_mandir}/sv/man1/kmplot.1*
+%lang(uk) %{_mandir}/uk/man1/kmplot.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-kmplot.git/commitdiff/17f5ed9d257ec28c3d6509c5d8676f662f06f80a



More information about the pld-cvs-commit mailing list