File mingw64-midori.spec of Package mingw64-midori
#
# spec file for package mingw64-midori
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mingw64-midori
Version: 0.5.11
Release: 0
Summary: Lightweight Webkit-based Web Browser
License: LGPL-2.1-only
Group: Productivity/Networking/Web/Browsers
Url: http://midori-browser.org
Source: http://midori-browser.org/downloads/midori_%{version}_all_.tar.bz2
Patch0: midori-fix-vala_0.35.patch
BuildRequires: mingw64-cross-cmake
BuildRequires: glib2-devel
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem
BuildRequires: mingw64-glib2-devel
BuildRequires: mingw64-gtk2-devel
BuildRequires: mingw64-libidn-devel
BuildRequires: mingw64-libintl-devel
BuildRequires: mingw64-libnotify-devel
BuildRequires: mingw64-libsoup-devel
BuildRequires: mingw64-libsoup-gnome-devel
BuildRequires: mingw64-libunique-devel
BuildRequires: mingw64-libwebkitgtk-devel
BuildRequires: mingw64-libxml2-devel
BuildRequires: mingw64-sqlite-devel
BuildRequires: python
BuildRequires: rsvg-view
BuildRequires: vala
Requires: %{name}-lang
%_mingw64_package_header_debug
BuildArch: noarch
#!BuildIgnore: post-build-checks
%description
Midori is a lightweight web browser based on WebKit and GTK+. Its major
features are:
* Tabs, windows and session management.
* Flexibly configurable Web Search.
* User scripts and user styles support.
* Straightforward bookmark management.
* Customizable and extensible interface.
* Extensions written in C and Vala.
%_mingw64_debug_package
%lang_package
%prep
%setup -q -n midori-%{version}
%patch -P 0 -p1
%build
%{_mingw64_cmake} -DUSE_ZEITGEIST=OFF -DPKG_CONFIG_EXECUTABLE=%{_bindir}/%{_mingw64_target}-pkg-config
%{_mingw64_cmake_build}
%install
%{_mingw64_cmake_install}
%find_lang midori
%files
%defattr(-,root,root)
%{_mingw64_sysconfdir}/xdg/midori/extensions/adblock/config
%{_mingw64_sysconfdir}/xdg/midori/search
%{_mingw64_bindir}/midori.exe
%{_mingw64_bindir}/libmidori-core.dll
%{_mingw64_libdir}/midori/*.dll
%{_mingw64_datadir}/icons/hicolor/*
%{_mingw64_datadir}/midori/res/*
%{_mingw64_docdir}/midori
%files lang -f midori.lang
%defattr(-,root,root)
%changelog