[1092] | 1 | Summary: A lightweight GTK+ web browser |
---|
[521] | 2 | Summary(ja): 軽量な GTK+ ウェブブラウザ |
---|
| 3 | Name: midori |
---|
[3956] | 4 | Version: 0.3.6 |
---|
[521] | 5 | Release: 1%{?_dist_release} |
---|
| 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 |
---|
[2620] | 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 | BuildRequires: WebKit-gtk-devel >= 1.1.6 |
---|
| 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 |
---|
| 31 | BuildRequires: glib2-devel >= 2.16.0 |
---|
| 32 | BuildRequires: gtk2-devel >= 2.10.0 |
---|
| 33 | BuildRequires: libsoup-devel >= 2.25.2 |
---|
| 34 | ## for Icon optimizations: /usr/bin/rsvg-convert |
---|
| 35 | BuildRequires: librsvg2 |
---|
| 36 | ## for User documentation |
---|
| 37 | BuildRequires: docutils |
---|
| 38 | ## for API documentation |
---|
[1674] | 39 | BuildRequires: gtk-doc |
---|
[521] | 40 | |
---|
[1048] | 41 | BuildRequires: gtksourceview2-devel |
---|
| 42 | BuildRequires: intltool |
---|
| 43 | BuildRequires: libnotify-devel |
---|
[1092] | 44 | BuildRequires: libXScrnSaver-devel |
---|
[2183] | 45 | BuildRequires: vala-devel |
---|
[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 | |
---|
[1674] | 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 |
---|
| 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,-) |
---|
| 148 | %doc %{_datadir}/gtk-doc/ |
---|
[1048] | 149 | %{_datadir}/vala/ |
---|
[2620] | 150 | %{_includedir}/%{name}-0.3/ |
---|
[521] | 151 | |
---|
[1092] | 152 | %changelog |
---|
[3956] | 153 | * Wed May 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.6-1 |
---|
| 154 | - new upstream release |
---|
| 155 | - added Patch0 to fix desktop entry |
---|
| 156 | |
---|
[3830] | 157 | * Tue May 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.5-1 |
---|
| 158 | - new upstream release |
---|
| 159 | |
---|
[3398] | 160 | * Sun Apr 10 2011 IWAI, Masaharu <iwai@alib.jp> 0.3.3-1 |
---|
| 161 | - new upstream release |
---|
| 162 | |
---|
[2785] | 163 | * Sun Feb 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.2-1 |
---|
| 164 | - new upstream release |
---|
| 165 | |
---|
[2620] | 166 | * Tue Feb 1 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.0-1 |
---|
| 167 | - new upstream release |
---|
| 168 | - dropt Patch0 |
---|
| 169 | |
---|
[2183] | 170 | * Sun Nov 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.9-1 |
---|
| 171 | - new upstream release |
---|
| 172 | - recreated patch0 |
---|
| 173 | - probed %%post and %%postun |
---|
| 174 | - added %%posttrans |
---|
| 175 | |
---|
[1948] | 176 | * Mon Sep 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.8-1 |
---|
| 177 | - new upstream release |
---|
| 178 | |
---|
[1674] | 179 | * Thu Aug 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.7-1 |
---|
| 180 | - new upstream release |
---|
| 181 | - disabled conditional branch to vala support |
---|
| 182 | - to preparation vala package on Vine 5 |
---|
| 183 | - splitted devel file |
---|
[3956] | 184 | - enabled BuildRequires: gtk-doc |
---|
[1674] | 185 | |
---|
[1092] | 186 | * Wed May 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.6-1 |
---|
| 187 | - new upstream release |
---|
| 188 | - deleted duplicate BuildRequires (librsvg2) |
---|
| 189 | - added BuildRequires: libXScrnSaver-devel |
---|
| 190 | - fixed BuildRoot path |
---|
| 191 | - applied conditional branch to vala support |
---|
[521] | 192 | |
---|
[1048] | 193 | * Thu May 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.5-1 |
---|
| 194 | - new upstream release |
---|
[1092] | 195 | - added BuildRequires: gtksourceview2-devel, intltool, libnotify-devel, librsvg2, |
---|
| 196 | vala-devel |
---|
[1048] | 197 | - added Patch0 from Fedora to fix docdir |
---|
| 198 | - improved %files section |
---|
| 199 | |
---|
[617] | 200 | * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.4-1 |
---|
| 201 | - new upstream release |
---|
| 202 | - applied new naming policy to spec |
---|
| 203 | |
---|
[521] | 204 | * Thu Feb 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.3-1 |
---|
| 205 | - new upstream release |
---|
| 206 | |
---|
| 207 | * Mon Dec 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.2-1 |
---|
| 208 | - new upstream release |
---|
| 209 | |
---|
| 210 | * Sat Nov 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.1-1 |
---|
| 211 | - new upstream release |
---|
| 212 | |
---|
| 213 | * Fri Oct 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.0-1 |
---|
| 214 | - new upstream release |
---|
| 215 | - fixed BuildRequires: perl-XML-Parser |
---|
| 216 | |
---|
| 217 | * Sun Sep 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.10-1 |
---|
| 218 | - new upstream release |
---|
| 219 | |
---|
| 220 | * Sun Aug 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.9-1 |
---|
| 221 | - new upstream release |
---|
| 222 | |
---|
| 223 | * Mon Jul 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-2 |
---|
| 224 | - added Japanese description |
---|
| 225 | - fixed BuildRequires: perl(XML::Parser) to perl-XML-Parser |
---|
| 226 | |
---|
| 227 | * Sun Jul 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-1 |
---|
| 228 | - new upstream release |
---|
| 229 | - few changed in %files seciton |
---|
| 230 | |
---|
| 231 | * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.6-1 |
---|
| 232 | - new upstream release |
---|
| 233 | - add BR: WebKit-gtk-devel >= 1.1.6 |
---|
| 234 | - add --disable-hildon to configure option |
---|
| 235 | |
---|
| 236 | * Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.4-1 |
---|
| 237 | - new upstream release |
---|
| 238 | - drop old ja.po |
---|
| 239 | |
---|
| 240 | * Mon Feb 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.1-1 |
---|
| 241 | - new upstream release |
---|
| 242 | |
---|
| 243 | * Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.19-1 |
---|
| 244 | - new upstream release |
---|
| 245 | - update ja.po |
---|
| 246 | |
---|
| 247 | * Fri Jul 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.18-1 |
---|
| 248 | - initial build for Vine Linux |
---|
| 249 | - add initial ja.po |
---|
| 250 | |
---|
| 251 | * Sat May 24 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.18-1 |
---|
| 252 | - Update to new upstream release (0.0.18), adds some translations and |
---|
| 253 | a lot of bug-fixes. |
---|
| 254 | - Alphabetize dependency list (aesthetic-only change). |
---|
| 255 | |
---|
| 256 | * Sat Apr 12 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-3 |
---|
| 257 | - Rebuild for updated WebKit library so-name and include directory. |
---|
| 258 | |
---|
| 259 | * Mon Mar 03 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-2 |
---|
| 260 | - Cleanups from review (bug 435661): |
---|
| 261 | (1) Fix consistency of tabs/spaces usage. |
---|
| 262 | (2) Fix source permissions. |
---|
| 263 | (3) Add desktop-file-utils build dependency. |
---|
| 264 | |
---|
| 265 | * Sun Mar 02 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-1 |
---|
| 266 | - Initial packaging for Fedora. |
---|