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