SHA256
8
0
forked from pool/doxygen
Files
doxygen/doxywizard.spec
Petr Gajdos 6e34b4e7d4 Accepting request 866678 from home:dirkmueller:branches:devel:tools
- update to 1.9.1:
  Bugfixes:
  * issue #8282: Error on ALIAS declaration without quotes [view]
  * issue #8286: Incorrect processing of VHDL strings [view], [view]
  * issue #8291: Doxygen crash on Windows when INLINE_SIMPLE_STRUCTS=YES [view]
  * issue #8294: Draw sibling dependee directories within same parent directoy in directory dependency graph. [view], [view], [view], [view], and [view]
  * issue #8295: segmentation fault [view]
  * issue #8296: LaTeX Error: File ... not found. [view], and [view]
  * issue #8297: fails to parse list of INPUT files [view]
  * issue #8300: File naming changed in Doxygen 1.9.0 [view]
  * issue #8304: compilation failure [view]
  * issue #8311: Markdown table: double-quote ruins the output [view]
  * Fix cases where classes inside inline namespaces could lead to crashes [view]
  * Fix coverity dead-code warning [view]
  * Fix potential crash with inline namespace [view]
  * Incorrect entries on treeview [view]
  * Layout in doxywizard documentation [view]
  * Various fixes based on coverity scan results [view]
  * bug_549093 Regular HTML comments are removed. [view]
  Features:
  * Add a CLANG_ADD_INC_PATHS option
  * Add some missing info to the XML output
  Refactorings and cleanups

OBS-URL: https://build.opensuse.org/request/show/866678
OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=161
2021-01-26 07:51:28 +00:00

100 lines
3.0 KiB
RPMSpec

#
# spec file for package doxywizard
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: doxywizard
Version: 1.9.1
Release: 0
Summary: Graphical User Interface for Doxygen
# qtools are used for building and they are GPL-3.0 licensed
License: GPL-2.0-or-later AND GPL-3.0-only
Group: Development/Tools/Doc Generators
URL: https://www.doxygen.nl/
Source: https://www.doxygen.nl/files/doxygen-%{version}.src.tar.gz
Source1: doxywizard.desktop
# PATCH-FIX-UPSTREAM: add missing returns to non-void functions
Patch3: vhdlparser-no-return.patch
BuildRequires: bison
BuildRequires: cmake >= 2.8.12
BuildRequires: flex
%if 0%{?suse_version} <= 1500
BuildRequires: gcc9-c++
%else
BuildRequires: gcc-c++
%endif
BuildRequires: libjpeg-devel
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
Requires: doxygen = %{version}
%if 0%{?suse_version} > 1230 && 0%{?suse_version} != 1315
# for make tests
BuildRequires: libxml2-tools
BuildRequires: texlive-bibtex
%endif
%description
Doxywizard is a graphical front-end to read/edit/write doxygen
configuration files.
%prep
%setup -q -n doxygen-%{version}
%patch3 -p1
%build
export CFLAGS="%{optflags} -fPIC"
export CXXFLAGS="%{optflags} -fPIC"
%cmake \
-Dbuild_wizard=ON \
%if 0%{?suse_version} <= 1500
-DCMAKE_C_COMPILER=gcc-9 \
-DCMAKE_CXX_COMPILER=g++-9 \
%endif
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
-DBUILD_SHARED_LIBS=OFF \
-DBUILD_STATIC_LIBS=ON
%cmake_build
%if 0%{?suse_version} > 1230 && 0%{?suse_version} != 1315
%check
export LANG=C.UTF-8
# testing doxygen package here to avoid build
# cycle between latex and doxygen
%ctest
%endif
%install
%cmake_install
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
%files
%attr(755,root,root) %{_bindir}/doxywizard
%{_datadir}/applications/doxywizard.desktop
%{_mandir}/man1/doxywizard.1%{?ext_man}
%changelog