%if "%{stage1}" != "1" %define with_qt_wiz 1 %{expand:%%define libqt_ver %(rpm -q --qf "%{VERSION}" libqt4-devel)} %else %define with_qt_wiz 0 %endif %define pck_docdir %{_datadir}/doc/doxygen-%{version} Name: doxygen Version: 1.9.7 Release: 1mamba Summary: A documentation system for C, C++, Java, IDL, Objective-C, PHP, C# and D Group: Applications/Development Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.doxygen.nl/index.html Source: https://doxygen.nl/files/doxygen-%{version}.src.tar.gz Patch1: doxygen-1.7.1-config.patch Patch2: doxygen-1.6.2-timestamp.patch Patch3: doxygen-1.7.2-fix_cftchapfont.patch Patch4: doxygen-1.8.10-flex-2.6.patch Patch5: doxygen-1.8.14-upstream-bug-789168-segfault.patch Patch6: doxygen-1.8.16-compat.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libspdlog-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libxapian-devel BuildRequires: libz-devel BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END %if "%{stage1}" != "1" BuildRequires: graphviz %endif BuildRequires: flex BuildRequires: bison BuildRequires: ghostscript BuildRequires: tetex-latex BuildRequires: tetex-dvips BuildRequires: clang >= 5.0.0 %description Doxygen is a documentation system for C++, C, Java, IDL (Corba and Microsoft flavors) and to some extent PHP and C# and D. It can help you in three ways: * It can generate an on-line documentation browser (in HTML) and/or an off-line reference manual (in HTML) from a set of documented source files. There is also support for generating output in RTF (MS-Word), PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The documentation is extracted directly from the sources, which makes it much easier to keep the documentation consistent with the source code. * You can configure doxygen to extract the code structure from undocumented source files. This is very useful to quickly find your way in large source distributions. You can also visualize the relations between the various elements by means of include dependency graphs, inheritance diagrams, and collaboration diagrams, which are all generated automatically. * You can even `abuse' doxygen for creating normal documentation (as I did for this manual). Doxygen is developed under Linux, but is set-up to be highly portable. As a result, it runs on most other Unix flavors as well. Furthermore, executables for Windows 9x/NT and Mac OS X are available. %if %{with_qt_wiz} %package doxywizard Summary: A GUI for creating and editing configuration files Group: Graphical Desktop/Applications/Development Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRequires: libqt4-devel >= %{libqt_ver} %description doxywizard Doxywizard is a GUI for creating and editing configuration files that are used by doxygen. %endif %package doc Group: Documentation Summary: Doxygen documentation Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description doc Doxygen is a documentation system for C++, C, Java, IDL (Corba and Microsoft flavors) and to some extent PHP and C#. This package contains the documentation in HTML format and PDF format. %debug_package %prep %setup -q #%patch4 -p1 #%patch5 -R -p1 #%patch6 -p1 %build # FIXME: % cmake macro fails %cmake -d build \ -DPYTHON_EXECUTABLE=%{__python27} \ -DDOC_INSTALL_DIR:PATH=share/doc/doxygen \ %if %{with_qt_wiz} -Dbuild_wizard=ON \ %endif -Dbuild_doc=ON \ -Duse_sqlite3=ON \ -Dbuild_search=ON \ .. # -Duse_libclang=ON \ %make make docs %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{expand:%%define MAN1DIR %(echo %_mandir/man1 | sed "s,%{_prefix}/,,")} %makeinstall -C build # install_docs \ # INSTALL=%{buildroot}%{_prefix} \ # MAN1DIR=%{MAN1DIR} \ # DOCDIR=%{buildroot}%{pck_docdir} iconv --from=ISO-8859-1 --to=UTF-8 LANGUAGE.HOWTO > LANGUAGE.HOWTO.new touch -r LANGUAGE.HOWTO LANGUAGE.HOWTO.new mv LANGUAGE.HOWTO.new LANGUAGE.HOWTO # remove unpackaged files find %{buildroot}%{pck_docdir}/ -name Makefile\* | xargs rm -f find examples -type f | xargs chmod -x #sed -i -e "s|#!perl|#! /usr/bin/perl|" examples/tag/html/installdox %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/doxygen %{_bindir}/doxyindexer %{_bindir}/doxysearch.cgi #%{_bindir}/doxytag %{_mandir}/man1/doxygen.1* %{_mandir}/man1/doxyindexer.1* %{_mandir}/man1/doxysearch.1* #%{_mandir}/man1/doxytag.1* %doc LICENSE %if %{with_qt_wiz} %files doxywizard %defattr(-,root,root) %{_bindir}/doxywizard %{_mandir}/man1/doxywizard.1* %doc addon/doxywizard/README %endif %files doc %defattr(-,root,root) %dir %{_datadir}/doc/doxygen %{_datadir}/doc/doxygen/* %doc LANGUAGE.HOWTO examples %changelog * Fri May 19 2023 Automatic Build System 1.9.7-1mamba - automatic version update by autodist * Mon Mar 13 2023 Automatic Build System 1.9.6-1mamba - automatic version update by autodist * Sat Aug 27 2022 Automatic Build System 1.9.5-1mamba - automatic version update by autodist * Sun May 08 2022 Silvan Calarco 1.9.4-1mamba - update to 1.9.4 * Mon Aug 23 2021 Silvan Calarco 1.9.2-1mamba - update to 1.9.2 * Sat Jan 09 2021 Automatic Build System 1.9.1-1mamba - automatic version update by autodist * Tue Dec 29 2020 Automatic Build System 1.9.0-1mamba - automatic version update by autodist * Tue Aug 25 2020 Automatic Build System 1.8.20-1mamba - automatic version update by autodist * Sun Aug 09 2020 Automatic Build System 1.8.19-1mamba - automatic version update by autodist * Tue Apr 14 2020 Automatic Build System 1.8.18-1mamba - automatic version update by autodist * Tue Dec 31 2019 Automatic Build System 1.8.17-1mamba - automatic version update by autodist * Tue Oct 29 2019 Automatic Build System 1.8.16-1mamba - automatic version update by autodist * Sun Mar 31 2019 Silvan Calarco 1.8.15-1mamba - update to 1.8.15 * Mon Aug 27 2018 Silvan Calarco 1.8.14-2mamba - revert upstream patch causing segfault seen on arm * Mon Aug 13 2018 Automatic Build System 1.8.14-1mamba - automatic version update by autodist * Tue Nov 28 2017 Silvan Calarco 1.8.13-2mamba - rebuilt with clang 5.0.0 * Fri Feb 24 2017 Automatic Build System 1.8.13-1mamba - automatic version update by autodist * Tue Sep 06 2016 Automatic Build System 1.8.12-1mamba - automatic version update by autodist * Mon Jun 13 2016 Silvan Calarco 1.8.11-2mamba - rebuilt with clang 3.8.0 * Tue Apr 19 2016 Automatic Build System 1.8.11-1mamba - automatic version update by autodist * Mon Jan 05 2015 Automatic Build System 1.8.9.1-1mamba - automatic version update by autodist * Fri Dec 26 2014 Automatic Build System 1.8.9-1mamba - automatic version update by autodist * Sat Aug 30 2014 Automatic Build System 1.8.8-1mamba - automatic version update by autodist * Mon Apr 21 2014 Automatic Build System 1.8.7-1mamba - automatic version update by autodist * Wed Dec 25 2013 Automatic Build System 1.8.6-1mamba - automatic version update by autodist * Sat Aug 24 2013 Automatic Build System 1.8.5-1mamba - automatic version update by autodist * Mon May 20 2013 Automatic Build System 1.8.4-1mamba - automatic version update by autodist * Wed Jan 23 2013 Automatic Build System 1.8.3.1-1mamba - automatic version update by autodist * Thu Jan 10 2013 Automatic Build System 1.8.3-1mamba - automatic version update by autodist * Sat Aug 11 2012 Automatic Build System 1.8.2-1mamba - automatic version update by autodist * Fri Jul 13 2012 Automatic Build System 1.8.1.2-1mamba - automatic version update by autodist * Sun Jun 10 2012 Automatic Build System 1.8.1.1-1mamba - automatic version update by autodist * Wed May 23 2012 Automatic Build System 1.8.1-1mamba - automatic version update by autodist * Tue Mar 13 2012 Automatic Build System 1.8.0-1mamba - automatic version update by autodist * Sun Dec 11 2011 Automatic Build System 1.7.6.1-1mamba - automatic version update by autodist * Mon Dec 05 2011 Automatic Build System 1.7.6-1mamba - automatic version update by autodist * Sun Aug 21 2011 Automatic Build System 1.7.5.1-1mamba - automatic version update by autodist * Sun Aug 14 2011 Automatic Build System 1.7.5-1mamba - automatic version update by autodist * Mon Mar 28 2011 Automatic Build System 1.7.4-1mamba - automatic update by autodist * Sun Feb 20 2011 Automatic Build System 1.7.3-1mamba - automatic update by autodist * Sat Dec 11 2010 Silvan Calarco 1.7.2-3mamba - added patch to fix latex error with cftchapfont * Tue Oct 26 2010 gil 1.7.2-2mamba - rebuilt with libqt4 support - built doxywizard sub package * Sat Oct 09 2010 Automatic Build System 1.7.2-1mamba - automatic update to 1.7.2 by autodist * Fri Jun 25 2010 Automatic Build System 1.7.1-1mamba - automatic update to 1.7.1 by autodist * Tue Jun 15 2010 Automatic Build System 1.7.0-1mamba - automatic update to 1.7.0 by autodist * Sun Mar 14 2010 Automatic Build System 1.6.3-1mamba - automatic update to 1.6.3 by autodist * Wed Dec 30 2009 Automatic Build System 1.6.2-1mamba - automatic update to 1.6.2 by autodist * Tue Aug 25 2009 Automatic Build System 1.6.1-1mamba - automatic update to 1.6.1 by autodist * Thu Aug 20 2009 Automatic Build System 1.6.0-1mamba - automatic update to 1.6.0 by autodist * Fri May 01 2009 Automatic Build System 1.5.9-1mamba - automatic update to 1.5.9 by autodist * Sun Dec 28 2008 Silvan Calarco 1.5.8-1mamba - automatic update to 1.5.8 by autodist * Sun Oct 05 2008 Silvan Calarco 1.5.7.1-1mamba - automatic update to 1.5.7.1 by autodist * Mon Sep 29 2008 Silvan Calarco 1.5.7-1mamba - automatic update to 1.5.7 by autodist * Tue Jun 03 2008 Silvan Calarco 1.5.6-1mamba - update to 1.5.6 * Thu Feb 14 2008 Aleph0 1.5.5-1mamba - update to 1.5.5 * Fri Jul 27 2007 Aleph0 1.5.3-1mamba - update to 1.5.3 * Thu Apr 05 2007 Aleph0 1.5.2-1mamba - update to version 1.5.2 by autospec * Thu Nov 02 2006 Davide Madrisan 1.5.1-1qilnx - update to version 1.5.1 by autospec * Tue Oct 17 2006 Davide Madrisan 1.5.0-1qilnx - update to version 1.5.0 by autospec * Tue Jun 13 2006 Davide Madrisan 1.4.7-1qilnx - update to version 1.4.7 by autospec * Tue Jan 03 2006 Davide Madrisan 1.4.6-1qilnx - update to version 1.4.6 by autospec * Wed Oct 12 2005 Davide Madrisan 1.4.5-1qilnx - update to version 1.4.5 by autospec * Thu Jul 28 2005 Davide Madrisan 1.4.4-1qilnx - update to version 1.4.4 by autospec * Thu Jun 09 2005 Davide Madrisan 1.4.3-1qilnx - update to version 1.4.3 by autospec * Mon May 02 2005 Davide Madrisan 1.4.2-1qilnx - update to version 1.4.2 by autospec - added doxywizard and doc packages * Mon Jan 10 2005 Davide Madrisan 1.4.1-1qilnx - update to version 1.4.1 by autospec * Tue Jul 27 2004 Davide Madrisan 1.3.8-2qilnx - update to 1.3.8 * Fri May 14 2004 Davide Madrisan 1.3.7-1qilnx - new version rebuild * Fri Feb 27 2004 Davide Madrisan 1.3.6-1qilnx - new version rebuild * Tue Jul 22 2003 Silvan Calarco 1.3.2-1qilnx - first build for doxygen