Accepting request 808861 from home:andythe_great
- Add Catch2 dependeny for test. OBS-URL: https://build.opensuse.org/request/show/808861 OBS-URL: https://build.opensuse.org/package/show/M17N/nuspell?expand=0&rev=6
This commit is contained in:
parent
decd27ba23
commit
e53fc19f24
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 25 20:30:56 UTC 2020 - andy great <andythe_great@pm.me>
|
||||||
|
|
||||||
|
- Add Catch2 dependeny for test.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 25 14:12:39 UTC 2020 - andy great <andythe_great@pm.me>
|
Mon May 25 14:12:39 UTC 2020 - andy great <andythe_great@pm.me>
|
||||||
|
|
||||||
|
11
nuspell.spec
11
nuspell.spec
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define sonum 3
|
%define sonum 3
|
||||||
%define libname libnuspell
|
%define libname libnuspell
|
||||||
Name: nuspell
|
Name: nuspell
|
||||||
@ -24,13 +25,14 @@ Summary: A spell checker library and command-line tool
|
|||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Productivity/Office/Other
|
Group: Productivity/Office/Other
|
||||||
URL: https://nuspell.github.io/
|
URL: https://nuspell.github.io/
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: https://github.com/nuspell/nuspell/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: Catch2-devel
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libboost_locale-devel
|
BuildRequires: libboost_locale-devel
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
Requires: hunspell
|
|
||||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:ronn)
|
BuildRequires: rubygem(%{rb_default_ruby_abi}:ronn)
|
||||||
|
Requires: hunspell
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Nuspell is a free and open source spell checker that is written in modern C++.
|
Nuspell is a free and open source spell checker that is written in modern C++.
|
||||||
@ -78,7 +80,7 @@ Includes and definitions for developing with Nuspell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DBUILD_SHARED_LIBS:BOOL=ON \
|
%cmake -DBUILD_SHARED_LIBS:BOOL=ON \
|
||||||
-DBUILD_TESTING:BOOL=ON \
|
-DBUILD_TESTING:BOOL=ON \
|
||||||
..
|
..
|
||||||
|
|
||||||
%cmake_build
|
%cmake_build
|
||||||
@ -89,6 +91,9 @@ Includes and definitions for developing with Nuspell
|
|||||||
%post -n %{libname}%{sonum} -p /sbin/ldconfig
|
%post -n %{libname}%{sonum} -p /sbin/ldconfig
|
||||||
%postun -n %{libname}%{sonum} -p /sbin/ldconfig
|
%postun -n %{libname}%{sonum} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%check
|
||||||
|
%ctest
|
||||||
|
|
||||||
%files -n %{name}
|
%files -n %{name}
|
||||||
%{_bindir}/nuspell
|
%{_bindir}/nuspell
|
||||||
%{_mandir}/man1/nuspell.1%{?ext_man}
|
%{_mandir}/man1/nuspell.1%{?ext_man}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user