-%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
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
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
%{_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*