enble search addon on fedora
This commit is contained in:
parent
43c245dc6c
commit
4cffc7e873
21
doxygen.spec
21
doxygen.spec
@ -1,8 +1,13 @@
|
|||||||
|
%if 0%{?fedora}
|
||||||
|
%global xapian_core_support OFF
|
||||||
|
%else
|
||||||
|
%global xapian_core_support OFF
|
||||||
|
%endif
|
||||||
Summary: A documentation system for C/C++
|
Summary: A documentation system for C/C++
|
||||||
Name: doxygen
|
Name: doxygen
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.8.14
|
Version: 1.8.14
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
|
|
||||||
# No version is specified.
|
# No version is specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
@ -38,7 +43,9 @@ BuildRequires: zlib-devel
|
|||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
%if %{xapian_core_support} == "ON"
|
||||||
BuildRequires: xapian-core-devel
|
BuildRequires: xapian-core-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: perl-interpreter
|
Requires: perl-interpreter
|
||||||
|
|
||||||
@ -95,7 +102,7 @@ pushd %{_target_platform}
|
|||||||
-Dbuild_doc=ON \
|
-Dbuild_doc=ON \
|
||||||
-Dbuild_wizard=ON \
|
-Dbuild_wizard=ON \
|
||||||
-Dbuild_xmlparser=ON \
|
-Dbuild_xmlparser=ON \
|
||||||
-Dbuild_search=ON \
|
-Dbuild_search=%{xapian_core_support} \
|
||||||
-DMAN_INSTALL_DIR=%{_mandir}/man1 \
|
-DMAN_INSTALL_DIR=%{_mandir}/man1 \
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
@ -132,6 +139,9 @@ cp doc/*.1 %{buildroot}/%{_mandir}/man1/
|
|||||||
%if 0%{?_module_build}
|
%if 0%{?_module_build}
|
||||||
rm -f %{buildroot}/%{_mandir}/man1/doxywizard.1*
|
rm -f %{buildroot}/%{_mandir}/man1/doxywizard.1*
|
||||||
%endif
|
%endif
|
||||||
|
%if %{xapian_core_support} == "OFF"
|
||||||
|
rm -f %{buildroot}/%{_mandir}/man1/doxyindexer.1* %{buildroot}/%{_mandir}/man1/doxysearch.1*
|
||||||
|
%endif
|
||||||
|
|
||||||
# remove duplicate
|
# remove duplicate
|
||||||
rm -rf %{buildroot}/%{_docdir}/packages
|
rm -rf %{buildroot}/%{_docdir}/packages
|
||||||
@ -145,13 +155,17 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
|
|||||||
%if ! 0%{?_module_build}
|
%if ! 0%{?_module_build}
|
||||||
%doc %{_target_platform}/latex/doxygen_manual.pdf
|
%doc %{_target_platform}/latex/doxygen_manual.pdf
|
||||||
%doc %{_target_platform}/html
|
%doc %{_target_platform}/html
|
||||||
|
%if %{xapian_core_support} == "ON"
|
||||||
%{_bindir}/doxyindexer
|
%{_bindir}/doxyindexer
|
||||||
%{_bindir}/doxysearch*
|
%{_bindir}/doxysearch*
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%{_bindir}/doxygen
|
%{_bindir}/doxygen
|
||||||
%{_mandir}/man1/doxygen.1*
|
%{_mandir}/man1/doxygen.1*
|
||||||
|
%if %{xapian_core_support} == "ON"
|
||||||
%{_mandir}/man1/doxyindexer.1*
|
%{_mandir}/man1/doxyindexer.1*
|
||||||
%{_mandir}/man1/doxysearch.1*
|
%{_mandir}/man1/doxysearch.1*
|
||||||
|
%endif
|
||||||
|
|
||||||
%if ! 0%{?_module_build}
|
%if ! 0%{?_module_build}
|
||||||
%files doxywizard
|
%files doxywizard
|
||||||
@ -167,6 +181,9 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 20 2018 Than Ngo <than@redhat.com> - 1.8.14-4
|
||||||
|
- enble search addon on fedora
|
||||||
|
|
||||||
* Mon Apr 30 2018 Than Ngo <than@redhat.com> - 1.8.14-3
|
* Mon Apr 30 2018 Than Ngo <than@redhat.com> - 1.8.14-3
|
||||||
- added missing BR on adjustbox.sty for refman
|
- added missing BR on adjustbox.sty for refman
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user