devhelp-vl.spec 6.4 KB

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