SHA256
8
0
forked from pool/doxygen

- deleted patches

- doxygen-no-lowercase-man-names.patch (not needed)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=188
This commit is contained in:
2023-06-23 16:58:08 +00:00
committed by Git OBS Bridge
parent 46d33f521f
commit dccb83c651
3 changed files with 6 additions and 20 deletions

View File

@@ -35,8 +35,6 @@ License: GPL-2.0-or-later AND GPL-3.0-only
Group: Development/Tools/Doc Generators
URL: https://www.doxygen.nl/
Source0: https://www.doxygen.nl/files/doxygen-%{version}.src.tar.gz
# suse specific
Patch1: doxygen-no-lowercase-man-names.patch
# The unified libclang-cpp library doesn't exist on older Leap / SLE
Patch10: doxygen-no-libclang-cpp.patch
BuildRequires: bison
@@ -93,7 +91,6 @@ configuration files.
%prep
%setup -q -n doxygen-%{version}
# Leap 15 and SLE don't accept '%%autopatch -M'
%patch1 -p1
%if %{with libclang}
%if 0%{?sle_version} == 150100 || (0%{?sle_version} == 150200 && !0%{?is_opensuse})
%patch10 -p1
@@ -105,11 +102,11 @@ configuration files.
%if "%{flavor}" == "doxygen"
-Dbuild_wizard=OFF \
%endif
%if "%{flavor}" == "doxwizard"
%if "%{flavor}" == "doxywizard"
-Dbuild_wizard=ON \
%endif
-Dbuild_xmlparser=ON \
-Dbuild_doc=OFF \
-Dbuild_xmlparser=ON \
-Dbuild_search=OFF \
%if %{with libclang}
-Duse_libclang=ON \
@@ -127,13 +124,12 @@ configuration files.
%install
%cmake_install
%if "%{flavor}" == "doxygen"
mkdir -p %{buildroot}%{_mandir}/man1/
install -m 644 doc/doxygen.1 %{buildroot}%{_mandir}/man1/a
%if "%{flavor}" == "doxygen"
install -m 644 doc/doxygen.1 %{buildroot}%{_mandir}/man1/
%endif
%if "%{flavor}" == "doxywizard"
rm %{buildroot}%{_bindir}/doxygen
mkdir -p %{buildroot}%{_mandir}/man1/
install -m 644 doc/doxywizard.1 %{buildroot}%{_mandir}/man1/
%suse_update_desktop_file -i doxywizard Development Documentation
%endif