midori-vl.spec 8.7 KB

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