forked from pool/nuspell
Accepting request 1189292 from home:badshah400:branches:M17N
Disable man file generation to avoid BuildRequires on pandoc (nuspell is a Ring1 package). OBS-URL: https://build.opensuse.org/request/show/1189292 OBS-URL: https://build.opensuse.org/package/show/M17N/nuspell?expand=0&rev=34
This commit is contained in:
parent
b7c6c626df
commit
8669bbaf00
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 04:32:43 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Disable man file generation to avoid BuildRequires on pandoc
|
||||
(nuspell is a Ring1 package).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 17 04:38:53 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
|
12
nuspell.spec
12
nuspell.spec
@ -24,6 +24,8 @@
|
||||
%else
|
||||
%bcond_without tests
|
||||
%endif
|
||||
# Ring1 package, avoid pandoc requirement by disabling mnan file generation
|
||||
%bcond_with man
|
||||
Name: nuspell
|
||||
Version: 5.1.6
|
||||
Release: 0
|
||||
@ -42,10 +44,12 @@ BuildRequires: gcc-c++
|
||||
%endif
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: pandoc
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:ronn)
|
||||
Requires: hunspell
|
||||
%if %{with man}
|
||||
BuildRequires: pandoc
|
||||
%endif
|
||||
%if %{with tests}
|
||||
BuildRequires: pkgconfig(catch2) >= 3.3.2
|
||||
%endif
|
||||
@ -110,7 +114,9 @@ This package provides API documentation for Nuspell.
|
||||
-DCMAKE_CXX_FLAGS:STRING="%{optflags} -std=c++17" \
|
||||
%endif
|
||||
-DBUILD_TESTING:BOOL=%{?with_tests:ON}%{!?with_tests:OFF} \
|
||||
-DCMAKE_SKIP_RPATH:BOOL=OFF
|
||||
-DCMAKE_SKIP_RPATH:BOOL=OFF \
|
||||
-DBUILD_DOCS=%{?with_man:ON}%{!?with_man:OFF} \
|
||||
%{nil}
|
||||
%cmake_build
|
||||
|
||||
cd ../
|
||||
@ -136,7 +142,9 @@ cp -pR doxygen/html %{buildroot}%{_docdir}/%{name}-doc/
|
||||
%doc README.md CHANGELOG.md AUTHORS
|
||||
%license COPYING.LESSER COPYING
|
||||
%{_bindir}/nuspell
|
||||
%if %{with man}
|
||||
%{_mandir}/man1/nuspell.1%{?ext_man}
|
||||
%endif
|
||||
|
||||
%files -n %{libname}%{sonum}
|
||||
%license COPYING.LESSER COPYING
|
||||
|
Loading…
Reference in New Issue
Block a user