[1092] | 1 | Summary: A lightweight GTK+ web browser |
---|
[521] | 2 | Summary(ja): 軽量な GTK+ ウェブブラウザ |
---|
| 3 | Name: midori |
---|
[7613] | 4 | Version: 0.5.0 |
---|
[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 |
---|
[7613] | 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 |
---|
[7613] | 100 | #%patch0 -p1 |
---|
| 101 | sed -i '18,32d' data/midori.desktop.in |
---|
[521] | 102 | |
---|
| 103 | %build |
---|
| 104 | export CFLAGS="%{optflags}" |
---|
| 105 | ./waf --prefix=%{_usr} \ |
---|
| 106 | --docdir=%{_docdir}/%{name}-%{version} \ |
---|
| 107 | --libdir=%{_libdir} \ |
---|
[1674] | 108 | --enable-apidocs \ |
---|
[7447] | 109 | --disable-zeitgeist \ |
---|
| 110 | configure --enable-gtk3 |
---|
[521] | 111 | ./waf %{?_smp_mflags} build |
---|
| 112 | |
---|
| 113 | %install |
---|
| 114 | rm -rf %{buildroot} |
---|
| 115 | ./waf --destdir=%{buildroot} install |
---|
| 116 | %find_lang %{name} |
---|
| 117 | desktop-file-install \ |
---|
| 118 | --vendor "" \ |
---|
| 119 | --delete-original \ |
---|
| 120 | --dir %{buildroot}%{_datadir}/applications \ |
---|
| 121 | %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
| 122 | |
---|
[6049] | 123 | #mkdir -p %{buildroot}%{_datadir}/gtk-doc/html/%{name} |
---|
| 124 | #install -Dpm 644 _build_/docs/api/midori/html/* \ |
---|
| 125 | # %{buildroot}%{_datadir}/gtk-doc/html/%{name} |
---|
[521] | 126 | |
---|
| 127 | %clean |
---|
| 128 | rm -rf %{buildroot} |
---|
| 129 | |
---|
| 130 | %post |
---|
[2183] | 131 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
[521] | 132 | |
---|
[2183] | 133 | |
---|
[521] | 134 | %postun |
---|
[2183] | 135 | if [ $1 -eq 0 ] ; then |
---|
| 136 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
| 137 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
[521] | 138 | fi |
---|
| 139 | |
---|
[2183] | 140 | %posttrans |
---|
| 141 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 142 | |
---|
[521] | 143 | %files -f %{name}.lang |
---|
| 144 | %defattr(-,root,root,-) |
---|
[1048] | 145 | %doc %{_docdir}/%{name}-%{version}/ |
---|
[521] | 146 | %{_bindir}/midori |
---|
[4931] | 147 | %{_datadir}/applications/%{name}*.desktop |
---|
[1674] | 148 | %{_datadir}/icons/hicolor/* |
---|
[1048] | 149 | %{_datadir}/%{name}/ |
---|
| 150 | %{_libdir}/%{name}/ |
---|
| 151 | %{_sysconfdir}/xdg/%{name}/ |
---|
[1092] | 152 | |
---|
[1674] | 153 | %files devel |
---|
| 154 | %defattr(-,root,root,-) |
---|
[6049] | 155 | #%doc %{_datadir}/gtk-doc/ |
---|
[1048] | 156 | %{_datadir}/vala/ |
---|
[7613] | 157 | %{_includedir}/%{name}-0.5/ |
---|
[521] | 158 | |
---|
[1092] | 159 | %changelog |
---|
[7613] | 160 | * Sat Apr 06 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.0-1 |
---|
| 161 | - new upstream release |
---|
| 162 | - run sed to delete disused code instead of Patch |
---|
| 163 | |
---|
[7599] | 164 | * Sat Mar 30 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.9-1 |
---|
| 165 | - new upstream release |
---|
| 166 | - refreshed patch0 |
---|
| 167 | |
---|
[7447] | 168 | * Sun Feb 10 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.8-1 |
---|
| 169 | - new upstream release |
---|
| 170 | - fixed %%configure option |
---|
| 171 | - deleted --disable-hildon |
---|
| 172 | - added --disable-zeitgeist |
---|
| 173 | |
---|
[6845] | 174 | * Sat Sep 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.7-1 |
---|
| 175 | - new upstream release |
---|
| 176 | - refreshed patch0 |
---|
[7447] | 177 | - used GTK3 toolkit |
---|
[6845] | 178 | - added BuildRequires: WebKit3-gtk-devel, gtk3-devel >= 3.0.0, unique3-devel >= 0.9 |
---|
| 179 | |
---|
[6183] | 180 | * Tue May 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.6-1 |
---|
| 181 | - new upstream release |
---|
| 182 | - changed URL |
---|
| 183 | |
---|
[6049] | 184 | * Sun Apr 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.5-1 |
---|
| 185 | - new upstream release |
---|
| 186 | - changed BuildRequires: vala-devel >= 0.14 |
---|
| 187 | |
---|
[5877] | 188 | * Sat Mar 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.4-1 |
---|
| 189 | - new upstream release |
---|
| 190 | |
---|
[5299] | 191 | * Sun Dec 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.3-1 |
---|
| 192 | - new upstream release |
---|
| 193 | |
---|
[5138] | 194 | * Fri Nov 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.2-1 |
---|
| 195 | - new upstream release |
---|
| 196 | - changed BuildRequires: libsoup-devel >= 2.25.2 to >= 2.27.90, |
---|
| 197 | glib2-devel >= 2.16.0 to >= 2.22, WebKit-gtk-devel >= 1.1.6 to 1.1.17 |
---|
| 198 | |
---|
[4966] | 199 | * Thu Oct 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.1-2 |
---|
| 200 | - changed BuildRequires: docutils to python-docutils |
---|
| 201 | |
---|
[4931] | 202 | * Mon Oct 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.1-1 |
---|
| 203 | - new upstream release |
---|
| 204 | |
---|
[4463] | 205 | * Wed Aug 03 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.0-1 |
---|
| 206 | - new upstream release |
---|
| 207 | - refresh patch0 |
---|
| 208 | |
---|
[3956] | 209 | * Wed May 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.6-1 |
---|
| 210 | - new upstream release |
---|
| 211 | - added Patch0 to fix desktop entry |
---|
| 212 | |
---|
[3830] | 213 | * Tue May 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.5-1 |
---|
| 214 | - new upstream release |
---|
| 215 | |
---|
[3398] | 216 | * Sun Apr 10 2011 IWAI, Masaharu <iwai@alib.jp> 0.3.3-1 |
---|
| 217 | - new upstream release |
---|
| 218 | |
---|
[2785] | 219 | * Sun Feb 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.2-1 |
---|
| 220 | - new upstream release |
---|
| 221 | |
---|
[2620] | 222 | * Tue Feb 1 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.0-1 |
---|
| 223 | - new upstream release |
---|
| 224 | - dropt Patch0 |
---|
| 225 | |
---|
[2183] | 226 | * Sun Nov 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.9-1 |
---|
| 227 | - new upstream release |
---|
| 228 | - recreated patch0 |
---|
| 229 | - probed %%post and %%postun |
---|
| 230 | - added %%posttrans |
---|
| 231 | |
---|
[1948] | 232 | * Mon Sep 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.8-1 |
---|
| 233 | - new upstream release |
---|
| 234 | |
---|
[1674] | 235 | * Thu Aug 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.7-1 |
---|
| 236 | - new upstream release |
---|
| 237 | - disabled conditional branch to vala support |
---|
| 238 | - to preparation vala package on Vine 5 |
---|
| 239 | - splitted devel file |
---|
[3956] | 240 | - enabled BuildRequires: gtk-doc |
---|
[1674] | 241 | |
---|
[1092] | 242 | * Wed May 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.6-1 |
---|
| 243 | - new upstream release |
---|
| 244 | - deleted duplicate BuildRequires (librsvg2) |
---|
| 245 | - added BuildRequires: libXScrnSaver-devel |
---|
| 246 | - fixed BuildRoot path |
---|
| 247 | - applied conditional branch to vala support |
---|
[521] | 248 | |
---|
[1048] | 249 | * Thu May 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.5-1 |
---|
| 250 | - new upstream release |
---|
[1092] | 251 | - added BuildRequires: gtksourceview2-devel, intltool, libnotify-devel, librsvg2, |
---|
| 252 | vala-devel |
---|
[1048] | 253 | - added Patch0 from Fedora to fix docdir |
---|
| 254 | - improved %files section |
---|
| 255 | |
---|
[617] | 256 | * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.4-1 |
---|
| 257 | - new upstream release |
---|
| 258 | - applied new naming policy to spec |
---|
| 259 | |
---|
[521] | 260 | * Thu Feb 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.3-1 |
---|
| 261 | - new upstream release |
---|
| 262 | |
---|
| 263 | * Mon Dec 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.2-1 |
---|
| 264 | - new upstream release |
---|
| 265 | |
---|
| 266 | * Sat Nov 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.1-1 |
---|
| 267 | - new upstream release |
---|
| 268 | |
---|
| 269 | * Fri Oct 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.0-1 |
---|
| 270 | - new upstream release |
---|
| 271 | - fixed BuildRequires: perl-XML-Parser |
---|
| 272 | |
---|
| 273 | * Sun Sep 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.10-1 |
---|
| 274 | - new upstream release |
---|
| 275 | |
---|
| 276 | * Sun Aug 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.9-1 |
---|
| 277 | - new upstream release |
---|
| 278 | |
---|
| 279 | * Mon Jul 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-2 |
---|
| 280 | - added Japanese description |
---|
| 281 | - fixed BuildRequires: perl(XML::Parser) to perl-XML-Parser |
---|
| 282 | |
---|
| 283 | * Sun Jul 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-1 |
---|
| 284 | - new upstream release |
---|
| 285 | - few changed in %files seciton |
---|
| 286 | |
---|
| 287 | * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.6-1 |
---|
| 288 | - new upstream release |
---|
| 289 | - add BR: WebKit-gtk-devel >= 1.1.6 |
---|
| 290 | - add --disable-hildon to configure option |
---|
| 291 | |
---|
| 292 | * Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.4-1 |
---|
| 293 | - new upstream release |
---|
| 294 | - drop old ja.po |
---|
| 295 | |
---|
| 296 | * Mon Feb 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.1-1 |
---|
| 297 | - new upstream release |
---|
| 298 | |
---|
| 299 | * Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.19-1 |
---|
| 300 | - new upstream release |
---|
| 301 | - update ja.po |
---|
| 302 | |
---|
| 303 | * Fri Jul 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.18-1 |
---|
| 304 | - initial build for Vine Linux |
---|
| 305 | - add initial ja.po |
---|
| 306 | |
---|
| 307 | * Sat May 24 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.18-1 |
---|
| 308 | - Update to new upstream release (0.0.18), adds some translations and |
---|
| 309 | a lot of bug-fixes. |
---|
| 310 | - Alphabetize dependency list (aesthetic-only change). |
---|
| 311 | |
---|
| 312 | * Sat Apr 12 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-3 |
---|
| 313 | - Rebuild for updated WebKit library so-name and include directory. |
---|
| 314 | |
---|
| 315 | * Mon Mar 03 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-2 |
---|
| 316 | - Cleanups from review (bug 435661): |
---|
| 317 | (1) Fix consistency of tabs/spaces usage. |
---|
| 318 | (2) Fix source permissions. |
---|
| 319 | (3) Add desktop-file-utils build dependency. |
---|
| 320 | |
---|
| 321 | * Sun Mar 02 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-1 |
---|
| 322 | - Initial packaging for Fedora. |
---|