support Qt5

This commit is contained in:
Than Ngo 2018-06-27 12:30:49 +02:00
parent 4cffc7e873
commit 0dbbc6466d

View File

@ -1,13 +1,14 @@
%if 0%{?fedora} %if 0%{?fedora}
%global xapian_core_support OFF %global xapian_core_support ON
%else %else
%global xapian_core_support OFF %global xapian_core_support OFF
%endif %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: 4%{?dist} Release: 5%{?dist}
# No version is specified. # No version is specified.
License: GPL+ License: GPL+
@ -46,7 +47,6 @@ BuildRequires: cmake
%if %{xapian_core_support} == "ON" %if %{xapian_core_support} == "ON"
BuildRequires: xapian-core-devel BuildRequires: xapian-core-devel
%endif %endif
Requires: perl-interpreter Requires: perl-interpreter
%description %description
@ -60,7 +60,8 @@ source files.
%package doxywizard %package doxywizard
Summary: A GUI for creating and editing configuration files Summary: A GUI for creating and editing configuration files
Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name} = %{epoch}:%{version}-%{release}
BuildRequires: qt4-devel BuildRequires: qt5-qtbase-devel
%description doxywizard %description doxywizard
Doxywizard is a GUI for creating and editing configuration files that Doxywizard is a GUI for creating and editing configuration files that
are used by doxygen. are used by doxygen.
@ -79,6 +80,7 @@ Requires: tex(tabu.sty)
Requires: tex(appendix.sty) Requires: tex(appendix.sty)
Requires: texlive-epstopdf-bin Requires: texlive-epstopdf-bin
%endif %endif
%description latex %description latex
%{summary}. %{summary}.
%endif %endif
@ -139,6 +141,7 @@ 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" %if %{xapian_core_support} == "OFF"
rm -f %{buildroot}/%{_mandir}/man1/doxyindexer.1* %{buildroot}/%{_mandir}/man1/doxysearch.1* rm -f %{buildroot}/%{_mandir}/man1/doxyindexer.1* %{buildroot}/%{_mandir}/man1/doxysearch.1*
%endif %endif
@ -166,7 +169,6 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
%{_mandir}/man1/doxyindexer.1* %{_mandir}/man1/doxyindexer.1*
%{_mandir}/man1/doxysearch.1* %{_mandir}/man1/doxysearch.1*
%endif %endif
%if ! 0%{?_module_build} %if ! 0%{?_module_build}
%files doxywizard %files doxywizard
%{_bindir}/doxywizard %{_bindir}/doxywizard
@ -181,6 +183,9 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
%endif %endif
%changelog %changelog
* Wed Jun 27 2018 Than Ngo <than@redhat.com> - 1:1.8.14-5
- support Qt5
* Wed Jun 20 2018 Than Ngo <than@redhat.com> - 1.8.14-4 * Wed Jun 20 2018 Than Ngo <than@redhat.com> - 1.8.14-4
- enble search addon on fedora - enble search addon on fedora