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