forked from pool/nuspell
Accepting request 1128359 from M17N
OBS-URL: https://build.opensuse.org/request/show/1128359 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nuspell?expand=0&rev=9
This commit is contained in:
commit
5cfbcff80d
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b1c96bdc5a32a17fc8fc24a0c205fa52b0a2920dd6139b0a7d7744cdef48c22
|
||||
size 371496
|
3
nuspell-5.1.4.tar.gz
Normal file
3
nuspell-5.1.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bdf344c5adbcc6797940f8f8cb75cb59f5a3794eb21b9547751a11782a792ef7
|
||||
size 371512
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 22 07:52:25 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 5.1.4:
|
||||
* Raise the minimum required version of dependency Catch2 to
|
||||
v3.1.1. See gh#nuspell/nuspell#133.
|
||||
- Bump BuildRequires: pkgconfig(catch2) >= 3.3.2; contrary to
|
||||
upstream release notes, tests require 3.3.2 or newer; see commit
|
||||
ee40edc. Unfortunately, this means no testing for builds on
|
||||
Leap.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 7 20:47:07 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
|
13
nuspell.spec
13
nuspell.spec
@ -21,9 +21,12 @@
|
||||
# Due to std::filesystem and std::charconv used by code, at least gcc-c++ >= 10 and std=c++17 is required
|
||||
%if 0%{?suse_version} < 1550
|
||||
%define gcc_ver 10
|
||||
%bcond_with tests
|
||||
%else
|
||||
%bcond_without tests
|
||||
%endif
|
||||
Name: nuspell
|
||||
Version: 5.1.3
|
||||
Version: 5.1.4
|
||||
Release: 0
|
||||
Summary: A spell checker library and command-line tool
|
||||
License: LGPL-3.0-or-later
|
||||
@ -37,9 +40,11 @@ BuildRequires: gcc%{?gcc_ver}-c++
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(catch2) < 3
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:ronn)
|
||||
Requires: hunspell
|
||||
%if %{with tests}
|
||||
BuildRequires: pkgconfig(catch2) >= 3.3.2
|
||||
%endif
|
||||
|
||||
%description
|
||||
Nuspell is a spell checker written in C++. It supports languages with
|
||||
@ -100,7 +105,7 @@ This package provides API documentation for Nuspell.
|
||||
-DCMAKE_CXX_COMPILER:STRING=g++-%{?gcc_ver} \
|
||||
-DCMAKE_CXX_FLAGS:STRING="%{optflags} -std=c++17" \
|
||||
%endif
|
||||
-DBUILD_TESTING:BOOL=ON \
|
||||
-DBUILD_TESTING:BOOL=%{?with_tests:ON}%{!?with_tests:OFF} \
|
||||
-DCMAKE_SKIP_RPATH:BOOL=OFF
|
||||
%cmake_build
|
||||
|
||||
@ -118,8 +123,10 @@ cp -pR doxygen/html %{buildroot}%{_docdir}/%{name}-doc/
|
||||
%post -n %{libname}%{sonum} -p /sbin/ldconfig
|
||||
%postun -n %{libname}%{sonum} -p /sbin/ldconfig
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%ctest
|
||||
%endif
|
||||
|
||||
%files -n %{name}
|
||||
%doc README.md CHANGELOG.md AUTHORS
|
||||
|
Loading…
Reference in New Issue
Block a user