devhelp-vl.spec 7.2 KB

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