[packages/ka5-kblocks] - updated to 18.12.1; ninja
witekfl
witekfl at pld-linux.org
Sat Jan 12 20:06:31 CET 2019
commit fcf7818ef5823cc061b5a39f87b2cf5da108a5c2
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sat Jan 12 20:06:25 2019 +0100
- updated to 18.12.1; ninja
ka5-kblocks.spec | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/ka5-kblocks.spec b/ka5-kblocks.spec
index 2d843a7..4fcf234 100644
--- a/ka5-kblocks.spec
+++ b/ka5-kblocks.spec
@@ -1,14 +1,14 @@
-%define kdeappsver 18.12.0
+%define kdeappsver 18.12.1
%define qtver 5.9.0
%define kaname kblocks
Summary: Kblocks
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: 423b180ca0de447bdedc9ec9e2eefb49
+# Source0-md5: 6407acfb7713d4c82d04d1c06aedc45a
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5Gui-devel >= 5.11.1
@@ -19,7 +19,7 @@ BuildRequires: Qt5Svg-devel
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-kdoctools-devel >= 5.30.0
BuildRequires: kf5-ki18n-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
@@ -51,14 +52,14 @@ is over.
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-kblocks.git/commitdiff/fcf7818ef5823cc061b5a39f87b2cf5da108a5c2
More information about the pld-cvs-commit
mailing list