yelp-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. %define glib2_version 2.34.0
  2. %define pango_version 1.32.0
  3. %define gtk3_version 3.6.0
  4. %define desktop_file_utils_version 0.17
  5. %define rarian_version 0.7.0
  6. %define gnome_common_version 3.4.0.1
  7. Summary: A system documentation reader from the Gnome project.
  8. Summary(ja): GNOME プロジェクトのシステムドキュメントリーダ
  9. Name: yelp
  10. Version: 3.6.2
  11. Release: 1%{?_dist_release}
  12. URL: http://live.gnome.org/Yelp
  13. Source0: %{name}-%{version}.tar.xz
  14. Source10: man-convert-helper
  15. License: GPL
  16. Group: User Interface/Desktops
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. Requires: gtk3 >= %{gtk3_version}
  19. Requires: gnome-user-docs
  20. Requires: nkf
  21. Requires: yelp-xsl
  22. BuildRequires: glib2-devel >= %{glib2_version}
  23. BuildRequires: pango-devel >= %{pango_version}
  24. BuildRequires: gtk3-devel >= %{gtk3_version}
  25. BuildRequires: libxml2-devel >= 2.6.5
  26. BuildRequires: libxslt-devel >= 1.1.4
  27. BuildRequires: zlib-devel
  28. BuildRequires: xz-devel
  29. BuildRequires: bzip2-devel
  30. BuildRequires: startup-notification-devel >= 0.8
  31. BuildRequires: dbus-glib-devel
  32. BuildRequires: rarian-devel >= %{rarian_version}
  33. BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
  34. BuildRequires: gnome-common >= %{gnome_common_version}
  35. BuildRequires: yelp-xsl-devel
  36. BuildRequires: WebKit3-gtk-devel
  37. BuildRequires: sqlite3-devel
  38. BuildRequires: libSM-devel
  39. BuildRequires: yelp-tools
  40. Vendor: Project Vine
  41. Distribution: Vine Linux
  42. Packager: Takemikaduchi
  43. %description
  44. Yelp is the Gnome 2 help/documentation browser. It is designed
  45. to help you browse all the documentation on your system in
  46. one central tool.
  47. %description -l ja
  48. Yelp は Gnome 2 のヘルプ/ドキュメントブラウザです。このツール
  49. によってシステム内の全てのドキュメントを参照できることを目標に
  50. 作られています。
  51. %package libs
  52. Summary: Libraries for yelp
  53. Group: Development/Libraries
  54. Requires: %{name} = %{version}-%{release}
  55. %description libs
  56. This package contains libraries used by the yelp help browser.
  57. %package devel
  58. Summary: Development files for yelp-libs
  59. Group: Development/Libraries
  60. Requires: %{name}-libs = %{version}-%{release}
  61. %description devel
  62. This package contains header files and documentation for
  63. the libraries in the yelp-libs package.
  64. %prep
  65. %setup -q
  66. # autoreconf -f -i
  67. %build
  68. %configure \
  69. --disable-static
  70. make
  71. %install
  72. rm -rf $RPM_BUILD_ROOT
  73. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  74. make install DESTDIR=$RPM_BUILD_ROOT
  75. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  76. mkdir -p -m 755 $RPM_BUILD_ROOT/%{_datadir}/gnome/help
  77. install -m755 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/yelp/
  78. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
  79. %find_lang %{name}
  80. %clean
  81. rm -rf $RPM_BUILD_ROOT
  82. %post
  83. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  84. update-mime-database %{_datadir}/mime >& /dev/null ||:
  85. touch %{_datadir}/icons/hicolor
  86. #if [ -x /usr/bin/gtk-update-icon-cache ]; then
  87. # /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  88. #fi
  89. %postun
  90. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  91. update-mime-database %{_datadir}/mime >& /dev/null ||:
  92. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  93. %posttrans
  94. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  95. %files -f %{name}.lang
  96. %defattr(-,root,root)
  97. %{_bindir}/*
  98. %{_datadir}/applications/*
  99. %{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml
  100. %{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml
  101. %dir %{_datadir}/gnome/help
  102. %{_datadir}/%{name}
  103. #%{_datadir}/icons/hicolor/*
  104. %files libs
  105. %defattr(-,root,root,-)
  106. %{_libdir}/libyelp.so.*
  107. %files devel
  108. %defattr(-,root,root,-)
  109. %{_libdir}/libyelp.so
  110. %{_includedir}/libyelp
  111. %{_datadir}/gtk-doc/html/libyelp
  112. %changelog
  113. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  114. - new upstream release
  115. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  116. - new upstream release
  117. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  118. - new upstream release
  119. - change BuildRequires: yelp-tools instead of gnome-doc-utils
  120. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  121. - new upstream release
  122. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  123. - new upstream release
  124. - add BuildRequires: itstool
  125. - remove BuildRequires: GConf2-devel
  126. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  127. - new upstream release
  128. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  129. - new upstream release
  130. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  131. - new upstream release
  132. - add BuildRequires: libSM-devel
  133. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
  134. - new upstream release
  135. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.1-1
  136. - new upstream release
  137. - create -libs and -devel sub package
  138. - add BuildRequires: yelp-xsl-devel, WebKit3-gtk-devel, sqlite3-devel
  139. - remove BuildRequires: xulrunner-devel
  140. - change BuildRequires: gtk3-devel instead of gtk2-devel
  141. - change BuildRequires: xz-devel instead of lzma-devel
  142. - drop old Patches
  143. * Sat Apr 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-3
  144. - update Patch2: yelp-2.30.2-add-mime-handling.patch
  145. * Wed Mar 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30.2-2
  146. - rebuild with xulrunner-2.0
  147. - add Patch11 to build with xulrunner-2.0
  148. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  149. - new upstream release
  150. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  151. - new upstream release
  152. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  153. - new upstream release
  154. - change Requires: gecko-libs -> xulrunner
  155. - change BuildRequires: gecko-devel -> xulrunner-devel
  156. - drop Patch11
  157. * Mon Mar 01 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.1-1
  158. - new upstream release
  159. - build with xulrunner-1.9.2 (gecko-1.9.2)
  160. - BR: gecko-devel instead of gecko-unstable-devel
  161. - add patch11 to fix xulrunner-1.9.2 problem
  162. - https://bugzilla.gnome.org/show_bug.cgi?id=603561
  163. - http://git.gnome.org/browse/yelp/commit/?id=a5588114ed94d00ca64913aa5b248e09a5e13edc
  164. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  165. - new upstream release
  166. * Tue Aug 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-3
  167. - convert manpages from euc to utf8
  168. * Tue Jun 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  169. - rebuild with gecko-1.9.1
  170. * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  171. - new upstream release
  172. - remove BR: libgnomeprintui-devel
  173. * Mon Jun 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.1-2
  174. - use xulrunner-1.9 for gecko libs instead of firefox
  175. - add Patch7,8,9 to build with xulrunner-1.9
  176. * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  177. - new upstream release
  178. * Sun Apr 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  179. - new upstream release
  180. - added Patches from Fedora Core
  181. * Mon Mar 31 2008 Jon McCann <jmccann@redhat.com> - 2.22.0-4
  182. - Disallow launchers when running under GDM.
  183. * Thu Mar 13 2008 Matthew Barnes <mbarnes@redhat.com> - 2.22.0-2
  184. - Add patch for RH bug #437328 (searching with Beagle broken).
  185. * Fri Nov 16 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.0-7
  186. - Handle .HP tags in man pages
  187. * Wed Sep 6 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0-2.fc6
  188. - Actually apply the Pango patch
  189. * Thu Dec 15 2005 David Malcolm <dmalcolm@redhat.com> - 2.13.2-2
  190. - Patched to include DocBook mimetype in desktop file, and added preun and
  191. post hooks to update-desktop-database (#175880)
  192. - Patched to ensure that Yelp recognizes that it can handle the mimetype of
  193. the documentation as reported by gnomevfs (also #175880)
  194. * Sat Jan 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-0vl1
  195. - new upstream release
  196. - added BuildRequires: rarian-devel
  197. * Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl2
  198. - rebuild with new environment/toolchain
  199. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1
  200. - new upstream release
  201. - drop Patch20
  202. * Thu Nov 16 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.14.3-0vl3
  203. - added Patch20 (<BTS:0314>)
  204. - add BuildRequires: libgnomeprintui-devel
  205. * Wed Oct 25 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl2
  206. - rebuild with firefox-2.0
  207. * Sun Oct 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.3-0vl1
  208. - updated to 2.14.3
  209. - changed Group to User Interface/Desktops
  210. * Sat Jul 01 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl2
  211. - add Patch10 to fix corruption of help option message.
  212. - add Japanese summary and description
  213. * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  214. - new upstream release
  215. * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl2
  216. - rebuild with firefox-1.5.0.2-0vl4
  217. * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  218. - new upstream release
  219. - build with firefox-1.5.0.2
  220. * Sat Apr 01 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl2
  221. - run gtk-update-icon-cache in %%post script.
  222. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  223. - new upstream release
  224. * Wed Mar 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.6-0vl1
  225. - new upstream release
  226. * Thu Feb 02 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.2-0vl2
  227. - rebuild with firefox-1.5.0.1
  228. * Fri Dec 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.2-0vl1
  229. - new upstream release
  230. - build with firefox-1.5
  231. * Sat Sep 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
  232. - new upstream release
  233. - build with mozilla-1.7.12
  234. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  235. - new upstream release
  236. * Sat Aug 20 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.10.0-0vl4
  237. - rebuilt with mozilla-1.7.11 (doh! 0vl3 had stupid mistake in the changelog)
  238. * Fri May 13 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl2
  239. - rebuild with mozilla-1.7.8
  240. * Mon May 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  241. - new upstream release
  242. * Sun Apr 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.3-0vl4
  243. - rebuild with mozilla-1.7.7
  244. * Thu Apr 14 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.3-0vl3
  245. - add Requires/BuildRequires to gnome-doc-utils
  246. * Mon Mar 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.3-0vl2
  247. - include yelp.schemas
  248. - add versioned requires to mozilla
  249. * Thu Mar 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.3-0vl1
  250. - new upstream version
  251. - use mozilla's gecko engine, add Requires: mozilla
  252. * Mon Nov 22 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.4-0vl1
  253. - new upstream release
  254. * Mon Dec 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.2-0vl1
  255. - new upstream release
  256. - rebuild with new toolchains
  257. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  258. - new upstream release
  259. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.90-0vl1
  260. - new upstream release
  261. * Thu May 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.0-0vl1
  262. - new upstream release
  263. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  264. - new upstream release
  265. * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl1
  266. - new upstream release
  267. - build for Vine Linux
  268. * Mon Nov 18 2002 Tim Powers <timp@redhat.com>
  269. - rebuild for all arches
  270. * Mon Aug 12 2002 Alexander Larsson <alexl@redhat.com>
  271. - Remove the strange copyright on the start page. Fixes #69106
  272. * Thu Aug 8 2002 Havoc Pennington <hp@redhat.com>
  273. - 1.0.2
  274. - include libexecdir stuff
  275. * Sat Jul 27 2002 Havoc Pennington <hp@redhat.com>
  276. - rebuild with new gail
  277. - 1.0.1
  278. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  279. - automated rebuild
  280. * Tue Jun 18 2002 Havoc Pennington <hp@redhat.com>
  281. - put all the binaries in the file list... why is this package so hard?
  282. * Mon Jun 17 2002 Havoc Pennington <hp@redhat.com>
  283. - put images in file list, this thing will be non-ugly yet
  284. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  285. - 1.0
  286. - use desktop-file-install to install/munge .desktop files
  287. - put the sgml stuff in file list
  288. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  289. - rebuild in different environment
  290. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  291. - 0.10
  292. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  293. - automated rebuild
  294. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  295. - rebuild in different environment
  296. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  297. - 0.8
  298. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  299. - 0.6.1
  300. * Fri Apr 19 2002 Havoc Pennington <hp@redhat.com>
  301. - 0.6
  302. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  303. - Rebuild for new gnome2 libraries
  304. * Mon Jan 28 2002 Alex Larsson <alexl@redhat.com>
  305. - Initial build.