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