Name: midori Version: 0.2.9 Release: 4%{?dist} Summary: A lightweight GTK+ web browser Group: Applications/Internet License: LGPLv2+ URL: http://software.twotoasts.de/?page=midori Source0: http://archive.xfce.org/src/apps/%{name}/0.2/%{name}-%{version}.tar.bz2 ## Fedora-specific: Set the default homepage to start.fedoraproject.org ## instead of Google. Patch0: %{name}-fedora-homepage.patch Patch1: midori-0.2.9-libnotify.patch # FIXME: Remove this patch in 0.2.10 because is has recently been fixed in git # Upstream bug: http://www.twotoasts.de/bugs/index.php?do=details&task_id=1007 Patch2: midori-0.2.9-docdir.patch # Already upstreamed in git # http://git.xfce.org/apps/midori/commit/?id=97a7ae9955d4264f922452d6933f3a0e1e4b03f6 Patch3: midori-0.2.9-crasher.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: gtk-doc BuildRequires: gtksourceview2-devel BuildRequires: intltool BuildRequires: libidn-devel BuildRequires: libnotify-devel BuildRequires: libsexy-devel BuildRequires: librsvg2 BuildRequires: libsoup-devel >= 2.25.2 BuildRequires: libtool BuildRequires: libxml2-devel BuildRequires: perl(XML::Parser) BuildRequires: python-docutils BuildRequires: sqlite-devel BuildRequires: unique-devel BuildRequires: vala BuildRequires: waf >= 1.5 BuildRequires: webkitgtk-devel >= 1.1.1 %description Midori is a lightweight web browser, and has many features expected of a modern browser, including: * Full integration with GTK+2. * Fast rendering with WebKit. * Tabs, windows and session management. * Bookmarks are stored with XBEL. * Searchbox based on OpenSearch. * Custom context menu actions. * User scripts and user styles support. * Extensible via Lua scripts. The project is currently in an early alpha state. The features are still being implemented, and some are still quite incomplete. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: vala %description devel The %{name}-devel package contains libraries and header files for developing extensions for %{name}. %prep %setup -q ## Use the system-provided waf, instead of the in-tarball copy. #rm -rf waf %patch0 -b .fedora-homepage %if 0%{?fedora} >= 15 %patch1 -p1 -b .libnotify-0.7.0 %endif %patch2 -p1 -b .docdir %patch3 -p1 -b .crasher %build export CFLAGS="%{optflags}" ## Currently does not build against Fedora waf #waf --prefix=%{_usr} \ ./waf --prefix=%{_usr} \ --docdir=%{_docdir}/%{name}-%{version} \ --libdir=%{_libdir} \ --enable-apidocs \ configure #waf %{?_smp_mflags} build ./waf %{?_smp_mflags} build %install rm -rf %{buildroot} #waf --destdir=%{buildroot} install ./waf --destdir=%{buildroot} install %find_lang %{name} desktop-file-install \ --vendor fedora \ --delete-original \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop # needed because of a bug in the waf files, remove when fixed mkdir -p %{buildroot}%{_datadir}/gtk-doc/html/%{name} install -Dpm 644 _build_/docs/api/midori/html/* \ %{buildroot}%{_datadir}/gtk-doc/html/%{name} %clean rm -rf %{buildroot} %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %doc %{_docdir}/%{name}-%{version}/ %{_bindir}/midori %{_datadir}/applications/fedora-%{name}.desktop %{_datadir}/icons/*/*/apps/%{name}.* %{_datadir}/icons/*/*/categories/extension.* %{_datadir}/icons/*/*/status/news-feed.* %{_datadir}/%{name}/ %{_libdir}/%{name}/ %{_sysconfdir}/xdg/%{name}/ #%config(noreplace) %{_sysconfdir}/%{name}/extensions/*/config #%{_sysconfdir}/%{name}/ %files devel %defattr(-,root,root,-) %doc %{_datadir}/gtk-doc/ %{_includedir}/* %{_datadir}/vala/vapi/* %changelog * Sun Jan 09 2011 Kevin Fenzi - 0.2.9-4 - Add patch to fix crasher on links. * Sat Jan 08 2011 Christoph Wickert - 0.2.9-3 - Add docdir patch again, problem was not fixed properly upstream * Fri Nov 05 2010 Kevin Fenzi - 0.2.9-2 - Add patch for new libnotify * Sun Oct 31 2010 Kevin Fenzi - 0.2.9-1 - Update to 0.2.9 * Wed Sep 29 2010 jkeating - 0.2.8-2 - Rebuilt for gcc bug 634757 * Mon Sep 20 2010 Christoph Wickert - 0.2.8-1 - Update to 0.2.8 * Tue Aug 24 2010 Christoph Wickert - 0.2.7-1 - Update to 0.2.7 - Build separate devel package - BuildRequire vala - Include gtk-doc * Tue Jul 06 2010 Peter Gordon - 0.2.6-2 - Rebuild for WebKitGTK+ ABI bump. * Mon May 24 2010 Adam Miller - 0.2.6-1 - Update to 0.2.6 * Tue May 18 2010 Christoph Wickert - 0.2.5 - Update to 0.2.5 * Sun Mar 21 2010 Christoph Wickert - 0.2.4-1 - Update to 0.2.4 - Fix docs location (#523778) - Update gtk icon cache scriptlets * Sat Feb 20 2010 Adam Miller - 0.2.3-1 - Update to 0.2.3 - spec patch by Kevin Fenzi * Fri Jan 29 2010 Peter Gordon - 0.2.2-2 - Apply patch to set the Fedora-specific default homepage (start.fedoraproject.org), for consistency with other browser packages such as Firefox and Epiphany. + fedora-homepage.patch - Resolves: #559740 (Home page is not start.fedoraproject.org) * Wed Dec 16 2009 Adam Miller - 0.2.2-1 - Update to new upstream release (0.2.2) * Wed Dec 02 2009 Adam Miller - 0.2.1-1 - Update to new upstream release (0.2.1) * Tue Oct 20 2009 Peter Gordon - 0.2.0-1 - Update to new upstream release (0.2.0): Drag-scroll on touchscreen devices, Speed Dial fixes, faster AdBlock (for all WebKitGTK+ versions), updated DNS and IDN handling, new form history extension, various bookmark and history fixes. * Tue Sep 15 2009 Peter Gordon - 0.1.10-1 - Update to new upstream release (0.1.10): Updated AdBlock for WebKitGTK+ 1.1.14, improved address completion, fixes for tab and feed handling, better desktop integration, and Undo/Redo support - among other bugfixes and enhancements. * Wed Aug 05 2009 Peter Gordon - 0.1.9-1 - Update to new upstream release (0.1.9): lots of fixes and updates for tab functionality and the tab panel, as well as menu fixes, and enhancements for deleting private data with just a few simple clicks! - Revert to using the system waf, now that it no longer causes Python errors when compiling. * Sat Jul 25 2009 Fedora Release Engineering - 0.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Jun 03 2009 Peter Gordon - 0.1.7-1 - Update to new upstream release (0.1.7): Implements saving activation state of extensions, ignore mouse buttons used for horizontal scrolling, panel handling improvements, adds "Feed Panel" extension, friendlier error pages, and spell checking support; libnotify support for finished transfers, introduces basic @-moz-document user style support, and additional tabs/font preferences. * Mon Apr 20 2009 Peter Gordon - 0.1.6-2 - Re-enable libunique support, thanks to it being updated accordingly. * Sun Apr 19 2009 Peter Gordon - 0.1.6-1 - Update to new upstream release (0.1.6): Implements "Clear private data," "Default" search engine, support "mailto:" links and news feeds with external aggregators, "data:" URIs, and external download manager, and a new Cookie Manager extension. Also fixes several memory leaks and performance bugs. * Sat Apr 11 2009 Peter Gordon - 0.1.5-2 - Update to new upstream release (0.1.5): download support (with WebKitGTK 1.1.3+), a new "Colorful Tabs" extension, and saving of extension settings. - Temporarily switch to building using the in-tarball waf (FTBFS otherwise). - Temporarily disable libunique (single-instance) support, as it's broken with libunique 1.0.4 (which is the current in rawhide). * Tue Mar 10 2009 Peter Gordon - 0.1.4-2 - Build against the recently-updated libidn for proper IDN support. * Mon Mar 09 2009 Peter Gordon - Add TODO note about libidn support. (Thanks to Kevin Fenzi via IRC.) * Sat Mar 07 2009 Peter Gordon - 0.1.4-1 - Update to new upstream release (0.1.4): mostly small usability fixes and related improvements. - Drop upstreamed no-git patch. - no-git.patch * Wed Feb 25 2009 Fedora Release Engineering - 0.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Feb 22 2009 Peter Gordon - 0.1.3-1 - Update to new upstream release (0.1.3): support for bookmark folders, full image zoom, and "Find as you type" (among other enhancements). - Add patch to remove git build-time dependency: + no-git.patch * Sat Jan 31 2009 Peter Gordon - 0.1.2-1 - Update to new upstream release (0.1.2): support for bookmarklets ("javascript:foo" URLs and bookmarks), better persistent cookie support, preference changes saved dynamically. Lots of startup fixes for speed issues, too. :) * Sat Dec 20 2008 Peter Gordon - 0.1.1-1 - Update to new upstream release (0.1.1): contains many enhancements and bugfixes - including error pages, basic documentation, panel history support, icon caching, libsoup integration, support for WebKit's Inspector functionality, and the beginnings of support for runtime extensions (in C). * Tue Sep 09 2008 Peter Gordon - 0.0.21-1 - Update to new upstream release (0.0.21): contains updated translations, fixes for GVFS-->GIO regressions, and various aesthetic enhancements. (See the included ChangeLog for full details.) - Update Source0 URL. * Sun Sep 07 2008 Peter Gordon - 0.0.20-2 - Add scriplets for GTK+ icon cache. * Sun Sep 07 2008 Peter Gordon - 0.0.20-1 - Update to new upstream release (0.0.20): adds support for single instances, some userscripts and Greasemonkey scripting, zooming and printing, as well as enhanced news feed detection and session-saving (among other improvements). - Switch to WAF build system. * Fri Aug 8 2008 Tom "spot" Callaway - 0.0.18-2 - fix license tag * Sat May 24 2008 Peter Gordon - 0.0.18-1 - Update to new upstream release (0.0.18), adds some translations and a lot of bug-fixes. - Alphabetize dependency list (aesthetic-only change). * Sat Apr 12 2008 Peter Gordon - 0.0.17-3 - Rebuild for updated WebKit library so-name and include directory. * Mon Mar 03 2008 Peter Gordon - 0.0.17-2 - Cleanups from review (bug 435661): (1) Fix consistency of tabs/spaces usage. (2) Fix source permissions. (3) Add desktop-file-utils build dependency. * Sun Mar 02 2008 Peter Gordon - 0.0.17-1 - Initial packaging for Fedora.