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