midori-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. Summary: A lightweight GTK+ web browser
  2. Summary(ja): 軽量な GTK+ ウェブブラウザ
  3. Name: midori
  4. Version: 0.5.8
  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 -c n %{name}
  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. * Sat Apr 12 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.8-1
  132. - new upstream release
  133. * Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.7-1
  134. - new upstream release
  135. - fixed previous working day to Mon Jan 13 2014
  136. * Mon Jan 13 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.6-1
  137. - new upstream release
  138. - added BuildRequires: cmake
  139. - added Obsoletes: midori-devel
  140. * Sat Aug 31 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.5-1
  141. - new upstream release
  142. * Sun May 19 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.2-1
  143. - new upstream release
  144. - added BuildRequires: gcr-devel
  145. * Sat Apr 06 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.0-1
  146. - new upstream release
  147. - run sed to delete disused code instead of Patch
  148. * Sat Mar 30 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.9-1
  149. - new upstream release
  150. - refreshed patch0
  151. * Sun Feb 10 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.8-1
  152. - new upstream release
  153. - fixed %%configure option
  154. - deleted --disable-hildon
  155. - added --disable-zeitgeist
  156. * Sat Sep 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.7-1
  157. - new upstream release
  158. - refreshed patch0
  159. - used GTK3 toolkit
  160. - added BuildRequires: WebKit3-gtk-devel, gtk3-devel >= 3.0.0, unique3-devel >= 0.9
  161. * Tue May 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.6-1
  162. - new upstream release
  163. - changed URL
  164. * Sun Apr 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.5-1
  165. - new upstream release
  166. - changed BuildRequires: vala-devel >= 0.14
  167. * Sat Mar 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.4-1
  168. - new upstream release
  169. * Sun Dec 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.3-1
  170. - new upstream release
  171. * Fri Nov 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.2-1
  172. - new upstream release
  173. - changed BuildRequires: libsoup-devel >= 2.25.2 to >= 2.27.90,
  174. glib2-devel >= 2.16.0 to >= 2.22, WebKit-gtk-devel >= 1.1.6 to 1.1.17
  175. * Thu Oct 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.1-2
  176. - changed BuildRequires: docutils to python-docutils
  177. * Mon Oct 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.1-1
  178. - new upstream release
  179. * Wed Aug 03 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.0-1
  180. - new upstream release
  181. - refresh patch0
  182. * Wed May 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.6-1
  183. - new upstream release
  184. - added Patch0 to fix desktop entry
  185. * Tue May 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.5-1
  186. - new upstream release
  187. * Sun Apr 10 2011 IWAI, Masaharu <iwai@alib.jp> 0.3.3-1
  188. - new upstream release
  189. * Sun Feb 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.2-1
  190. - new upstream release
  191. * Tue Feb 1 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.0-1
  192. - new upstream release
  193. - dropt Patch0
  194. * Sun Nov 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.9-1
  195. - new upstream release
  196. - recreated patch0
  197. - probed %%post and %%postun
  198. - added %%posttrans
  199. * Mon Sep 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.8-1
  200. - new upstream release
  201. * Thu Aug 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.7-1
  202. - new upstream release
  203. - disabled conditional branch to vala support
  204. - to preparation vala package on Vine 5
  205. - splitted devel file
  206. - enabled BuildRequires: gtk-doc
  207. * Wed May 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.6-1
  208. - new upstream release
  209. - deleted duplicate BuildRequires (librsvg2)
  210. - added BuildRequires: libXScrnSaver-devel
  211. - fixed BuildRoot path
  212. - applied conditional branch to vala support
  213. * Thu May 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.5-1
  214. - new upstream release
  215. - added BuildRequires: gtksourceview2-devel, intltool, libnotify-devel, librsvg2,
  216. vala-devel
  217. - added Patch0 from Fedora to fix docdir
  218. - improved %files section
  219. * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.4-1
  220. - new upstream release
  221. - applied new naming policy to spec
  222. * Thu Feb 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.3-1
  223. - new upstream release
  224. * Mon Dec 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.2-1
  225. - new upstream release
  226. * Sat Nov 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.1-1
  227. - new upstream release
  228. * Fri Oct 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.0-1
  229. - new upstream release
  230. - fixed BuildRequires: perl-XML-Parser
  231. * Sun Sep 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.10-1
  232. - new upstream release
  233. * Sun Aug 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.9-1
  234. - new upstream release
  235. * Mon Jul 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-2
  236. - added Japanese description
  237. - fixed BuildRequires: perl(XML::Parser) to perl-XML-Parser
  238. * Sun Jul 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-1
  239. - new upstream release
  240. - few changed in %files seciton
  241. * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.6-1
  242. - new upstream release
  243. - add BR: WebKit-gtk-devel >= 1.1.6
  244. - add --disable-hildon to configure option
  245. * Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.4-1
  246. - new upstream release
  247. - drop old ja.po
  248. * Mon Feb 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.1-1
  249. - new upstream release
  250. * Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.19-1
  251. - new upstream release
  252. - update ja.po
  253. * Fri Jul 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.18-1
  254. - initial build for Vine Linux
  255. - add initial ja.po
  256. * Sat May 24 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.18-1
  257. - Update to new upstream release (0.0.18), adds some translations and
  258. a lot of bug-fixes.
  259. - Alphabetize dependency list (aesthetic-only change).
  260. * Sat Apr 12 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-3
  261. - Rebuild for updated WebKit library so-name and include directory.
  262. * Mon Mar 03 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-2
  263. - Cleanups from review (bug 435661):
  264. (1) Fix consistency of tabs/spaces usage.
  265. (2) Fix source permissions.
  266. (3) Add desktop-file-utils build dependency.
  267. * Sun Mar 02 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-1
  268. - Initial packaging for Fedora.