doxygen/doxywizard.spec
Petr Gajdos d5bccd950e - version update to 1.8.18
Removed functionality
    * Removed support for TCL (code is too buggy and unmaintained, language not very popular)
  Features
    * Added the few missing French translations [view]
    * Updated Swedish translation to match the latest version [view]
    * Adding check on configuration setting EXTENSION_MAPPING [view]
    * Adding commands `\rtfinclude`, `\docbookinclude`, `\maninclude` and `\xmlinclude` [view]
    * output on doxyparse if a function is a prototype [view]
    * print protection information on doxyparse [view]
    * Creation of svg images for formulas with inkscape [view]
    * Improve formula handling and rendering. [view]
    * Doxygen version in the messages output (#7640) [view]
    * Doxygen version information (#7645) [view]
    * Enabling Travis builds for s390x [view]
    * Relative markdown file reference (#7032) [view]
  Bugs fixed
    * see https://www.doxygen.nl/manual/changelog.html
- modified patches
  % doxygen-no-lowercase-man-names.patch (refreshed)
  % vhdlparser-no-return.patch (refreshed)
- deleted patches
  - 0001-issue-7248-Including-external-tag-files-with-TOC-pro.patch (upstreamed)
  - PR_7193_fix_blank_file_patterns.patch (upstreamed)
  - doxygen-64f1f2357ae764f2c8190d067aff801bc0a56721.patch (upstreamed)
  - doxygen-git-not-required.patch (upstreamed)
  - reproducible-sort.patch (upstreamed)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=149
2020-07-10 07:38:16 +00:00

95 lines
2.9 KiB
RPMSpec

#
# spec file for package doxywizard
#
# Copyright (c) 2020 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.8.18
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: http://www.doxygen.nl/
Source: http://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
# really do not require git executable
Patch4: doxygen-git-not-required.patch
BuildRequires: bison
BuildRequires: cmake >= 2.8.12
BuildRequires: flex
BuildRequires: gcc-c++
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
%patch4 -p1
%build
export CFLAGS="%{optflags} -fPIC"
export CXXFLAGS="%{optflags} -fPIC"
%cmake \
-Dbuild_wizard=ON \
-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