doxygen/doxywizard.spec
Petr Gajdos 39fe6c187e - updated to 1.8.4:
* id 686384: When INLINE_SIMPLE_STRUCTS is enabled, also structs
    with simple typedefs will be inlined.
  * Doxywizard: scrolling with mouse wheel no longer affects the
    values in the expert view.
  * id 681733: More consistent warnings and errors.
  * Added support for "clang assisted parsing", which allows the
    code to also be parsed via libclang (C/C++ frontend of LLVM)
    and can improve the quality of the syntax highting,
    cross-references, and call graphs, especially for template
    heavy C++ code. To enable this feature you have to configure
    doxygen with the --with-libclang option. Then you get two new
    configuration options: CLANG_ASSISTED_PARSING to enable or
    disable parsing via clang and CLANG_OPTIONS to pass additional
    compiler options needed to compile the files. Note that
    enabling this feature has a significant performance penality.
  * Included patch donated by Intel which adds Docbook support.
    This can be enabled via GENERATE_DOCBOOK and the output
    location can be controlled using DOCBOOK_OUTPUT. Docbook
    specific sections can be added using
    \docbookonly ... \enddocbookonly
  * Added support for UNO IDL (interace language used in
    Open/Libre Office), thanks to Michael Stahl for the patch.
  * Included patch by Adrian Negreanu which stores data gathered
    by doxygen in a sqlite3 database. Currently still work in
    progress and can only be enabled using --with-sqlite3 during
    ./configure.
  * For interactive SVG graphs, edges are now highlighted when
    hovered by the mouse.
  * Include patch by Adrian Negreanu to show duration statistics

OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=63
2013-05-20 16:44:15 +00:00

132 lines
4.2 KiB
RPMSpec

#
# spec file for package doxywizard
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: doxywizard
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: libjpeg-devel
Version: 1.8.4
Release: 0
Requires: doxygen = %{version}
Summary: Graphical User Interface for Doxygen
License: GPL-2.0+
Group: Development/Tools/Doc Generators
Url: http://www.stack.nl/~dimitri/doxygen/
Source: http://ftp.stack.nl/pub/users/dimitri/doxygen-%{version}.src.tar.gz
Source1: doxywizard.desktop
Patch: doxygen-1.5.9-64archs.patch
Patch2: %{name}-1.5.9-flex.patch
Patch5: doxygen-1.5.9-man.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#########################################################################################
# SuSE, openSUSE
#########################################################################################
%if 0%{?suse_version}
BuildRequires: libqt4-devel >= 4.3
BuildRequires: update-desktop-files
%define man_ext gz
%endif
#########################################################################################
# Fedora, RHEL or CentOS
#########################################################################################
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires: desktop-file-utils
BuildRequires: qt4-devel >= 4.3.0
%define man_ext gz
%endif
#########################################################################################
# Mandrake, Mandriva
#########################################################################################
%if 0%{?mandriva_version} || 0%{?mdkversion}
BuildRequires: libqt4-devel >= 4.3
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
%define man_ext lzma
%endif
%description
Doxywizard is a graphical front-end to read/edit/write doxygen
configuration files.
%prep
%setup -q -n doxygen-%{version}
%patch
%patch2
%patch5
%build
%if 0%{?suse_version}
export QTDIR=/usr
%endif
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
export QTDIR=%{_libdir}/qt4/
export PATH=${QTDIR}/bin:${PATH}
%endif
%if 0%{?mandriva_version} || 0%{?mdkversion}
export QTDIR=/usr/lib/qt4/
%if 0%{?mandriva_version} <= 2009 || 0%{?mdkversion} <= 200900
export PATH=${QTDIR}/bin:${PATH}
%endif
%endif
mintoc=
%ifarch ppc64
mintoc="-DENGLISH_ONLY"
%endif
sed -i~ "/^TMAKE_CFLAGS_RELEASE.*/s@^.*@TMAKE_CFLAGS_RELEASE = $RPM_OPT_FLAGS $mintoc@" tmake/lib/linux-g++/tmake.conf
# custom configure script
./configure --with-doxywizard
make %{?_smp_mflags}
%install
make install INSTALL=$RPM_BUILD_ROOT/usr
rm -f $RPM_BUILD_ROOT/usr/bin/{doxygen,doxytag}
%if 0%{?suse_version}
%suse_update_desktop_file -i doxywizard Development Documentation
%endif
%if 0%{?fedora_version}
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ --add-category Development --add-category Documentation %{SOURCE1}
%endif
%if 0%{?mandriva_version} || 0%{?mdkversion}
install -d -m 755 %{buildroot}%{_datadir}/applications/
install %{SOURCE1} %{buildroot}%{_datadir}/applications/
%endif
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{doxygen,doxytag}.1
%files
%defattr(-,root,root)
%attr(755,root,root) /usr/bin/doxywizard
%{_datadir}/applications/doxywizard.desktop
%attr(444,root,root) %doc %{_mandir}/man1/doxywizard.1.%{man_ext}
%if 0%{?mandriva_version} || 0%{?mdkversion}
%post
%update_menus
%{update_desktop_database}
%endif
%if 0%{?mandriva_version} || 0%{?mdkversion}
%postun
%clean_menus
%{clean_desktop_database}
%endif
%changelog