forked from pool/doxygen
Accepting request 762640 from home:pluskalm:branches:devel:tools
- Use modern cmake macros - Use modern cmake macros OBS-URL: https://build.opensuse.org/request/show/762640 OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=144
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
|
||||
# build with "--with libclang" to enable libclang support
|
||||
%bcond_with libclang
|
||||
|
||||
Name: doxygen
|
||||
Version: 1.8.16
|
||||
Release: 0
|
||||
@@ -47,12 +46,12 @@ BuildRequires: flex
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python3-base
|
||||
BuildRequires: python3-xml
|
||||
%if %{with libclang}
|
||||
BuildRequires: llvm-clang-devel
|
||||
%endif
|
||||
# Do not bother building documentation with latex since it is present on the
|
||||
# web trivialy for all versions of doxygen
|
||||
Obsoletes: doxygen-doc
|
||||
%if %{with libclang}
|
||||
BuildRequires: llvm-clang-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
Doxygen is a documentation system for C, C++, Java, and IDL. It can
|
||||
@@ -88,7 +87,7 @@ as well.
|
||||
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DBUILD_STATIC_LIBS=ON
|
||||
%make_jobs
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
Reference in New Issue
Block a user