gtk-doc-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. %define name gtk-doc
  2. %define ver 1.14
  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}/gtk-doc
  49. %{_datadir}/sgml/gtk-doc
  50. %{_datadir}/pkgconfig/*.pc
  51. %changelog
  52. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14-1
  53. - new upstream release
  54. * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.13-1
  55. - new upstream release
  56. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.11-1
  57. - new upstream release
  58. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1vl5
  59. - new upstream release
  60. - added --docdir
  61. * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
  62. - new upstream release
  63. - added SOURCE1 for removing dependancy
  64. - added %post and %postun section
  65. - added Requires(post,postun): scrollkeeper
  66. * Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl1
  67. - new upstream release
  68. * Tue Apr 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-1vl1
  69. - new upstream release
  70. - added some files %file section (based on Fedora 1.2-1)
  71. - s/Copyright/License/
  72. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1
  73. - new upstream release
  74. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
  75. - new upstream release
  76. * Sat Sep 28 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9-5vl1
  77. - Based on Redhat, changed summary and description
  78. * Thu May 30 2002 Chip Turner <cturner@redhat.com>
  79. - add dependency filter for bogus perl dependencies
  80. * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
  81. - update to 0.9
  82. * Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.5.9-1vl1
  83. - Based on RH srpms.
  84. * Thu May 17 2001 Havoc Pennington <hp@redhat.com>
  85. - upgrade to a CVS snapshot
  86. - remove patches applied upstream
  87. * Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com>
  88. - Replace docbook, sgml-common, and stylesheets requirements with
  89. docbook-utils requirement.
  90. - Use public identifier in custom stylesheets.
  91. * Wed Apr 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl2
  92. - Added a build depends.
  93. * Tue Jan 2 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl1
  94. - Build for Vine
  95. * Wed Nov 15 2000 John Gotts <jgotts@linuxsavvy.com>
  96. - Minor updates for 0.4.
  97. * Thu Aug 26 1999 John E. Gotts <jgotts@engin.umich.edu>
  98. - Created spec file.