midori-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. Summary: A lightweight GTK+ web browser
  2. Summary(ja): 軽量な GTK+ ウェブブラウザ
  3. Name: midori
  4. Version: 0.2.4
  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. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: desktop-file-utils
  12. BuildRequires: gettext
  13. BuildRequires: libsexy-devel
  14. BuildRequires: libtool
  15. BuildRequires: libxml2-devel >= 2.6
  16. BuildRequires: perl-XML-Parser
  17. BuildRequires: WebKit-gtk-devel >= 1.1.6
  18. ## for IDN support
  19. BuildRequires: libidn-devel >= 1.0
  20. ## for Single instance
  21. BuildRequires: unique-devel >= 0.9
  22. ## for Persistent history
  23. BuildRequires: sqlite3-devel >= 3.0
  24. BuildRequires: glib2-devel >= 2.16.0
  25. BuildRequires: gtk2-devel >= 2.10.0
  26. BuildRequires: libsoup-devel >= 2.25.2
  27. ## for Icon optimizations: /usr/bin/rsvg-convert
  28. BuildRequires: librsvg2
  29. ## for User documentation
  30. BuildRequires: docutils
  31. ## for API documentation
  32. #BuildRequires: gtk-doc
  33. Requires: WebKit-gtk
  34. %description
  35. Midori is a lightweight web browser, and has many features expected of a
  36. modern browser, including:
  37. * Full integration with GTK+2.
  38. * Fast rendering with WebKit.
  39. * Tabs, windows and session management.
  40. * Bookmarks are stored with XBEL.
  41. * Searchbox based on OpenSearch.
  42. * Custom context menu actions.
  43. * User scripts and user styles support.
  44. * Extensible via Lua scripts.
  45. The project is currently in an early alpha state. The features are still being
  46. implemented, and some are still quite incomplete.
  47. %description -l ja
  48. Midori は軽量な Web ブラウザで、多くの機能がモダンブラウザとして期待されています。
  49. 以下の機能が含まれています。:
  50. * GTK+2 に完全に統合。
  51. * WebKit で高速なレンダリング。
  52. * タブ、ウィンドウおよびセッションの管理。
  53. * ブックマークは XBEL で格納。
  54. * OpenSearch に基づくサーチボックス。
  55. * カスタムコンテキストメニューの操作。
  56. * ユーザースクリプトとユーザースタイルをサポート。
  57. * Lua スクリプトを介して拡張可能。
  58. プロジェクトは現在初期アルファの状態にあります。
  59. 機能はまだ実装中で、一部はかなり不完全です。
  60. %prep
  61. %setup -q
  62. %build
  63. export CFLAGS="%{optflags}"
  64. ./waf --prefix=%{_usr} \
  65. --docdir=%{_docdir}/%{name}-%{version} \
  66. --libdir=%{_libdir} \
  67. configure \
  68. --disable-hildon
  69. ./waf %{?_smp_mflags} build
  70. %install
  71. rm -rf %{buildroot}
  72. ./waf --destdir=%{buildroot} install
  73. %find_lang %{name}
  74. desktop-file-install \
  75. --vendor "" \
  76. --delete-original \
  77. --dir %{buildroot}%{_datadir}/applications \
  78. %{buildroot}%{_datadir}/applications/%{name}.desktop
  79. %clean
  80. rm -rf %{buildroot}
  81. %post
  82. touch --no-create %{_datadir}/icons/hicolor
  83. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  84. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  85. fi
  86. %postun
  87. touch --no-create %{_datadir}/icons/hicolor
  88. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  89. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  90. fi
  91. %files -f %{name}.lang
  92. %defattr(-,root,root,-)
  93. %doc AUTHORS ChangeLog COPYING README TODO
  94. %dir %{_sysconfdir}/xdg/midori
  95. %{_sysconfdir}/xdg/midori/*
  96. #%{_sysconfdir}/%{name}/
  97. %{_bindir}/midori
  98. %dir %{_libdir}/midori
  99. %{_libdir}/midori/*.so
  100. %{_datadir}/midori/*
  101. %{_datadir}/applications/%{name}.desktop
  102. %{_datadir}/icons/hicolor/*/*/*.png
  103. %changelog
  104. * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.4-1
  105. - new upstream release
  106. - applied new naming policy to spec
  107. * Thu Feb 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.3-1
  108. - new upstream release
  109. * Mon Dec 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.2-1
  110. - new upstream release
  111. * Sat Nov 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.1-1
  112. - new upstream release
  113. * Fri Oct 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.0-1
  114. - new upstream release
  115. - fixed BuildRequires: perl-XML-Parser
  116. * Sun Sep 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.10-1
  117. - new upstream release
  118. * Sun Aug 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.9-1
  119. - new upstream release
  120. * Mon Jul 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-2
  121. - added Japanese description
  122. - fixed BuildRequires: perl(XML::Parser) to perl-XML-Parser
  123. * Sun Jul 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-1
  124. - new upstream release
  125. - few changed in %files seciton
  126. * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.6-1
  127. - new upstream release
  128. - add BR: WebKit-gtk-devel >= 1.1.6
  129. - add --disable-hildon to configure option
  130. * Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.4-1
  131. - new upstream release
  132. - drop old ja.po
  133. * Mon Feb 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.1-1
  134. - new upstream release
  135. * Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.19-1
  136. - new upstream release
  137. - update ja.po
  138. * Fri Jul 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.18-1
  139. - initial build for Vine Linux
  140. - add initial ja.po
  141. * Sat May 24 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.18-1
  142. - Update to new upstream release (0.0.18), adds some translations and
  143. a lot of bug-fixes.
  144. - Alphabetize dependency list (aesthetic-only change).
  145. * Sat Apr 12 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-3
  146. - Rebuild for updated WebKit library so-name and include directory.
  147. * Mon Mar 03 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-2
  148. - Cleanups from review (bug 435661):
  149. (1) Fix consistency of tabs/spaces usage.
  150. (2) Fix source permissions.
  151. (3) Add desktop-file-utils build dependency.
  152. * Sun Mar 02 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-1
  153. - Initial packaging for Fedora.