gtk-doc-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. %define name gtk-doc
  2. %define ver 1.18
  3. %define rel 2%{_dist_release}
  4. Summary: API documentation generation tool for GTK+ and GNOME
  5. Summary(ja): GTK+/GNOME 用 API ドキュメント生成ツール
  6. Name: %{name}
  7. Version: %{ver}
  8. Release: %{rel}
  9. License: LGPL
  10. Group: Development/Tools
  11. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.18/%{name}-%{version}.tar.xz
  12. Source1: filter-requires-gtk-doc.sh
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. URL: http://www.gtk.org/gtk-doc/
  15. BuildArch: noarch
  16. BuildRequires: yelp-tools
  17. BuildRequires: docbook-utils
  18. BuildRequires: docbook-style-xsl
  19. BuildRequires: openjade
  20. BuildRequires: libxslt
  21. BuildRequires: vim
  22. Requires: docbook-utils
  23. Requires: docbook-style-xsl
  24. Requires: openjade
  25. Requires: libxslt
  26. Requires: vim
  27. Requires: diffutils
  28. Patch0: gtk-doc-1.18-git20120924.patch
  29. #define __find_requires %{SOURCE1}
  30. %define __perl_requires %{SOURCE1}
  31. Vendor: Project Vine
  32. Distribution: Vine Linux
  33. Packager: daisuke, Takemikaduchi
  34. %description
  35. gtk-doc is a tool for generating API reference documentation.
  36. It is used for generating the documentation for GTK+, GLib
  37. and GNOME.
  38. %prep
  39. %setup -q
  40. rm COPYING
  41. %patch0 -p1
  42. # Move this doc file to avoid name collisions
  43. mv doc/README doc/README.docs
  44. %build
  45. autoreconf -if
  46. %configure \
  47. --disable-scrollkeeper \
  48. --docdir=%{_datadir}/gnome/help/gtk-doc-manual \
  49. --with-highlight=vim
  50. make
  51. %install
  52. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  53. make install DESTDIR=$RPM_BUILD_ROOT
  54. rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
  55. #find_lang %{name}
  56. %clean
  57. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  58. %files
  59. %defattr(-, root, root)
  60. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README doc/* examples
  61. %{_bindir}/*
  62. %{_datadir}/aclocal/gtk-doc.m4
  63. %{_datadir}/gtk-doc
  64. %{_datadir}/help
  65. %{_datadir}/sgml/gtk-doc
  66. %{_datadir}/pkgconfig/*.pc
  67. %changelog
  68. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18-2
  69. - add Patch0 (gtk-doc-1.18-git20120924.patch)
  70. - add BuildRequires: yelp-tools
  71. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18-1
  72. - new upstream release
  73. * Mon Jun 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.17-3
  74. - R/BR: vim instead of vim-tiny
  75. * Sun May 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.17-2
  76. - use vim for highlighting instead of source-highlight
  77. - drop BR:/R: source-highlight
  78. - add BR:R: vim-tiny
  79. * Sun Apr 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.17-1
  80. - new upstream release
  81. * Wed Jan 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16-1
  82. - new upstream release
  83. * Sun Oct 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.15-3
  84. - add BuildRequires: and Requires: source-highlight
  85. * Mon Oct 11 2010 Shu KONNO <owa@bg.wakwak.com> 1.15-2
  86. - rebuilt with rpm-4.8.1 for pkg-config
  87. - s/__find_requires/__perl_requires/
  88. * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.15-1
  89. - new upstream release
  90. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14-1
  91. - new upstream release
  92. * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.13-1
  93. - new upstream release
  94. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.11-1
  95. - new upstream release
  96. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1vl5
  97. - new upstream release
  98. - added --docdir
  99. * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
  100. - new upstream release
  101. - added SOURCE1 for removing dependancy
  102. - added %post and %postun section
  103. - added Requires(post,postun): scrollkeeper
  104. * Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl1
  105. - new upstream release
  106. * Tue Apr 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-1vl1
  107. - new upstream release
  108. - added some files %file section (based on Fedora 1.2-1)
  109. - s/Copyright/License/
  110. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1
  111. - new upstream release
  112. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
  113. - new upstream release
  114. * Sat Sep 28 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9-5vl1
  115. - Based on Redhat, changed summary and description
  116. * Thu May 30 2002 Chip Turner <cturner@redhat.com>
  117. - add dependency filter for bogus perl dependencies
  118. * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
  119. - update to 0.9
  120. * Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.5.9-1vl1
  121. - Based on RH srpms.
  122. * Thu May 17 2001 Havoc Pennington <hp@redhat.com>
  123. - upgrade to a CVS snapshot
  124. - remove patches applied upstream
  125. * Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com>
  126. - Replace docbook, sgml-common, and stylesheets requirements with
  127. docbook-utils requirement.
  128. - Use public identifier in custom stylesheets.
  129. * Wed Apr 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl2
  130. - Added a build depends.
  131. * Tue Jan 2 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl1
  132. - Build for Vine
  133. * Wed Nov 15 2000 John Gotts <jgotts@linuxsavvy.com>
  134. - Minor updates for 0.4.
  135. * Thu Aug 26 1999 John E. Gotts <jgotts@engin.umich.edu>
  136. - Created spec file.