gtk-doc-vl.spec 3.5 KB

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