123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364 |
- # 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 <tomop@teamgedoh.net> - 1.9.1-1
- - new upstream release.
- - dropped all patches.
- - imported Patch1-4 from rawhide.
- * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.6-2
- - rebuild with gcc-5.4.0
- * Tue Jan 14 2014 NAKAMURA Kenta <kenta@vinelinux.org> - 1.8.6-1
- - new upstream release
- * Wed Nov 02 2011 NAKAMURA Kenta <kenta@vinelinux.org> - 1.7.5.1-1
- - new upstream release
- - updated Patch0 and 1
- * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.6.1-1
- - new upstream release
- - added Patch0, 1 from Fedora
- * Mon Aug 24 2009 Than Ngo <than@redhat.com> - 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 <akiyama@yb3.so-net.ne.jp> 1.5.7.1-1
- - new upstream release
- - disable doxywizard
- * Thu May 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.5.6-1
- - new upstream release
- * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.5.5-0vl1
- - new upstream release
- * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.5.2-0vl1
- - new upstream release
- * Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.7-0vl3
- - rebuild with libstdc++34
- * Sun Oct 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.7-0vl2
- - add BuildRequires: flex
- * Fri Sep 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.7-0vl1
- - new upstream release
- - changed doxygen-doxywizard Group to Applications/Development
- * Sat Aug 05 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.4.5-0vl2
- - added doxygen-1.4.5-libdir.patch for x86_64 and ppc64 archtecture
- * Tue Nov 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.5-0vl1
- - new upstream release
- * Fri Jul 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.4-0vl1
- - new upstream release
- - update Requires
- * Wed Jun 1 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.3-0vl2
- - build for VineSeed
- * Wed Jun 1 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 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 <akiyama@yb3.so-net.ne.jp> 1.4.1-0vl1
- - new upstream release
- - BuildPrereq: qt-devel => 3.2
- * Tue Dec 7 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3.9.1-0vl1
- - source upgrade
- * Sun May 16 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3.7-0vl1
- - source upgrade
- - remove %%{_bindir}/doxysearch from %%files
- - remove about Vine2.6
- * Tue Dec 16 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3.3-0vl2
- - build for VineSeed
- * Tue Dec 16 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 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 <akiyama@yb3.so-net.ne.jp> 1.3.1-0vl1
- - source upgrade
- * Sat May 17 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3-0vl1
- - source upgrade
- * Wed Jan 8 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3-0vl0.3
- - source upgrade to 1.3-rc3
- - enable %%configure --with-doxywizard
- * Wed Jan 8 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 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 <akiyama@yb3.so-net.ne.jp> 1.2.18-0vl1
- - source upgrade
- - build with new toolchains
- - delete Patch2
- * Mon Aug 5 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.17-0vl1
- - source upgrade
- - build with qt-3.0.5
- * Sun Jun 9 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.2.16-0vl1
- - source update to 1.2.16
- * Thu May 09 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.2.15-0vl1
- - source update to 1.2.15
- * Sat Mar 23 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.2.14-3vl1
- - build for VineSeed
- - delete Epoch
- * Fri Mar 8 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.13-3
- - rebuild against qt 3.0.2
- * Tue Feb 26 2002 Than Ngo <than@redhat.com> 1.2.14-2
- - rebuild against qt 2.3.2
- * Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.14-1
- - 1.2.14
- * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- - automated rebuild
- * Sun Jan 06 2002 Than Ngo <than@redhat.com> 1.2.13.1-1
- - update to 1.2.13.1
- - fixed build doxywizard with qt3
- * Sun Dec 30 2001 Jeff Johnson <jbj@redhat.com> 1.2.13-1
- - update to 1.2.13
- * Sun Nov 18 2001 Than Ngo <than@redhat.com> 1.2.12-1
- - update to 1.2.12
- - s/Copyright/License
- * Wed Sep 12 2001 Tim Powers <timp@redhat.com>
- - rebuild with new gcc and binutils
- * Wed Jun 13 2001 Than Ngo <than@redhat.com>
- - update tp 1.2.8.1
- - make doxywizard as separat package
- - fix to use install as default
- * Tue Jun 05 2001 Than Ngo <than@redhat.com>
- - update to 1.2.8
- * Tue May 01 2001 Than Ngo <than@redhat.com>
- - update to 1.2.7
- - clean up specfile
- - patch to use RPM_OPT_FLAG
- * Wed Mar 14 2001 Jeff Johnson <jbj@redhat.com>
- - update to 1.2.6
- * Wed Feb 28 2001 Trond Eivind Glomsrød <teg@redhat.com>
- - rebuild
- * Tue Dec 26 2000 Than Ngo <than@redhat.com>
- - update to 1.2.4
- - remove excludearch ia64
- - bzip2 sources
- * Mon Dec 11 2000 Than Ngo <than@redhat.com>
- - rebuild with the fixed fileutils
- * Mon Oct 30 2000 Jeff Johnson <jbj@redhat.com>
- - update to 1.2.3.
- * Sun Oct 8 2000 Jeff Johnson <jbj@redhat.com>
- - update to 1.2.2.
- - enable doxywizard.
- * Sat Aug 19 2000 Preston Brown <pbrown@redhat.com>
- - 1.2.1 is latest stable, so we upgrade before Winston is released.
- * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- - automatic rebuild
- * Tue Jul 4 2000 Jakub Jelinek <jakub@redhat.com>
- - Rebuild with new C++
- * Fri Jun 30 2000 Florian La Roche <laroche@redhat.de>
- - fix QTDIR detection
- * Fri Jun 09 2000 Preston Brown <pbrown@redhat.com>
- - compile on x86 w/o optimization, revert when compiler fixed!!
- * Wed Jun 07 2000 Preston Brown <pbrown@redhat.com>
- - use newer RPM macros
- * Tue Jun 6 2000 Jeff Johnson <jbj@redhat.com>
- - add to distro.
- * Tue May 9 2000 Tim Powers <timp@redhat.com>
- - rebuilt for 7.0
- * Wed Feb 2 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- - recompile with current Qt (2.1.0/1.45)
- * Wed Jan 5 2000 Jeff Johnson <jbj@redhat.com>
- - update to 1.0.0.
- - recompile with qt-2.0.1 if available.
- - relocatable package.
- * Mon Nov 8 1999 Tim Powers <timp@redhat.com>
- -updated to 0.49-991106
- * Tue Jul 13 1999 Tim Powers <timp@redhat.com>
- - updated source
- - cleaned up some stuff in the spec file
- * Thu Apr 22 1999 Jeff Johnson <jbj@redhat.com>
- - Create Power Tools 6.0 package.
|