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