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