yelp-vl.spec 12 KB

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