!45 detach the sub package doxygen-help from doxygen and disable xapian_core_support

From: @zou_lin77 
Reviewed-by: @zhuchunyi 
Signed-off-by: @huangduirong, @zhuchunyi
This commit is contained in:
openeuler-ci-bot 2022-03-15 07:34:38 +00:00 committed by Gitee
commit f99830d4bb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,9 +1,9 @@
%global xapian_core_support ON
%global xapian_core_support OFF
%global BuildDir Out
Name: doxygen
Epoch: 1
Version: 1.9.2
Release: 3
Release: 4
Summary: A documentation system for C/C++
License: GPL+
Url: http://www.doxygen.nl
@ -36,6 +36,8 @@ BuildRequires: qt5-qtbase-devel
Doxywizard is a graphical front-end to read/edit/write doxygen
configuration files.
%package_help
%prep
%autosetup -p1
iconv --from=ISO-8859-1 --to=UTF-8 LANGUAGE.HOWTO > LANGUAGE.HOWTO.new
@ -78,15 +80,11 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
make tests -C %{BuildDir}
%files
%doc LANGUAGE.HOWTO README.md
%license LICENSE
%{_bindir}/doxygen
%{_mandir}/man1/doxygen.1*
%if "%{xapian_core_support}" == "ON"
%{_bindir}/{doxyindexer,doxysearch*}
%{_mandir}/man1/{doxyindexer.1*,doxysearch.1*}
%endif
%exclude %{_docdir}/packages
%files doxywizard
%{_bindir}/doxywizard
@ -94,7 +92,19 @@ make tests -C %{BuildDir}
%{_datadir}/applications/doxywizard.desktop
%{_datadir}/icons/hicolor/*/apps/doxywizard.png
%files help
%doc LANGUAGE.HOWTO README.md
%exclude %{_docdir}/packages
%{_mandir}/man1/doxygen.1*
%if "%{xapian_core_support}" == "ON"
%{_mandir}/man1/{doxyindexer.1*,doxysearch.1*}
%endif
%changelog
* Sat Mar 12 2022 zoulin<zoulin13@h-partners.com> - 1.9.2-4
- detach the sub package doxygen-help from doxygen;
- disable xapian_core_support
* Tue Dec 31 2021 zoulin<zoulin13@huawei.com> - 1.9.2-3
- Fix bare words are no longer supported