# Set this to "1" if you want to build doxywizard %define wizard 1 Summary: A documentation system for C/C++. Summary(ja): C/C++ 向けドキュメンテーションシステム Name: doxygen Version: 1.9.1 Release: 1%{?_dist_release} Group: programming Vendor: Project Vine Distribution: Vine Linux License: GPLv2 URL: https://www.doxygen.nl/ Source0: https://doxygen.nl/files/%{name}-%{version}.src.tar.gz # this icon is part of kdesdk Source1: doxywizard.desktop # these icons are part of doxygen and converted from doxywizard.ico Source2: doxywizard-icons.tar.xz # upstream patches Patch1: doxgen-1.9.1-crash-when-parsing-config-file.patch Patch2: doxgen-1.9.1-crash-when-parsing-config-file-part2.patch Patch3: doxygen-1.9.1-Coverity_issues.patch Patch4: doxygen-1.9.1-crash_in_docparser.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: perl texlive texlive-collection-fontutils ghostscript gettext BuildRequires: flex bison BuildRequires: desktop-file-utils BuildRequires: graphviz BuildRequires: python3 BuildRequires: cmake %if %{wizard} BuildRequires: qt5-qtbase-devel %endif Requires: graphviz %description Doxygen can generate an online class browser (in HTML) and/or a reference manual (in LaTeX) from a set of documented source files. The documentation is extracted directly from the sources. Doxygen can also be configured to extract the code structure from undocumented source files. %package doxywizard Summary: A GUI for creating and editing configuration files. Group: programming Requires: %{name} = %{version}-%{release} %description doxywizard Doxywizard is a GUI for creating and editing configuration files that are used by doxygen. %debug_package %prep %autosetup -p1 -a2 # convert into utf-8 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 %build %cmake \ -DPYTHON_EXECUTABLE=%{_bindir}/python3 \ -Duse_libclang=OFF \ -Dbuild_doc=OFF \ %if %{wizard} -Dbuild_wizard=ON \ %else -Dbuild_wizard=OFF \ %endif -Dbuild_xmlparser=ON \ -Dbuild_search=OFF \ -DMAN_INSTALL_DIR=%{_mandir}/man1 \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DBUILD_SHARED_LIBS=OFF make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # install icons icondir=%{buildroot}%{_datadir}/icons/hicolor mkdir -m755 -p $icondir/{16x16,32x32,48x48,128x128}/apps install -m644 -p -D doxywizard-6.png $icondir/16x16/apps/doxywizard.png install -m644 -p -D doxywizard-5.png $icondir/32x32/apps/doxywizard.png install -m644 -p -D doxywizard-4.png $icondir/48x48/apps/doxywizard.png install -m644 -p -D doxywizard-3.png $icondir/128x128/apps/doxywizard.png # install man pages mkdir -p %{buildroot}/%{_mandir}/man1 cp doc/*.1 %{buildroot}/%{_mandir}/man1/ %if 0%{?_module_build} rm -f %{buildroot}/%{_mandir}/man1/doxywizard.1* %endif %if "x%{?xapian_core_support}" == "xOFF" rm -f %{buildroot}/%{_mandir}/man1/doxyindexer.1* %{buildroot}/%{_mandir}/man1/d oxysearch.1* %endif # remove duplicate rm -rf %{buildroot}/%{_docdir}/packages %if 0%{?wizard} desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1} %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %license LICENSE %doc LANGUAGE.HOWTO README.md %{_bindir}/doxygen %{_mandir}/man1/doxygen.* %exclude %{_mandir}/man1/doxyindexer.* %exclude %{_mandir}/man1/doxysearch.* %if %{wizard} %files doxywizard %defattr(-,root,root) %{_bindir}/doxywizard %{_mandir}/man1/doxywizard.* %{_datadir}/applications/doxywizard.desktop %endif %{_datadir}/icons/hicolor/*/apps/doxywizard.png %changelog * Sat Feb 20 2021 Tomohiro "Tomo-p" KATO - 1.9.1-1 - new upstream release. - dropped all patches. - imported Patch1-4 from rawhide. * Sat Jul 09 2016 Yoji TOYODA - 1.8.6-2 - rebuild with gcc-5.4.0 * Tue Jan 14 2014 NAKAMURA Kenta - 1.8.6-1 - new upstream release * Wed Nov 02 2011 NAKAMURA Kenta - 1.7.5.1-1 - new upstream release - updated Patch0 and 1 * Mon Oct 19 2009 Ryoichi INAGAKI - 1.6.1-1 - new upstream release - added Patch0, 1 from Fedora * Mon Aug 24 2009 Than Ngo - 1.6.0-2 - fix #516339, allow to enable/disable timstamp to avoid the multilib issue HTMP_TIMESTAMP is disable by default - enabled doxywizard * Tue Dec 9 2008 AKIYAMA Kazuhito 1.5.7.1-1 - new upstream release - disable doxywizard * Thu May 29 2008 AKIYAMA Kazuhito 1.5.6-1 - new upstream release * Thu Feb 21 2008 AKIYAMA Kazuhito 1.5.5-0vl1 - new upstream release * Mon May 14 2007 AKIYAMA Kazuhito 1.5.2-0vl1 - new upstream release * Thu May 10 2007 Daisuke SUZUKI 1.4.7-0vl3 - rebuild with libstdc++34 * Sun Oct 15 2006 KAZUKI SHIMURA 1.4.7-0vl2 - add BuildRequires: flex * Fri Sep 29 2006 Ryoichi INAGAKI 1.4.7-0vl1 - new upstream release - changed doxygen-doxywizard Group to Applications/Development * Sat Aug 05 2006 NAKAMURA Kenta 1.4.5-0vl2 - added doxygen-1.4.5-libdir.patch for x86_64 and ppc64 archtecture * Tue Nov 22 2005 AKIYAMA Kazuhito 1.4.5-0vl1 - new upstream release * Fri Jul 22 2005 AKIYAMA Kazuhito 1.4.4-0vl1 - new upstream release - update Requires * Wed Jun 1 2005 AKIYAMA Kazuhito 1.4.3-0vl2 - build for VineSeed * Wed Jun 1 2005 AKIYAMA Kazuhito 1.4.3-0vl1 - new upstream release - build for Vine3.1 - LANG=C when build and install - add man pages * Mon Jan 24 2005 AKIYAMA Kazuhito 1.4.1-0vl1 - new upstream release - BuildPrereq: qt-devel => 3.2 * Tue Dec 7 2004 AKIYAMA Kazuhito 1.3.9.1-0vl1 - source upgrade * Sun May 16 2004 AKIYAMA Kazuhito 1.3.7-0vl1 - source upgrade - remove %%{_bindir}/doxysearch from %%files - remove about Vine2.6 * Tue Dec 16 2003 AKIYAMA Kazuhito 1.3.3-0vl2 - build for VineSeed * Tue Dec 16 2003 AKIYAMA Kazuhito 1.3.3-0vl1 - source upgrade - add BuildPrereq: graphviz and Requires: graphviz - change spec to build both VineSeed and Vine2.5/2.6 * Sat May 31 2003 AKIYAMA Kazuhito 1.3.1-0vl1 - source upgrade * Sat May 17 2003 AKIYAMA Kazuhito 1.3-0vl1 - source upgrade * Wed Jan 8 2003 AKIYAMA Kazuhito 1.3-0vl0.3 - source upgrade to 1.3-rc3 - enable %%configure --with-doxywizard * Wed Jan 8 2003 AKIYAMA Kazuhito 1.3-0vl0.1 - source upgrade to 1.3-rc2 - add BuildPrereq: libpng-devel - add Requires: XFree86-gl libexpat to %%package doxywizard - add LICENSE to %%docs - disable %%configure --with-doxywizard * Fri Jan 3 2003 AKIYAMA Kazuhito 1.2.18-0vl1 - source upgrade - build with new toolchains - delete Patch2 * Mon Aug 5 2002 AKIYAMA Kazuhito 1.2.17-0vl1 - source upgrade - build with qt-3.0.5 * Sun Jun 9 2002 AKIYAMA Kazuhito 1.2.16-0vl1 - source update to 1.2.16 * Thu May 09 2002 AKIYAMA Kazuhito 1.2.15-0vl1 - source update to 1.2.15 * Sat Mar 23 2002 AKIYAMA Kazuhito 1.2.14-3vl1 - build for VineSeed - delete Epoch * Fri Mar 8 2002 Bernhard Rosenkraenzer 1.2.13-3 - rebuild against qt 3.0.2 * Tue Feb 26 2002 Than Ngo 1.2.14-2 - rebuild against qt 2.3.2 * Tue Feb 19 2002 Bernhard Rosenkraenzer 1.2.14-1 - 1.2.14 * Wed Jan 09 2002 Tim Powers - automated rebuild * Sun Jan 06 2002 Than Ngo 1.2.13.1-1 - update to 1.2.13.1 - fixed build doxywizard with qt3 * Sun Dec 30 2001 Jeff Johnson 1.2.13-1 - update to 1.2.13 * Sun Nov 18 2001 Than Ngo 1.2.12-1 - update to 1.2.12 - s/Copyright/License * Wed Sep 12 2001 Tim Powers - rebuild with new gcc and binutils * Wed Jun 13 2001 Than Ngo - update tp 1.2.8.1 - make doxywizard as separat package - fix to use install as default * Tue Jun 05 2001 Than Ngo - update to 1.2.8 * Tue May 01 2001 Than Ngo - update to 1.2.7 - clean up specfile - patch to use RPM_OPT_FLAG * Wed Mar 14 2001 Jeff Johnson - update to 1.2.6 * Wed Feb 28 2001 Trond Eivind Glomsrød - rebuild * Tue Dec 26 2000 Than Ngo - update to 1.2.4 - remove excludearch ia64 - bzip2 sources * Mon Dec 11 2000 Than Ngo - rebuild with the fixed fileutils * Mon Oct 30 2000 Jeff Johnson - update to 1.2.3. * Sun Oct 8 2000 Jeff Johnson - update to 1.2.2. - enable doxywizard. * Sat Aug 19 2000 Preston Brown - 1.2.1 is latest stable, so we upgrade before Winston is released. * Wed Jul 12 2000 Prospector - automatic rebuild * Tue Jul 4 2000 Jakub Jelinek - Rebuild with new C++ * Fri Jun 30 2000 Florian La Roche - fix QTDIR detection * Fri Jun 09 2000 Preston Brown - compile on x86 w/o optimization, revert when compiler fixed!! * Wed Jun 07 2000 Preston Brown - use newer RPM macros * Tue Jun 6 2000 Jeff Johnson - add to distro. * Tue May 9 2000 Tim Powers - rebuilt for 7.0 * Wed Feb 2 2000 Bernhard Rosenkraenzer - recompile with current Qt (2.1.0/1.45) * Wed Jan 5 2000 Jeff Johnson - update to 1.0.0. - recompile with qt-2.0.1 if available. - relocatable package. * Mon Nov 8 1999 Tim Powers -updated to 0.49-991106 * Tue Jul 13 1999 Tim Powers - updated source - cleaned up some stuff in the spec file * Thu Apr 22 1999 Jeff Johnson - Create Power Tools 6.0 package.