devhelp-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. Version: 2.32.0
  2. Release: 1%{?_dist_release}
  3. %define gtk_required 2.22.0
  4. %define libwnck_required 2.30.5
  5. Summary: API document browser
  6. Summary(ja): API ドキュメントブラウザ
  7. Name: devhelp
  8. License: GPL
  9. Group: Applications/Development
  10. Url: http://live.gnome.org/devhelp
  11. Source: http://ftp.gnome.org/pub/GNOME/sources/devhelp/2.32/%{name}-%{version}.tar.bz2
  12. #Patch10: %{name}-0.19.1-xulrunner19.patch
  13. #Patch11: %{name}-webkit.patch
  14. #Patch: %{name}-r1265.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: yasumichi
  19. Requires(pre,preun,post): GConf2
  20. Requires(post,postun): gtk2 >= %{gtk_required}
  21. BuildRequires: gtk2-devel >= %{gtk_required}
  22. BuildRequires: GConf2-devel >= 2.6.0
  23. BuildRequires: libglade2-devel >= 2.4.0
  24. BuildRequires: libwnck-devel >= %{libwnck_required}
  25. BuildRequires: zlib-devel
  26. BuildRequires: WebKit-gtk-devel >= 1.1.13
  27. BuildRequires: libsoup-devel
  28. BuildRequires: unique-devel
  29. %description
  30. An API document browser for GNOME 2.
  31. %description -l ja
  32. GNOME2 用の API ブラウザです。
  33. %package devel
  34. Summary: Library to embed Devhelp in other applications.
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}
  37. Requires: gtk2-devel >= %{gtk_required}
  38. Requires: GConf2-devel >= 2.6.0
  39. Requires: libglade2-devel >= 2.4.0
  40. Requires: libwnck-devel >= %{libwnck_required}
  41. Requires: WebKit-gtk-devel
  42. Requires: libsoup-devel
  43. Requires: unique-devel
  44. %description devel
  45. Library of Devhelp for embedding into other applications.
  46. %prep
  47. %setup -q
  48. #patch10 -p1 -b .xulrunner19
  49. #%patch -p1
  50. %build
  51. %configure --disable-static --disable-schemas-install
  52. make
  53. %install
  54. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  55. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  56. %makeinstall PREFIX=$RPM_BUILD_ROOT%{_prefix} install
  57. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  58. # remove, not shipped
  59. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  60. #rm -f $RPM_BUILD_ROOT%{_libdir}/libdevhelp-1.so
  61. #rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig
  62. #rm -rf $RPM_BUILD_ROOT%{_includedir}
  63. rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  64. %find_lang %{name}
  65. %clean
  66. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  67. %post
  68. /sbin/ldconfig
  69. touch --no-create %{_datadir}/icons/hicolor
  70. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  71. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  72. fi
  73. %postun
  74. /sbin/ldconfig
  75. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  76. touch --no-create %{_datadir}/icons/hicolor
  77. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  78. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  79. fi
  80. %posttrans
  81. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  82. %files -f %{name}.lang
  83. %defattr(-, root, root)
  84. %doc AUTHORS COPYING ChangeLog NEWS README INSTALL
  85. %config %{_sysconfdir}/gconf/schemas/*.schemas
  86. %{_bindir}/devhelp
  87. %{_libdir}/lib*.so.*
  88. %{_datadir}/applications/devhelp.desktop
  89. %{_datadir}/devhelp
  90. %{_datadir}/icons/hicolor/scalable/apps/devhelp.svg
  91. %{_datadir}/icons/hicolor/*/apps/devhelp.png
  92. %{_libdir}/gedit-2/plugins/*
  93. %files devel
  94. %defattr(-,root,root)
  95. %{_includedir}/*
  96. #%{_libdir}/libdevhelp*.la
  97. %{_libdir}/libdevhelp*.so
  98. %{_libdir}/pkgconfig/*
  99. %changelog
  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