[packages/kf5-sonnet] -updated to 5.56
witekfl
witekfl at pld-linux.org
Mon Mar 25 08:48:17 CET 2019
commit 3345f3c2e0e6b83a76136e06c01a99c1f34fcfd0
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon Mar 25 08:48:12 2019 +0100
-updated to 5.56
kf5-sonnet.spec | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/kf5-sonnet.spec b/kf5-sonnet.spec
index 5bb5ad9..2e7240a 100644
--- a/kf5-sonnet.spec
+++ b/kf5-sonnet.spec
@@ -1,17 +1,17 @@
# TODO:
# - fix build with aspell
-%define kdeframever 5.53
+%define kdeframever 5.56
%define qtver 5.9.0
%define kfname sonnet
Summary: Multi-language spell checker
Name: kf5-%{kfname}
-Version: 5.53.0
+Version: 5.56.0
Release: 1
License: LGPL v2.1+
Group: X11/Libraries
Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: fd28bda2bd2c1c0d40e477930394ed14
+# Source0-md5: 0b42e1dd0873c54a9d06dc4ef95bdfff
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5Gui-devel >= %{qtver}
@@ -23,6 +23,7 @@ BuildRequires: cmake >= 2.8.12
BuildRequires: hspell-devel
BuildRequires: hunspell-devel
BuildRequires: kf5-extra-cmake-modules >= 1.4.0
+BuildRequires: ninja
BuildRequires: qt5-linguist >= %{qtver}
BuildRequires: rpmbuild(macros) >= 1.164
BuildRequires: tar >= 1:1.22
@@ -63,16 +64,14 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
%build
install -d build
cd build
-%cmake \
+%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 %{kfname}5_qt --with-qm --all-name --with-kde
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf5-sonnet.git/commitdiff/3345f3c2e0e6b83a76136e06c01a99c1f34fcfd0
More information about the pld-cvs-commit
mailing list