gtk-doc-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. %bcond_with test
  2. Name: gtk-doc
  3. Summary: API documentation generation tool for GTK+ and GNOME
  4. Summary(ja): GTK+/GNOME 用 API ドキュメント生成ツール
  5. Version: 1.33.2
  6. Release: 1%{_dist_release}
  7. Group: programming
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. Packager: daisuke
  11. License: LGPL
  12. URL: https://www.gtk.org/gtk-doc/
  13. %global shortver %(echo %{version} | cut -d . -f 1,2)
  14. Source: https://ftp.gnome.org/pub/GNOME/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  15. Source1: filter-requires-gtk-doc.sh
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildArch: noarch
  18. BuildRequires: meson
  19. BuildRequires: yelp-tools
  20. BuildRequires: docbook-utils
  21. BuildRequires: docbook-style-xsl
  22. BuildRequires: glib2-devel
  23. BuildRequires: openjade
  24. BuildRequires: libxslt
  25. BuildRequires: vim
  26. BuildRequires: python3
  27. BuildRequires: python3-pygments
  28. BuildRequires: python3-lxml
  29. %if %{with test}
  30. BuildRequires: python3-parameterized
  31. %endif
  32. Requires: docbook-utils
  33. Requires: docbook-style-xsl
  34. Requires: glib2
  35. Requires: openjade
  36. Requires: libxslt
  37. Requires: vim
  38. Requires: diffutils
  39. Requires: python3-pygments
  40. #define __find_requires %{SOURCE1}
  41. %define __perl_requires %{SOURCE1}
  42. %description
  43. gtk-doc is a tool for generating API reference documentation.
  44. It is used for generating the documentation for GTK+, GLib
  45. and GNOME.
  46. %global debug_package %{nil}
  47. %prep
  48. %setup -q
  49. # Move this doc file to avoid name collisions
  50. mv doc/README doc/README.docs
  51. %build
  52. %meson
  53. %meson_build
  54. %install
  55. %meson_install
  56. sed -i -e "s|^pkg_config = .*$|pkg_config = '/usr/bin/pkg-config'|" %{buildroot}/%{_datadir}/gtk-doc/python/gtkdoc/config.py
  57. %if %{with test}
  58. %check
  59. %meson_test
  60. %endif
  61. %files
  62. %defattr(-, root, root)
  63. %license COPYING
  64. %doc AUTHORS ChangeLog NEWS README doc/* examples
  65. %{_bindir}/*
  66. %{_datadir}/aclocal/gtk-doc.m4
  67. %{_datadir}/gtk-doc
  68. %dir %{_datadir}/help
  69. %dir %{_datadir}/help/*
  70. %{_datadir}/help/*/gtk-doc-manual
  71. %{_datadir}/pkgconfig/*.pc
  72. %dir %{_libdir}/cmake
  73. %{_libdir}/cmake/GtkDoc
  74. %changelog
  75. * Sun Mar 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.33-1
  76. - new upstream release.
  77. * Sat Feb 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.32-3
  78. - added R:python3-pygments.
  79. * Thu Oct 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.32-2
  80. - fixed path of pkg-config for i686.
  81. * Sun Oct 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.32-1
  82. - new upstream release.
  83. * Thu Oct 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.24-1
  84. - new upstream release
  85. * Thu May 14 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.22-1
  86. - new upstream release
  87. * Wed Aug 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.21-1
  88. - new upstream release
  89. - remove Patch0 (gtk-doc-1.20-perl-5.12.x.patch)
  90. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.20-1
  91. - new upstream release
  92. - add Patch0 (gtk-doc-1.20-perl-5.12.x.patch)
  93. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.19-2
  94. - rebuild with VineSeed environment
  95. * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.19-1
  96. - new upstream release
  97. - remove Patch0 (gtk-doc-1.18-git20120924.patch)
  98. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18-2
  99. - add Patch0 (gtk-doc-1.18-git20120924.patch)
  100. - add BuildRequires: yelp-tools
  101. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18-1
  102. - new upstream release
  103. * Mon Jun 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.17-3
  104. - R/BR: vim instead of vim-tiny
  105. * Sun May 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.17-2
  106. - use vim for highlighting instead of source-highlight
  107. - drop BR:/R: source-highlight
  108. - add BR:R: vim-tiny
  109. * Sun Apr 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.17-1
  110. - new upstream release
  111. * Wed Jan 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16-1
  112. - new upstream release
  113. * Sun Oct 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.15-3
  114. - add BuildRequires: and Requires: source-highlight
  115. * Mon Oct 11 2010 Shu KONNO <owa@bg.wakwak.com> 1.15-2
  116. - rebuilt with rpm-4.8.1 for pkg-config
  117. - s/__find_requires/__perl_requires/
  118. * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.15-1
  119. - new upstream release
  120. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14-1
  121. - new upstream release
  122. * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.13-1
  123. - new upstream release
  124. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.11-1
  125. - new upstream release
  126. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1vl5
  127. - new upstream release
  128. - added --docdir
  129. * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
  130. - new upstream release
  131. - added SOURCE1 for removing dependancy
  132. - added %post and %postun section
  133. - added Requires(post,postun): scrollkeeper
  134. * Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl1
  135. - new upstream release
  136. * Tue Apr 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-1vl1
  137. - new upstream release
  138. - added some files %file section (based on Fedora 1.2-1)
  139. - s/Copyright/License/
  140. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1
  141. - new upstream release
  142. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
  143. - new upstream release
  144. * Sat Sep 28 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9-5vl1
  145. - Based on Redhat, changed summary and description
  146. * Thu May 30 2002 Chip Turner <cturner@redhat.com>
  147. - add dependency filter for bogus perl dependencies
  148. * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
  149. - update to 0.9
  150. * Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.5.9-1vl1
  151. - Based on RH srpms.
  152. * Thu May 17 2001 Havoc Pennington <hp@redhat.com>
  153. - upgrade to a CVS snapshot
  154. - remove patches applied upstream
  155. * Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com>
  156. - Replace docbook, sgml-common, and stylesheets requirements with
  157. docbook-utils requirement.
  158. - Use public identifier in custom stylesheets.
  159. * Fri Apr 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl2
  160. - Added a build depends.
  161. * Tue Jan 2 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl1
  162. - Build for Vine
  163. * Wed Nov 15 2000 John Gotts <jgotts@linuxsavvy.com>
  164. - Minor updates for 0.4.
  165. * Thu Aug 26 1999 John E. Gotts <jgotts@engin.umich.edu>
  166. - Created spec file.