[1092] | 1 | Summary: A lightweight GTK+ web browser |
---|
[521] | 2 | Summary(ja): 軽量な GTK+ ウェブブラウザ |
---|
| 3 | Name: midori |
---|
[7447] | 4 | Version: 0.4.8 |
---|
[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 \ |
---|
[7447] | 108 | --disable-zeitgeist \ |
---|
| 109 | configure --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 |
---|
[7447] | 159 | * Sun Feb 10 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.8-1 |
---|
| 160 | - new upstream release |
---|
| 161 | - fixed %%configure option |
---|
| 162 | - deleted --disable-hildon |
---|
| 163 | - added --disable-zeitgeist |
---|
| 164 | |
---|
[6845] | 165 | * Sat Sep 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.7-1 |
---|
| 166 | - new upstream release |
---|
| 167 | - refreshed patch0 |
---|
[7447] | 168 | - used GTK3 toolkit |
---|
[6845] | 169 | - added BuildRequires: WebKit3-gtk-devel, gtk3-devel >= 3.0.0, unique3-devel >= 0.9 |
---|
| 170 | |
---|
[6183] | 171 | * Tue May 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.6-1 |
---|
| 172 | - new upstream release |
---|
| 173 | - changed URL |
---|
| 174 | |
---|
[6049] | 175 | * Sun Apr 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.5-1 |
---|
| 176 | - new upstream release |
---|
| 177 | - changed BuildRequires: vala-devel >= 0.14 |
---|
| 178 | |
---|
[5877] | 179 | * Sat Mar 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.4-1 |
---|
| 180 | - new upstream release |
---|
| 181 | |
---|
[5299] | 182 | * Sun Dec 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.3-1 |
---|
| 183 | - new upstream release |
---|
| 184 | |
---|
[5138] | 185 | * Fri Nov 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.2-1 |
---|
| 186 | - new upstream release |
---|
| 187 | - changed BuildRequires: libsoup-devel >= 2.25.2 to >= 2.27.90, |
---|
| 188 | glib2-devel >= 2.16.0 to >= 2.22, WebKit-gtk-devel >= 1.1.6 to 1.1.17 |
---|
| 189 | |
---|
[4966] | 190 | * Thu Oct 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.1-2 |
---|
| 191 | - changed BuildRequires: docutils to python-docutils |
---|
| 192 | |
---|
[4931] | 193 | * Mon Oct 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.1-1 |
---|
| 194 | - new upstream release |
---|
| 195 | |
---|
[4463] | 196 | * Wed Aug 03 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.0-1 |
---|
| 197 | - new upstream release |
---|
| 198 | - refresh patch0 |
---|
| 199 | |
---|
[3956] | 200 | * Wed May 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.6-1 |
---|
| 201 | - new upstream release |
---|
| 202 | - added Patch0 to fix desktop entry |
---|
| 203 | |
---|
[3830] | 204 | * Tue May 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.5-1 |
---|
| 205 | - new upstream release |
---|
| 206 | |
---|
[3398] | 207 | * Sun Apr 10 2011 IWAI, Masaharu <iwai@alib.jp> 0.3.3-1 |
---|
| 208 | - new upstream release |
---|
| 209 | |
---|
[2785] | 210 | * Sun Feb 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.2-1 |
---|
| 211 | - new upstream release |
---|
| 212 | |
---|
[2620] | 213 | * Tue Feb 1 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.0-1 |
---|
| 214 | - new upstream release |
---|
| 215 | - dropt Patch0 |
---|
| 216 | |
---|
[2183] | 217 | * Sun Nov 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.9-1 |
---|
| 218 | - new upstream release |
---|
| 219 | - recreated patch0 |
---|
| 220 | - probed %%post and %%postun |
---|
| 221 | - added %%posttrans |
---|
| 222 | |
---|
[1948] | 223 | * Mon Sep 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.8-1 |
---|
| 224 | - new upstream release |
---|
| 225 | |
---|
[1674] | 226 | * Thu Aug 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.7-1 |
---|
| 227 | - new upstream release |
---|
| 228 | - disabled conditional branch to vala support |
---|
| 229 | - to preparation vala package on Vine 5 |
---|
| 230 | - splitted devel file |
---|
[3956] | 231 | - enabled BuildRequires: gtk-doc |
---|
[1674] | 232 | |
---|
[1092] | 233 | * Wed May 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.6-1 |
---|
| 234 | - new upstream release |
---|
| 235 | - deleted duplicate BuildRequires (librsvg2) |
---|
| 236 | - added BuildRequires: libXScrnSaver-devel |
---|
| 237 | - fixed BuildRoot path |
---|
| 238 | - applied conditional branch to vala support |
---|
[521] | 239 | |
---|
[1048] | 240 | * Thu May 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.5-1 |
---|
| 241 | - new upstream release |
---|
[1092] | 242 | - added BuildRequires: gtksourceview2-devel, intltool, libnotify-devel, librsvg2, |
---|
| 243 | vala-devel |
---|
[1048] | 244 | - added Patch0 from Fedora to fix docdir |
---|
| 245 | - improved %files section |
---|
| 246 | |
---|
[617] | 247 | * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.4-1 |
---|
| 248 | - new upstream release |
---|
| 249 | - applied new naming policy to spec |
---|
| 250 | |
---|
[521] | 251 | * Thu Feb 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.3-1 |
---|
| 252 | - new upstream release |
---|
| 253 | |
---|
| 254 | * Mon Dec 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.2-1 |
---|
| 255 | - new upstream release |
---|
| 256 | |
---|
| 257 | * Sat Nov 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.1-1 |
---|
| 258 | - new upstream release |
---|
| 259 | |
---|
| 260 | * Fri Oct 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.0-1 |
---|
| 261 | - new upstream release |
---|
| 262 | - fixed BuildRequires: perl-XML-Parser |
---|
| 263 | |
---|
| 264 | * Sun Sep 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.10-1 |
---|
| 265 | - new upstream release |
---|
| 266 | |
---|
| 267 | * Sun Aug 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.9-1 |
---|
| 268 | - new upstream release |
---|
| 269 | |
---|
| 270 | * Mon Jul 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-2 |
---|
| 271 | - added Japanese description |
---|
| 272 | - fixed BuildRequires: perl(XML::Parser) to perl-XML-Parser |
---|
| 273 | |
---|
| 274 | * Sun Jul 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-1 |
---|
| 275 | - new upstream release |
---|
| 276 | - few changed in %files seciton |
---|
| 277 | |
---|
| 278 | * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.6-1 |
---|
| 279 | - new upstream release |
---|
| 280 | - add BR: WebKit-gtk-devel >= 1.1.6 |
---|
| 281 | - add --disable-hildon to configure option |
---|
| 282 | |
---|
| 283 | * Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.4-1 |
---|
| 284 | - new upstream release |
---|
| 285 | - drop old ja.po |
---|
| 286 | |
---|
| 287 | * Mon Feb 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.1-1 |
---|
| 288 | - new upstream release |
---|
| 289 | |
---|
| 290 | * Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.19-1 |
---|
| 291 | - new upstream release |
---|
| 292 | - update ja.po |
---|
| 293 | |
---|
| 294 | * Fri Jul 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.18-1 |
---|
| 295 | - initial build for Vine Linux |
---|
| 296 | - add initial ja.po |
---|
| 297 | |
---|
| 298 | * Sat May 24 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.18-1 |
---|
| 299 | - Update to new upstream release (0.0.18), adds some translations and |
---|
| 300 | a lot of bug-fixes. |
---|
| 301 | - Alphabetize dependency list (aesthetic-only change). |
---|
| 302 | |
---|
| 303 | * Sat Apr 12 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-3 |
---|
| 304 | - Rebuild for updated WebKit library so-name and include directory. |
---|
| 305 | |
---|
| 306 | * Mon Mar 03 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-2 |
---|
| 307 | - Cleanups from review (bug 435661): |
---|
| 308 | (1) Fix consistency of tabs/spaces usage. |
---|
| 309 | (2) Fix source permissions. |
---|
| 310 | (3) Add desktop-file-utils build dependency. |
---|
| 311 | |
---|
| 312 | * Sun Mar 02 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-1 |
---|
| 313 | - Initial packaging for Fedora. |
---|