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