midori-vl.spec 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. Summary: A lightweight GTK+ web browser
  2. Summary(ja): 軽量な GTK+ ウェブブラウザ
  3. Name: midori
  4. Version: 0.4.5
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Internet
  7. License: LGPLv2.1+
  8. URL: http://software.twotoasts.de/?page=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. * Sun Apr 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.5-1
  128. - new upstream release
  129. - changed BuildRequires: vala-devel >= 0.14
  130. * Sat Mar 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.4-1
  131. - new upstream release
  132. * Sun Dec 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.3-1
  133. - new upstream release
  134. * Fri Nov 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.2-1
  135. - new upstream release
  136. - changed BuildRequires: libsoup-devel >= 2.25.2 to >= 2.27.90,
  137. glib2-devel >= 2.16.0 to >= 2.22, WebKit-gtk-devel >= 1.1.6 to 1.1.17
  138. * Thu Oct 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.1-2
  139. - changed BuildRequires: docutils to python-docutils
  140. * Mon Oct 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.1-1
  141. - new upstream release
  142. * Wed Aug 03 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.0-1
  143. - new upstream release
  144. - refresh patch0
  145. * Wed May 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.6-1
  146. - new upstream release
  147. - added Patch0 to fix desktop entry
  148. * Tue May 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.5-1
  149. - new upstream release
  150. * Sun Apr 10 2011 IWAI, Masaharu <iwai@alib.jp> 0.3.3-1
  151. - new upstream release
  152. * Sun Feb 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.2-1
  153. - new upstream release
  154. * Tue Feb 1 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.0-1
  155. - new upstream release
  156. - dropt Patch0
  157. * Sun Nov 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.9-1
  158. - new upstream release
  159. - recreated patch0
  160. - probed %%post and %%postun
  161. - added %%posttrans
  162. * Mon Sep 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.8-1
  163. - new upstream release
  164. * Thu Aug 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.7-1
  165. - new upstream release
  166. - disabled conditional branch to vala support
  167. - to preparation vala package on Vine 5
  168. - splitted devel file
  169. - enabled BuildRequires: gtk-doc
  170. * Wed May 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.6-1
  171. - new upstream release
  172. - deleted duplicate BuildRequires (librsvg2)
  173. - added BuildRequires: libXScrnSaver-devel
  174. - fixed BuildRoot path
  175. - applied conditional branch to vala support
  176. * Thu May 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.5-1
  177. - new upstream release
  178. - added BuildRequires: gtksourceview2-devel, intltool, libnotify-devel, librsvg2,
  179. vala-devel
  180. - added Patch0 from Fedora to fix docdir
  181. - improved %files section
  182. * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.4-1
  183. - new upstream release
  184. - applied new naming policy to spec
  185. * Thu Feb 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.3-1
  186. - new upstream release
  187. * Mon Dec 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.2-1
  188. - new upstream release
  189. * Sat Nov 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.1-1
  190. - new upstream release
  191. * Fri Oct 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.0-1
  192. - new upstream release
  193. - fixed BuildRequires: perl-XML-Parser
  194. * Sun Sep 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.10-1
  195. - new upstream release
  196. * Sun Aug 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.9-1
  197. - new upstream release
  198. * Mon Jul 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-2
  199. - added Japanese description
  200. - fixed BuildRequires: perl(XML::Parser) to perl-XML-Parser
  201. * Sun Jul 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-1
  202. - new upstream release
  203. - few changed in %files seciton
  204. * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.6-1
  205. - new upstream release
  206. - add BR: WebKit-gtk-devel >= 1.1.6
  207. - add --disable-hildon to configure option
  208. * Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.4-1
  209. - new upstream release
  210. - drop old ja.po
  211. * Mon Feb 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.1-1
  212. - new upstream release
  213. * Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.19-1
  214. - new upstream release
  215. - update ja.po
  216. * Fri Jul 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.18-1
  217. - initial build for Vine Linux
  218. - add initial ja.po
  219. * Sat May 24 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.18-1
  220. - Update to new upstream release (0.0.18), adds some translations and
  221. a lot of bug-fixes.
  222. - Alphabetize dependency list (aesthetic-only change).
  223. * Sat Apr 12 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-3
  224. - Rebuild for updated WebKit library so-name and include directory.
  225. * Mon Mar 03 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-2
  226. - Cleanups from review (bug 435661):
  227. (1) Fix consistency of tabs/spaces usage.
  228. (2) Fix source permissions.
  229. (3) Add desktop-file-utils build dependency.
  230. * Sun Mar 02 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-1
  231. - Initial packaging for Fedora.