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