devhelp-vl.spec 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. Version: 3.6.1
  2. Release: 1%{?_dist_release}
  3. %define gtk_required 3.6.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.6/%{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
  18. Requires(pre,preun,post): GConf2
  19. Requires(post,postun): gtk3 >= %{gtk_required}
  20. BuildRequires: gtk3-devel >= %{gtk_required}
  21. BuildRequires: GConf2-devel >= 2.6.0
  22. BuildRequires: WebKit3-gtk-devel
  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: GConf2-devel >= 2.6.0
  33. Requires: WebKit3-gtk-devel
  34. %description devel
  35. Library of Devhelp for embedding into other applications.
  36. %prep
  37. %setup -q
  38. #patch10 -p1 -b .xulrunner19
  39. #%patch -p1
  40. %build
  41. %configure --disable-static --disable-schemas-install
  42. make
  43. %install
  44. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  45. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  46. %makeinstall PREFIX=$RPM_BUILD_ROOT%{_prefix} install
  47. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  48. # remove, not shipped
  49. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  50. rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  51. %find_lang %{name}
  52. %clean
  53. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  54. %post
  55. /sbin/ldconfig
  56. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  57. gconftool-2 --makefile-install-rule \
  58. %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null || :
  59. touch --no-create %{_datadir}/icons/hicolor
  60. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  61. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  62. fi
  63. %pre
  64. if [ "$1" -gt 1 ]; then
  65. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  66. gconftool-2 --makefile-uninstall-rule \
  67. %{_sysconfdir}/gconf/schemas/devhelp.schemas >/dev/null || :
  68. fi
  69. %preun
  70. if [ "$1" -eq 0 ]; then
  71. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  72. gconftool-2 --makefile-uninstall-rule \
  73. %{_sysconfdir}/gconf/schemas/devhelp.schemas >/dev/null || :
  74. fi
  75. %postun
  76. /sbin/ldconfig
  77. touch --no-create %{_datadir}/icons/hicolor
  78. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  79. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  80. fi
  81. %files -f %{name}.lang
  82. %defattr(-, root, root)
  83. %doc AUTHORS COPYING ChangeLog NEWS README INSTALL
  84. %config %{_sysconfdir}/gconf/schemas/*.schemas
  85. %{_bindir}/devhelp
  86. %{_libdir}/lib*.so.*
  87. %{_datadir}/applications/devhelp.desktop
  88. %{_datadir}/devhelp
  89. %{_datadir}/icons/hicolor/*/apps/devhelp.png
  90. %{_libdir}/gedit/plugins/devhelp*
  91. %files devel
  92. %defattr(-,root,root)
  93. %{_includedir}/*
  94. %{_libdir}/libdevhelp*.so
  95. %{_libdir}/pkgconfig/*
  96. %changelog
  97. * Wed Nov 14 2012 TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  98. - new upstream release
  99. * Sat Sep 29 2012 TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  100. - new upstream release
  101. * Sun Apr 22 2012 TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  102. - new upstream release
  103. * Thu Sep 29 2011 TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  104. - new upstream release
  105. * Mon Aug 15 2011 TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
  106. - new upstream release
  107. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  108. - new upstream release
  109. - remove %pre, %preun
  110. - fix %post, %postun
  111. - add %posttrans
  112. * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 2.30.1-2
  113. - rebuilt with rpm-4.8.1 for pkg-config
  114. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  115. - new upstream release
  116. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  117. - new upstream release
  118. * Fri Nov 06 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.28.1-2
  119. - add unique-devel to BR
  120. * Tue Nov 03 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.28.1-1
  121. - New upstream release.
  122. - remove Patch
  123. - build with WebKit-1.1.15.3
  124. - add Vendor, Distribution and Packager.
  125. * Mon Aug 10 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.23-4
  126. - update Patch(See follow url)
  127. - http://git.gnome.org/cgit/devhelp/commit/?id=af67fbedccab5044808a489a9f3a5540d42adcf2
  128. * Sat Aug 01 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.23-3
  129. - update Url.
  130. - add Patch11(http://bugzilla.gnome.org/show_bug.cgi?id=586559)
  131. * Tue Jun 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.23-2
  132. - remove unneeded Requires:
  133. - remove Requires/BuildRequires to gecko.
  134. * Tue Apr 28 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.23-1
  135. - new upstream release
  136. - added Requires: Webkit-gtk,libsoup BuildRequires: Webkit-gtk-devel,libsoup-devel
  137. * Tue Sep 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.21-1
  138. - new upstream release (dropped Patch10)
  139. - updated BuildRequires: gecko-devel-unstable instead of gecko-devel
  140. - added Requires: gecko-libs instead of firefox
  141. * Thu Jul 03 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.19.1-2
  142. - add Patch10 to build with xulrunner-1.9
  143. - add %%pre %%preun scripts to remove old gconf schemas
  144. - add %%postun to update icon cache
  145. - add unpackaged icons to %%files
  146. * Fri May 30 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.19.1
  147. - new upstream version.
  148. * Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.16.1-2
  149. - use macro for Release
  150. * Fri May 09 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org>
  151. - apply new virsioning policy.
  152. - remove *.la
  153. * Thu Jan 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.16.1-0vl2
  154. - rebuilt with libwnck 2.20.2
  155. * Fri Jan 04 2008 Shu KONNO <owa@bg.wakwak.com> 0.16.1-0vl1
  156. - new upstream version
  157. - removed icon-theme.cache in %%install section
  158. * Sun Sep 02 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-0vl1
  159. - new upstream release
  160. * Tue Apr 03 2007 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.13-0vl2
  161. - icon-theme.cache is not included.
  162. * Sun Apr 01 2007 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.13-0vl1
  163. - update to 0.13
  164. * Sun Dec 17 2006 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.12-0vl2
  165. - build devel package
  166. * Sun Oct 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-0vl1
  167. - updated to 0.12
  168. - using firefox(gecko) instead of gtkhtml2
  169. - disabled intltoolize before configure
  170. * Thu Aug 25 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.9.3-0vl2
  171. - add "--force" to intltoolize
  172. * Sun Nov 14 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.3-0vl1
  173. - build for Vine Linux
  174. - do not build devel package
  175. * Sun Jun 29 2003 Mikael Hallendal <micke@imendio.com>
  176. - Released 0.7