devhelp-vl.spec 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. Version: 3.20.0
  2. Release: 1%{?_dist_release}
  3. %define gtk_required 3.20.0
  4. Summary: API document browser
  5. Summary(ja): API ドキュメントブラウザ
  6. Name: devhelp
  7. License: GPL
  8. Group: Applications/Development
  9. Url: http://live.gnome.org/devhelp
  10. Source: http://ftp.gnome.org/pub/GNOME/sources/devhelp/3.20/%{name}-%{version}.tar.xz
  11. #Patch10: %{name}-0.19.1-xulrunner19.patch
  12. #Patch11: %{name}-webkit.patch
  13. #Patch: %{name}-r1265.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: yasumichi, Takemikaduchi
  18. Requires(post,postun): gtk3 >= %{gtk_required}
  19. BuildRequires: gtk3-devel >= %{gtk_required}
  20. BuildRequires: webkitgtk4-devel >= 2.6.0
  21. %description
  22. An API document browser for GNOME 3.
  23. %description -l ja
  24. GNOME3 用の API ブラウザです。
  25. %package devel
  26. Summary: Library to embed Devhelp in other applications.
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}
  29. Requires: gtk3-devel >= %{gtk_required}
  30. Requires: webkitgtk4-devel
  31. %description devel
  32. Library of Devhelp for embedding into other applications.
  33. %prep
  34. %setup -q
  35. #patch10 -p1 -b .xulrunner19
  36. #%patch -p1
  37. %build
  38. %configure --disable-static --disable-schemas-install
  39. make
  40. %install
  41. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  42. make install DESTDIR=$RPM_BUILD_ROOT
  43. # remove, not shipped
  44. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  45. rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  46. %find_lang %{name}
  47. %clean
  48. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  49. %post
  50. /sbin/ldconfig
  51. touch --no-create %{_datadir}/icons/hicolor
  52. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  53. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  54. fi
  55. %postun
  56. /sbin/ldconfig
  57. touch --no-create %{_datadir}/icons/hicolor
  58. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  59. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  60. fi
  61. if [ $1 -eq 0 ]; then
  62. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  63. fi
  64. %posttrans
  65. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  66. %files -f %{name}.lang
  67. %defattr(-, root, root)
  68. %doc AUTHORS COPYING ChangeLog NEWS README INSTALL
  69. %{_bindir}/devhelp
  70. %{_libdir}/gedit/plugins/devhelp*
  71. %{_libdir}/lib*.so.*
  72. %{_datadir}/GConf/gsettings/devhelp.convert
  73. %{_datadir}/appdata/org.gnome.Devhelp.appdata.xml
  74. %{_datadir}/applications/org.gnome.Devhelp.desktop
  75. %{_datadir}/dbus-1/services/org.gnome.Devhelp.service
  76. %{_datadir}/devhelp
  77. %{_datadir}/icons/hicolor/*/apps/*
  78. %{_datadir}/glib-2.0/schemas/org.gnome.devhelp.gschema.xml
  79. %{_mandir}/man1/devhelp.1.gz
  80. %files devel
  81. %defattr(-,root,root)
  82. %{_includedir}/*
  83. %{_libdir}/libdevhelp*.so
  84. %{_libdir}/pkgconfig/*
  85. %changelog
  86. * Sun Jul 17 2016 TOYODA <bsyamato@sea.plala.or.jp> 3.20.0-1
  87. - new upstream release
  88. * Sat Oct 31 2015 TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  89. - new upstream release
  90. - remove BuildRequires: WebKit3-gtk-devel
  91. - add BuildRequires: webkitgtk4-devel
  92. * Sun Apr 19 2015 TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  93. - new upstream release
  94. * Sun Mar 29 2015 TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  95. - new upstream release
  96. * Sun Oct 26 2014 TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
  97. - new upstream release
  98. * Sun Apr 20 2014 TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  99. - new upstream release
  100. * Sat Mar 29 2014 TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  101. - new upstream release
  102. * Sun Nov 24 2013 TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  103. - new upstream release
  104. * Sat Oct 26 2013 TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  105. - new upstream release
  106. * Sun Apr 21 2013 TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  107. - new upstream release
  108. * Wed Nov 14 2012 TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  109. - new upstream release
  110. * Sat Sep 29 2012 TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  111. - new upstream release
  112. * Sun Apr 22 2012 TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  113. - new upstream release
  114. * Thu Sep 29 2011 TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  115. - new upstream release
  116. * Mon Aug 15 2011 TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
  117. - new upstream release
  118. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  119. - new upstream release
  120. - remove %pre, %preun
  121. - fix %post, %postun
  122. - add %posttrans
  123. * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 2.30.1-2
  124. - rebuilt with rpm-4.8.1 for pkg-config
  125. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  126. - new upstream release
  127. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  128. - new upstream release
  129. * Fri Nov 06 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.28.1-2
  130. - add unique-devel to BR
  131. * Tue Nov 03 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.28.1-1
  132. - New upstream release.
  133. - remove Patch
  134. - build with WebKit-1.1.15.3
  135. - add Vendor, Distribution and Packager.
  136. * Mon Aug 10 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.23-4
  137. - update Patch(See follow url)
  138. - http://git.gnome.org/cgit/devhelp/commit/?id=af67fbedccab5044808a489a9f3a5540d42adcf2
  139. * Sat Aug 01 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.23-3
  140. - update Url.
  141. - add Patch11(http://bugzilla.gnome.org/show_bug.cgi?id=586559)
  142. * Tue Jun 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.23-2
  143. - remove unneeded Requires:
  144. - remove Requires/BuildRequires to gecko.
  145. * Tue Apr 28 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.23-1
  146. - new upstream release
  147. - added Requires: Webkit-gtk,libsoup BuildRequires: Webkit-gtk-devel,libsoup-devel
  148. * Tue Sep 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.21-1
  149. - new upstream release (dropped Patch10)
  150. - updated BuildRequires: gecko-devel-unstable instead of gecko-devel
  151. - added Requires: gecko-libs instead of firefox
  152. * Thu Jul 03 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.19.1-2
  153. - add Patch10 to build with xulrunner-1.9
  154. - add %%pre %%preun scripts to remove old gconf schemas
  155. - add %%postun to update icon cache
  156. - add unpackaged icons to %%files
  157. * Fri May 30 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.19.1
  158. - new upstream version.
  159. * Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.16.1-2
  160. - use macro for Release
  161. * Fri May 09 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org>
  162. - apply new virsioning policy.
  163. - remove *.la
  164. * Thu Jan 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.16.1-0vl2
  165. - rebuilt with libwnck 2.20.2
  166. * Fri Jan 04 2008 Shu KONNO <owa@bg.wakwak.com> 0.16.1-0vl1
  167. - new upstream version
  168. - removed icon-theme.cache in %%install section
  169. * Sun Sep 02 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-0vl1
  170. - new upstream release
  171. * Tue Apr 03 2007 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.13-0vl2
  172. - icon-theme.cache is not included.
  173. * Sun Apr 01 2007 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.13-0vl1
  174. - update to 0.13
  175. * Sun Dec 17 2006 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.12-0vl2
  176. - build devel package
  177. * Sun Oct 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-0vl1
  178. - updated to 0.12
  179. - using firefox(gecko) instead of gtkhtml2
  180. - disabled intltoolize before configure
  181. * Thu Aug 25 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.9.3-0vl2
  182. - add "--force" to intltoolize
  183. * Sun Nov 14 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.3-0vl1
  184. - build for Vine Linux
  185. - do not build devel package
  186. * Sun Jun 29 2003 Mikael Hallendal <micke@imendio.com>
  187. - Released 0.7