gtk-doc-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. %define name gtk-doc
  2. %define ver 1.17
  3. %define rel 1%{_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.17/%{name}-%{version}.tar.bz2
  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: docbook-utils, jade, libxslt, docbook-style-xsl
  17. BuildRequires: source-highlight
  18. Requires: docbook-utils, jade, libxslt, docbook-style-xsl, diffutils
  19. Requires: source-highlight
  20. Requires(post): scrollkeeper
  21. Requires(postun): scrollkeeper
  22. #define __find_requires %{SOURCE1}
  23. %define __perl_requires %{SOURCE1}
  24. %description
  25. gtk-doc is a tool for generating API reference documentation.
  26. It is used for generating the documentation for GTK+, GLib
  27. and GNOME.
  28. %prep
  29. %setup -q
  30. # Move this doc file to avoid name collisions
  31. mv doc/README doc/README.docs
  32. %build
  33. %configure --enable-public-id --docdir=%{_datadir}/gnome/help/gtk-doc-manual
  34. make
  35. %install
  36. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  37. make install DESTDIR=$RPM_BUILD_ROOT
  38. rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
  39. #find_lang %{name}
  40. %clean
  41. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  42. %post
  43. scrollkeeper-update > /dev/null 2>&1 || :
  44. %postun
  45. scrollkeeper-update > /dev/null 2>&1 || :
  46. %files
  47. %defattr(-, root, root)
  48. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README doc/* examples
  49. %{_bindir}/*
  50. %{_datadir}/aclocal/gtk-doc.m4
  51. %{_datadir}/gtk-doc
  52. %{_datadir}/sgml/gtk-doc
  53. %{_datadir}/pkgconfig/*.pc
  54. %changelog
  55. * Sun Apr 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.17-1
  56. - new upstream release
  57. * Wed Jan 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16-1
  58. - new upstream release
  59. * Sun Oct 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.15-3
  60. - add BuildRequires: and Requires: source-highlight
  61. * Mon Oct 11 2010 Shu KONNO <owa@bg.wakwak.com> 1.15-2
  62. - rebuilt with rpm-4.8.1 for pkg-config
  63. - s/__find_requires/__perl_requires/
  64. * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.15-1
  65. - new upstream release
  66. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14-1
  67. - new upstream release
  68. * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.13-1
  69. - new upstream release
  70. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.11-1
  71. - new upstream release
  72. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1vl5
  73. - new upstream release
  74. - added --docdir
  75. * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
  76. - new upstream release
  77. - added SOURCE1 for removing dependancy
  78. - added %post and %postun section
  79. - added Requires(post,postun): scrollkeeper
  80. * Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl1
  81. - new upstream release
  82. * Tue Apr 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-1vl1
  83. - new upstream release
  84. - added some files %file section (based on Fedora 1.2-1)
  85. - s/Copyright/License/
  86. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1
  87. - new upstream release
  88. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
  89. - new upstream release
  90. * Sat Sep 28 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9-5vl1
  91. - Based on Redhat, changed summary and description
  92. * Thu May 30 2002 Chip Turner <cturner@redhat.com>
  93. - add dependency filter for bogus perl dependencies
  94. * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
  95. - update to 0.9
  96. * Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.5.9-1vl1
  97. - Based on RH srpms.
  98. * Thu May 17 2001 Havoc Pennington <hp@redhat.com>
  99. - upgrade to a CVS snapshot
  100. - remove patches applied upstream
  101. * Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com>
  102. - Replace docbook, sgml-common, and stylesheets requirements with
  103. docbook-utils requirement.
  104. - Use public identifier in custom stylesheets.
  105. * Wed Apr 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl2
  106. - Added a build depends.
  107. * Tue Jan 2 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl1
  108. - Build for Vine
  109. * Wed Nov 15 2000 John Gotts <jgotts@linuxsavvy.com>
  110. - Minor updates for 0.4.
  111. * Thu Aug 26 1999 John E. Gotts <jgotts@engin.umich.edu>
  112. - Created spec file.