midori-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. Summary: A lightweight GTK+ web browser
  2. Summary(ja): 軽量な GTK+ ウェブブラウザ
  3. Name: midori
  4. Version: 0.5.11
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Internet
  7. License: LGPLv2.1+
  8. URL: http://twotoasts.de/index.php/midori/
  9. Source0: http://software.twotoasts.de/media/%{name}/%{name}_%{version}_all_.tar.bz2
  10. #Patch0: %{name}-0.2.9-docdir.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: desktop-file-utils
  13. BuildRequires: gettext
  14. BuildRequires: libsexy-devel
  15. BuildRequires: libtool
  16. BuildRequires: libxml2-devel >= 2.6
  17. BuildRequires: perl-XML-Parser
  18. BuildRequires: WebKit3-gtk-devel
  19. BuildRequires: gtk3-devel >= 3.0.0
  20. BuildRequires: unique3-devel >= 0.9
  21. ## for IDN support
  22. BuildRequires: libidn-devel >= 1.0
  23. ## for Persistent history
  24. BuildRequires: sqlite3-devel >= 3.0
  25. BuildRequires: glib2-devel >= 2.22.0
  26. BuildRequires: libsoup-devel >= 2.27.90
  27. ## for Icon optimizations: /usr/bin/rsvg-convert
  28. BuildRequires: librsvg2
  29. ## for User documentation
  30. BuildRequires: python-docutils
  31. ## for API documentation
  32. BuildRequires: gtk-doc
  33. BuildRequires: gtksourceview2-devel
  34. BuildRequires: intltool
  35. BuildRequires: libnotify-devel
  36. BuildRequires: libXScrnSaver-devel
  37. BuildRequires: vala-devel >= 0.14
  38. BuildRequires: gcr-devel
  39. BuildRequires: cmake
  40. BuildRequires: WebKit-gtk-devel
  41. BuildRequires: zeitgeist-devel
  42. BuildRequires: zeitgeist-vala
  43. BuildRequires: gobject-introspection-devel
  44. Requires: WebKit-gtk
  45. Obsoletes: midori-devel
  46. %description
  47. Midori is a lightweight web browser, and has many features expected of a
  48. modern browser, including:
  49. * Full integration with GTK+2.
  50. * Fast rendering with WebKit.
  51. * Tabs, windows and session management.
  52. * Bookmarks are stored with XBEL.
  53. * Searchbox based on OpenSearch.
  54. * Custom context menu actions.
  55. * User scripts and user styles support.
  56. * Extensible via Lua scripts.
  57. The project is currently in an early alpha state. The features are still being
  58. implemented, and some are still quite incomplete.
  59. %description -l ja
  60. Midori は軽量な Web ブラウザで、多くの機能がモダンブラウザとして期待されています。
  61. 以下の機能が含まれています。:
  62. * GTK+2 に完全に統合。
  63. * WebKit で高速なレンダリング。
  64. * タブ、ウィンドウおよびセッションの管理。
  65. * ブックマークは XBEL で格納。
  66. * OpenSearch に基づくサーチボックス。
  67. * カスタムコンテキストメニューの操作。
  68. * ユーザースクリプトとユーザースタイルをサポート。
  69. * Lua スクリプトを介して拡張可能。
  70. プロジェクトは現在初期アルファの状態にあります。
  71. 機能はまだ実装中で、一部はかなり不完全です。
  72. #%package devel
  73. #Summary: Development files for %{name}
  74. #Summary(ja): %{name} の開発ファイル
  75. #Group: Development/Libraries
  76. #Requires: %{name} = %{version}-%{release}
  77. #Requires: vala
  78. #%description devel
  79. #The %{name}-devel package contains libraries and header files for
  80. #developing extensions for %{name}.
  81. %prep
  82. %setup -q
  83. sed -i '18,32d' data/midori.desktop.in
  84. %build
  85. %cmake -DCMAKE_INSTALL_SYSCONFDIR=/etc -DUSE_APIDOCS=1 -DUSE_ZEITGEIST=OFF .
  86. make %{?_smp_mflags}
  87. %install
  88. rm -rf %{buildroot}
  89. make install DESTDIR=$RPM_BUILD_ROOT
  90. %find_lang %{name}
  91. desktop-file-install \
  92. --vendor "" \
  93. --delete-original \
  94. --dir %{buildroot}%{_datadir}/applications \
  95. %{buildroot}%{_datadir}/applications/%{name}.desktop
  96. desktop-file-install \
  97. --delete-original \
  98. --remove-not-show-in=Pantheon \
  99. --dir %{buildroot}%{_datadir}/applications \
  100. %{buildroot}%{_datadir}/applications/%{name}-private.desktop
  101. %clean
  102. rm -rf %{buildroot}
  103. %post
  104. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  105. /usr/bin/update-desktop-database &> /dev/null || :
  106. %postun
  107. if [ $1 -eq 0 ] ; then
  108. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  109. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  110. /usr/bin/update-desktop-database &> /dev/null || :
  111. fi
  112. %posttrans
  113. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  114. %files -f %{name}.lang
  115. %defattr(-,root,root,-)
  116. %doc %{_docdir}/%{name}/*
  117. %{_bindir}/midori
  118. %{_datadir}/appdata/%{name}.appdata.xml
  119. %{_datadir}/applications/%{name}*.desktop
  120. %{_datadir}/gtk-doc/html/*
  121. %{_datadir}/icons/hicolor/*
  122. %{_datadir}/%{name}/
  123. %{_libdir}/%{name}/
  124. %{_libdir}/lib%{name}*
  125. %{_sysconfdir}/xdg/%{name}/
  126. #%files devel
  127. #%defattr(-,root,root,-)
  128. #%{_datadir}/vala/
  129. #%{_includedir}/%{name}-0.5/
  130. %changelog
  131. * Tue May 03 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.11-1
  132. - new upstream release
  133. * Sat Apr 12 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.8-1
  134. - new upstream release
  135. * Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.7-1
  136. - new upstream release
  137. - fixed previous working day to Mon Jan 13 2014
  138. * Mon Jan 13 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.6-1
  139. - new upstream release
  140. - added BuildRequires: cmake
  141. - added Obsoletes: midori-devel
  142. * Sat Aug 31 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.5-1
  143. - new upstream release
  144. * Sun May 19 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.2-1
  145. - new upstream release
  146. - added BuildRequires: gcr-devel
  147. * Sat Apr 06 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.0-1
  148. - new upstream release
  149. - run sed to delete disused code instead of Patch
  150. * Sat Mar 30 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.9-1
  151. - new upstream release
  152. - refreshed patch0
  153. * Sun Feb 10 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.8-1
  154. - new upstream release
  155. - fixed %%configure option
  156. - deleted --disable-hildon
  157. - added --disable-zeitgeist
  158. * Sat Sep 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.7-1
  159. - new upstream release
  160. - refreshed patch0
  161. - used GTK3 toolkit
  162. - added BuildRequires: WebKit3-gtk-devel, gtk3-devel >= 3.0.0, unique3-devel >= 0.9
  163. * Tue May 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.6-1
  164. - new upstream release
  165. - changed URL
  166. * Sun Apr 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.5-1
  167. - new upstream release
  168. - changed BuildRequires: vala-devel >= 0.14
  169. * Sat Mar 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.4-1
  170. - new upstream release
  171. * Sun Dec 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.3-1
  172. - new upstream release
  173. * Fri Nov 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.2-1
  174. - new upstream release
  175. - changed BuildRequires: libsoup-devel >= 2.25.2 to >= 2.27.90,
  176. glib2-devel >= 2.16.0 to >= 2.22, WebKit-gtk-devel >= 1.1.6 to 1.1.17
  177. * Thu Oct 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.1-2
  178. - changed BuildRequires: docutils to python-docutils
  179. * Mon Oct 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.1-1
  180. - new upstream release
  181. * Wed Aug 03 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.0-1
  182. - new upstream release
  183. - refresh patch0
  184. * Wed May 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.6-1
  185. - new upstream release
  186. - added Patch0 to fix desktop entry
  187. * Tue May 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.5-1
  188. - new upstream release
  189. * Sun Apr 10 2011 IWAI, Masaharu <iwai@alib.jp> 0.3.3-1
  190. - new upstream release
  191. * Sun Feb 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.2-1
  192. - new upstream release
  193. * Tue Feb 1 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.0-1
  194. - new upstream release
  195. - dropt Patch0
  196. * Sun Nov 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.9-1
  197. - new upstream release
  198. - recreated patch0
  199. - probed %%post and %%postun
  200. - added %%posttrans
  201. * Mon Sep 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.8-1
  202. - new upstream release
  203. * Thu Aug 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.7-1
  204. - new upstream release
  205. - disabled conditional branch to vala support
  206. - to preparation vala package on Vine 5
  207. - splitted devel file
  208. - enabled BuildRequires: gtk-doc
  209. * Wed May 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.6-1
  210. - new upstream release
  211. - deleted duplicate BuildRequires (librsvg2)
  212. - added BuildRequires: libXScrnSaver-devel
  213. - fixed BuildRoot path
  214. - applied conditional branch to vala support
  215. * Thu May 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.5-1
  216. - new upstream release
  217. - added BuildRequires: gtksourceview2-devel, intltool, libnotify-devel, librsvg2,
  218. vala-devel
  219. - added Patch0 from Fedora to fix docdir
  220. - improved %files section
  221. * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.4-1
  222. - new upstream release
  223. - applied new naming policy to spec
  224. * Thu Feb 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.3-1
  225. - new upstream release
  226. * Mon Dec 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.2-1
  227. - new upstream release
  228. * Sat Nov 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.1-1
  229. - new upstream release
  230. * Fri Oct 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.0-1
  231. - new upstream release
  232. - fixed BuildRequires: perl-XML-Parser
  233. * Sun Sep 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.10-1
  234. - new upstream release
  235. * Sun Aug 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.9-1
  236. - new upstream release
  237. * Mon Jul 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-2
  238. - added Japanese description
  239. - fixed BuildRequires: perl(XML::Parser) to perl-XML-Parser
  240. * Sun Jul 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-1
  241. - new upstream release
  242. - few changed in %files seciton
  243. * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.6-1
  244. - new upstream release
  245. - add BR: WebKit-gtk-devel >= 1.1.6
  246. - add --disable-hildon to configure option
  247. * Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.4-1
  248. - new upstream release
  249. - drop old ja.po
  250. * Mon Feb 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.1-1
  251. - new upstream release
  252. * Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.19-1
  253. - new upstream release
  254. - update ja.po
  255. * Fri Jul 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.18-1
  256. - initial build for Vine Linux
  257. - add initial ja.po
  258. * Sat May 24 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.18-1
  259. - Update to new upstream release (0.0.18), adds some translations and
  260. a lot of bug-fixes.
  261. - Alphabetize dependency list (aesthetic-only change).
  262. * Sat Apr 12 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-3
  263. - Rebuild for updated WebKit library so-name and include directory.
  264. * Mon Mar 03 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-2
  265. - Cleanups from review (bug 435661):
  266. (1) Fix consistency of tabs/spaces usage.
  267. (2) Fix source permissions.
  268. (3) Add desktop-file-utils build dependency.
  269. * Sun Mar 02 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-1
  270. - Initial packaging for Fedora.