doxygen-vl.spec 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. # Set this to "1" if you want to build doxywizard
  2. %define wizard 1
  3. Summary: A documentation system for C/C++.
  4. Summary(ja): C/C++ 向けドキュメンテーションシステム
  5. Name: doxygen
  6. Version: 1.7.5.1
  7. Release: 1%{?_dist_release}
  8. Source0: ftp://ftp.stack.nl/pub/users/dimitri/%{name}-%{version}.src.tar.gz
  9. Patch0: doxygen-1.7.1-config.patch
  10. Patch1: doxygen-1.7.5-timestamp.patch
  11. Group: Development/Tools
  12. License: GPLv2
  13. URL: http://www.stack.nl/~dimitri/doxygen/
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: perl texlive texlive-collection-fontutils ghostscript gettext
  16. BuildRequires: flex bison
  17. %if %{wizard}
  18. BuildRequires: qt4-devel => 4.4
  19. %endif
  20. #Requires: libgcc libstdc++34 graphviz
  21. %description
  22. Doxygen can generate an online class browser (in HTML) and/or a
  23. reference manual (in LaTeX) from a set of documented source files. The
  24. documentation is extracted directly from the sources. Doxygen can
  25. also be configured to extract the code structure from undocumented
  26. source files.
  27. %package doxywizard
  28. Summary: A GUI for creating and editing configuration files.
  29. Group: Applications/Development
  30. Requires: %{name} = %{version}-%{release}
  31. %description doxywizard
  32. Doxywizard is a GUI for creating and editing configuration files that
  33. are used by doxygen.
  34. %prep
  35. %setup -q -n %{name}-%{version}
  36. %patch0 -p1 -b .config
  37. %patch1 -p1 -b .timestamp
  38. %build
  39. unset QTDIR
  40. export OLD_PO_FILE_INPUT=yes
  41. ./configure \
  42. --prefix %{_prefix} \
  43. --shared \
  44. %if %{wizard}
  45. --with-doxywizard \
  46. %endif
  47. --release
  48. make %{?_smp_mflags} all
  49. make docs
  50. %install
  51. rm -rf $RPM_BUILD_ROOT
  52. export OLD_PO_FILE_INPUT=yes
  53. make install DESTDIR=$RPM_BUILD_ROOT
  54. %if !%{wizard}
  55. rm $RPM_BUILD_ROOT%{_mandir}/man1/doxywizard.*
  56. %endif
  57. # convert into utf-8
  58. iconv --from=ISO-8859-1 --to=UTF-8 LANGUAGE.HOWTO > LANGUAGE.HOWTO.new
  59. touch -r LANGUAGE.HOWTO LANGUAGE.HOWTO.new
  60. mv LANGUAGE.HOWTO.new LANGUAGE.HOWTO
  61. sed -i -e "s|#!perl|#!/usr/bin/perl|" examples/tag/html/installdox
  62. %clean
  63. rm -rf $RPM_BUILD_ROOT
  64. %files
  65. %defattr(-,root,root)
  66. %doc LANGUAGE.HOWTO LICENSE README examples html
  67. %{_bindir}/doxygen
  68. %{_bindir}/doxytag
  69. %{_mandir}/man1/doxygen.*
  70. %{_mandir}/man1/doxytag.*
  71. %if %{wizard}
  72. %files doxywizard
  73. %defattr(-,root,root)
  74. %{_bindir}/doxywizard
  75. %{_mandir}/man1/doxywizard.*
  76. %endif
  77. %changelog
  78. * Wed Nov 02 2011 NAKAMURA Kenta <kenta@vinelinux.org> - 1.7.5.1-1
  79. - new upstream release
  80. - updated Patch0 and 1
  81. * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.6.1-1
  82. - new upstream release
  83. - added Patch0, 1 from Fedora
  84. * Mon Aug 24 2009 Than Ngo <than@redhat.com> - 1.6.0-2
  85. - fix #516339, allow to enable/disable timstamp to avoid the multilib issue
  86. HTMP_TIMESTAMP is disable by default
  87. - enabled doxywizard
  88. * Tue Dec 9 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.5.7.1-1
  89. - new upstream release
  90. - disable doxywizard
  91. * Thu May 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.5.6-1
  92. - new upstream release
  93. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.5.5-0vl1
  94. - new upstream release
  95. * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.5.2-0vl1
  96. - new upstream release
  97. * Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.7-0vl3
  98. - rebuild with libstdc++34
  99. * Sun Oct 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.7-0vl2
  100. - add BuildRequires: flex
  101. * Fri Sep 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.7-0vl1
  102. - new upstream release
  103. - changed doxygen-doxywizard Group to Applications/Development
  104. * Sat Aug 05 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.4.5-0vl2
  105. - added doxygen-1.4.5-libdir.patch for x86_64 and ppc64 archtecture
  106. * Tue Nov 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.5-0vl1
  107. - new upstream release
  108. * Fri Jul 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.4-0vl1
  109. - new upstream release
  110. - update Requires
  111. * Wed Jun 1 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.3-0vl2
  112. - build for VineSeed
  113. * Wed Jun 1 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.3-0vl1
  114. - new upstream release
  115. - build for Vine3.1
  116. - LANG=C when build and install
  117. - add man pages
  118. * Mon Jan 24 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.1-0vl1
  119. - new upstream release
  120. - BuildPrereq: qt-devel => 3.2
  121. * Tue Dec 7 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3.9.1-0vl1
  122. - source upgrade
  123. * Sun May 16 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3.7-0vl1
  124. - source upgrade
  125. - remove %%{_bindir}/doxysearch from %%files
  126. - remove about Vine2.6
  127. * Tue Dec 16 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3.3-0vl2
  128. - build for VineSeed
  129. * Tue Dec 16 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3.3-0vl1
  130. - source upgrade
  131. - add BuildPrereq: graphviz and Requires: graphviz
  132. - change spec to build both VineSeed and Vine2.5/2.6
  133. * Sat May 31 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3.1-0vl1
  134. - source upgrade
  135. * Sat May 17 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3-0vl1
  136. - source upgrade
  137. * Wed Jan 8 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3-0vl0.3
  138. - source upgrade to 1.3-rc3
  139. - enable %%configure --with-doxywizard
  140. * Wed Jan 8 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3-0vl0.1
  141. - source upgrade to 1.3-rc2
  142. - add BuildPrereq: libpng-devel
  143. - add Requires: XFree86-gl libexpat to %%package doxywizard
  144. - add LICENSE to %%docs
  145. - disable %%configure --with-doxywizard
  146. * Fri Jan 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.18-0vl1
  147. - source upgrade
  148. - build with new toolchains
  149. - delete Patch2
  150. * Tue Aug 5 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.17-0vl1
  151. - source upgrade
  152. - build with qt-3.0.5
  153. * Sun Jun 9 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.2.16-0vl1
  154. - source update to 1.2.16
  155. * Thu May 09 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.2.15-0vl1
  156. - source update to 1.2.15
  157. * Sat Mar 23 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.2.14-3vl1
  158. - build for VineSeed
  159. - delete Epoch
  160. * Fri Mar 8 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.13-3
  161. - rebuild against qt 3.0.2
  162. * Tue Feb 26 2002 Than Ngo <than@redhat.com> 1.2.14-2
  163. - rebuild against qt 2.3.2
  164. * Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.14-1
  165. - 1.2.14
  166. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  167. - automated rebuild
  168. * Sun Jan 06 2002 Than Ngo <than@redhat.com> 1.2.13.1-1
  169. - update to 1.2.13.1
  170. - fixed build doxywizard with qt3
  171. * Sun Dec 30 2001 Jeff Johnson <jbj@redhat.com> 1.2.13-1
  172. - update to 1.2.13
  173. * Sun Nov 18 2001 Than Ngo <than@redhat.com> 1.2.12-1
  174. - update to 1.2.12
  175. - s/Copyright/License
  176. * Wed Sep 12 2001 Tim Powers <timp@redhat.com>
  177. - rebuild with new gcc and binutils
  178. * Wed Jun 13 2001 Than Ngo <than@redhat.com>
  179. - update tp 1.2.8.1
  180. - make doxywizard as separat package
  181. - fix to use install as default
  182. * Tue Jun 05 2001 Than Ngo <than@redhat.com>
  183. - update to 1.2.8
  184. * Tue May 01 2001 Than Ngo <than@redhat.com>
  185. - update to 1.2.7
  186. - clean up specfile
  187. - patch to use RPM_OPT_FLAG
  188. * Wed Mar 14 2001 Jeff Johnson <jbj@redhat.com>
  189. - update to 1.2.6
  190. * Wed Feb 28 2001 Trond Eivind Glomsrød <teg@redhat.com>
  191. - rebuild
  192. * Tue Dec 26 2000 Than Ngo <than@redhat.com>
  193. - update to 1.2.4
  194. - remove excludearch ia64
  195. - bzip2 sources
  196. * Mon Dec 11 2000 Than Ngo <than@redhat.com>
  197. - rebuild with the fixed fileutils
  198. * Mon Oct 30 2000 Jeff Johnson <jbj@redhat.com>
  199. - update to 1.2.3.
  200. * Sun Oct 8 2000 Jeff Johnson <jbj@redhat.com>
  201. - update to 1.2.2.
  202. - enable doxywizard.
  203. * Sat Aug 19 2000 Preston Brown <pbrown@redhat.com>
  204. - 1.2.1 is latest stable, so we upgrade before Winston is released.
  205. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  206. - automatic rebuild
  207. * Tue Jul 4 2000 Jakub Jelinek <jakub@redhat.com>
  208. - Rebuild with new C++
  209. * Fri Jun 30 2000 Florian La Roche <laroche@redhat.de>
  210. - fix QTDIR detection
  211. * Fri Jun 09 2000 Preston Brown <pbrown@redhat.com>
  212. - compile on x86 w/o optimization, revert when compiler fixed!!
  213. * Wed Jun 07 2000 Preston Brown <pbrown@redhat.com>
  214. - use newer RPM macros
  215. * Tue Jun 6 2000 Jeff Johnson <jbj@redhat.com>
  216. - add to distro.
  217. * Tue May 9 2000 Tim Powers <timp@redhat.com>
  218. - rebuilt for 7.0
  219. * Wed Feb 2 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  220. - recompile with current Qt (2.1.0/1.45)
  221. * Wed Jan 5 2000 Jeff Johnson <jbj@redhat.com>
  222. - update to 1.0.0.
  223. - recompile with qt-2.0.1 if available.
  224. - relocatable package.
  225. * Mon Nov 8 1999 Tim Powers <timp@redhat.com>
  226. -updated to 0.49-991106
  227. * Tue Jul 13 1999 Tim Powers <timp@redhat.com>
  228. - updated source
  229. - cleaned up some stuff in the spec file
  230. * Thu Apr 22 1999 Jeff Johnson <jbj@redhat.com>
  231. - Create Power Tools 6.0 package.