yelp-vl.spec 14 KB

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