gtk-doc-vl.spec 3.7 KB

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