SHA256
1
0
forked from pool/sonnet
Hrvoje Senjan 2017-01-08 16:58:20 +00:00 committed by Git OBS Bridge
parent 6455004202
commit 44d52578cf
3 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From b077be472324550b2f3c7264b9efd51115b069ce Mon Sep 17 00:00:00 2001
From: Pino Toscano <pino@kde.org>
Date: Sat, 31 Dec 2016 12:06:57 +0100
Subject: cmake: look for hunspell-1.6 as well
---
cmake/FindHUNSPELL.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/FindHUNSPELL.cmake b/cmake/FindHUNSPELL.cmake
index d5ed183..545dc61 100644
--- a/cmake/FindHUNSPELL.cmake
+++ b/cmake/FindHUNSPELL.cmake
@@ -14,7 +14,7 @@ ENDIF (HUNSPELL_INCLUDE_DIR AND HUNSPELL_LIBRARIES)
FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.6 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
# handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
# all listed variables are TRUE
--
cgit v0.11.2

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jan 8 16:57:22 UTC 2017 - hrvoje.senjan@gmail.com
- Add look-for-hunspell-1.6-as-well.patch
-------------------------------------------------------------------
Sun Dec 4 02:06:48 UTC 2016 - hrvoje.senjan@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package sonnet
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -43,6 +43,8 @@ Group: System/GUI/KDE
Url: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
Source1: baselibs.conf
# PATCH-FIX-UPSTREAM look-for-hunspell-1.6-as-well.patch
Patch0: look-for-hunspell-1.6-as-well.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -92,6 +94,7 @@ HSpell, Enchant, ASpell and HUNSPELL. Development files.
%lang_package -n libKF5SonnetCore%sonum
%prep
%setup -q
%patch0 -p1
%build
%cmake_kf5 -d build -- -Dlconvert_executable=%{_kf5_libdir}/qt5/bin/lconvert