yelp-vl.spec 14 KB

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