Petr Gajdos
39fe6c187e
* 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
101 lines
3.7 KiB
RPMSpec
101 lines
3.7 KiB
RPMSpec
#
|
|
# spec file for package doxygen
|
|
#
|
|
# 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: doxygen
|
|
BuildRequires: bison
|
|
BuildRequires: flex
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: unzip
|
|
Version: 1.8.4
|
|
Release: 0
|
|
Summary: Automated C, C++, and Java Documentation Generator
|
|
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
|
|
# script to get %%source2
|
|
Source1: doxygen-html.sh
|
|
Source2: %{name}-%{version}-html.tar.bz2
|
|
Source3: ftp://ftp.stack.nl/pub/users/dimitri/doxygen_manual-%{version}.pdf.zip
|
|
Patch: %{name}-1.5.9-64archs.patch
|
|
Patch3: %{name}-1.5.9-man.patch
|
|
Patch4: %{name}-1.7.0-modify_footer.patch
|
|
Patch5: %{name}-no-lowercase-man-names.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
#########################################################################################
|
|
# SuSE, openSUSE
|
|
#########################################################################################
|
|
%if 0%{?suse_version}
|
|
%define man_ext gz
|
|
%endif
|
|
#########################################################################################
|
|
# Fedora, RHEL or CentOS
|
|
#########################################################################################
|
|
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
|
|
%define man_ext gz
|
|
%endif
|
|
#########################################################################################
|
|
# Mandrake, Mandriva
|
|
#########################################################################################
|
|
%if 0%{?mandriva_version} || 0%{?mdkversion}
|
|
%define man_ext lzma
|
|
%endif
|
|
|
|
%description
|
|
Doxygen is a documentation system for C, C++, Java, and IDL. It can
|
|
generate an online class browser (in HTML) and an offline reference
|
|
manual (in LaTeX) from a set of documented source files. The
|
|
documentation is extracted directly from the sources. Doxygen is
|
|
developed on a Linux platform, but it runs on most other UNIX flavors
|
|
as well. An executable for Windows 95/NT is also available.
|
|
|
|
%prep
|
|
%setup -q -b 2
|
|
%patch
|
|
%patch3
|
|
%patch4
|
|
%patch5 -p1
|
|
cp -v %{S:3} .
|
|
/usr/bin/unzip %{S:3}
|
|
|
|
%build
|
|
mintoc=
|
|
%ifarch ppc64
|
|
mintoc="-DENGLISH_ONLY"
|
|
%endif
|
|
sed -i~ "/^TMAKE_CFLAGS_RELEASE.*/s@^.*@TMAKE_CFLAGS_RELEASE = $RPM_OPT_FLAGS -O0 $mintoc@" tmake/lib/linux-g++/tmake.conf
|
|
# custom configure script
|
|
./configure --prefix /usr --install /usr/bin/install
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/doxygen
|
|
make install INSTALL=$RPM_BUILD_ROOT/usr DOCDIR=$RPM_BUILD_ROOT%{_docdir}/doxygen
|
|
install -m 644 LICENSE LANGUAGE.HOWTO PLATFORMS README VERSION $RPM_BUILD_ROOT%{_docdir}/doxygen
|
|
cp -a html $RPM_BUILD_ROOT%{_docdir}/doxygen
|
|
cp doxygen_manual-%{version}.pdf $RPM_BUILD_ROOT%{_docdir}/doxygen
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc %{_docdir}/doxygen
|
|
%attr(444,root,root) %doc %{_mandir}/man1/doxygen.1.%{man_ext}
|
|
%attr(755,root,root) /usr/bin/*
|
|
|
|
%changelog
|