SHA256
1
0
forked from pool/doxygen
doxygen/doxygen.spec
Petr Gajdos fe2d316d6c - update to 1.7.5:
* id 641904: Function in the call graphs are now shown based on first 
    appearance rather then alphabetical order.                      
  * id 616213: When customizing the HTML header $title now only generates 
    the title excluding the project name (which can still be      
    added using $projectname)                                                                                                           
  * Improved the look of the class index: all items now have equal spacing.
  * New option INTERACTIVE_SVG which when set to YES in combination with 
    DOT_IMAGE_FORMAT=svg will make doxygen generate interactive SVG 
    diagrams that support zooming and panning via the mouse (only for 
    large graphs).                                                
  * Added support for the Tcl programming language (thanks to Rene Zaumseil
    and Samuel Bentley for the patch).                          
  * Added @copyright command.                                                                                                           
  * added option MATHJAX_EXTENSIONS to provide additional extensions for 
    MathJax (thanks to David Munger for the patch).                
  * added option INLINE_SIMPLE_STRUCTS which when enabled shows the fields 
    of simple classes and structs (with only public data fields) as a table 
    and inline in context (file/group/namespace/class) 
    provided this context is documented.                          
  * When using the server based search engine (SEARCHENGINE=YES and 
    SERVER_BASED_SEARCH=YES) doxygen now advertises a opensearch provider 
    for your project, that allows integrating the search directly in the 
    search field of the browser (thanks to Phil Lello for the patch). 
  * id 503239: Added new option CITE_BIB_FILES and LATEX_BIB_STYLE and a new 
    command \cite, allowing you to make references to literature (as defined 
    in one or more .bib files). This also works for output formats other 
    than LaTeX. The tool bibtex is required for this to work though. Thanks 
    to David Munger for the initial patch upon which this feature is based.                    
  * PHP namespaces are now shown as A\B in the output.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=32
2011-08-15 09:38:04 +00:00

110 lines
3.8 KiB
RPMSpec

#
# spec file for package doxygen
#
# Copyright (c) 2011 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/
#
# norootforbuild
Name: doxygen
BuildRequires: bison flex gcc-c++ libpng-devel
Version: 1.7.5
Release: 3
License: GPLv2+
Group: Development/Tools/Doc Generators
Summary: Automated C, C++, and Java Documentation Generator
Url: http://www.stack.nl/~dimitri/doxygen/
# http://ftp.stack.nl/pub/users/dimitri/doxygen-%{version}.src.tar.gz
Source: %{name}-%{version}.src.tar.bz2
# script to get %%source2
Source1: doxygen-html.sh
Source2: %{name}-%{version}-html.tar.bz2
# ftp://ftp.stack.nl/pub/users/dimitri/doxygen_manual-%{version}.pdf.zip
Source3: %{name}_manual-%{version}.pdf.bz2
Patch: %{name}-1.5.9-64archs.patch
Patch2: %{name}-1.5.9-arm.patch
Patch3: %{name}-1.5.9-man.patch
Patch4: %{name}-1.7.0-modify_footer.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.
Authors:
--------
Dimitri van Heesch <dimitri@stack.nl>
%prep
%setup -q -b 2
%patch
%patch2
%patch3
%patch4
cp -v %{S:3} .
bzip2 -d %{name}_manual-%{version}.pdf.bz2
%build
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
./configure --prefix /usr --install /usr/bin/install
make %{?jobs:-j%jobs}
%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
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc %{_docdir}/doxygen
%attr(444,root,root) %doc %{_mandir}/man1/doxygen.1.%{man_ext}
%attr(444,root,root) %doc %{_mandir}/man1/doxytag.1.%{man_ext}
%attr(755,root,root) /usr/bin/*
%changelog