File wine-gecko.spec of Package wine-gecko
#
# spec file for package wine-gecko
#
# Copyright (c) 2011 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: wine-gecko
BuildRequires: cabextract
License: MPL 1.1 or later
Group: Development/Tools/Other
AutoReqProv: on
Summary: The Wine specific Gecko HTML rendering engine
Version: 1.1.0
Release: 4
Source0: http://downloads.sourceforge.net/wine/wine_gecko-%{version}-x86.cab
Source1: http://downloads.sourceforge.net/wine/wine_gecko-%{version}-x86_64.cab
BuildArch: noarch
# Source of this CAB is at:
# http://wine.git.sourceforge.net/git/gitweb.cgi?p=wine/wine-gecko;a=summary
# build instructions are at http://wiki.winehq.org/BuildingWineGecko
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: wine
%description
This package contains the prepackaged Win32 Gecko rendering engine for use by Wine.
%prep
# this is only for "LICENSE"
cabextract %{SOURCE0}
%install
mkdir -p $RPM_BUILD_ROOT/usr/share/wine/gecko
cp %{SOURCE0} $RPM_BUILD_ROOT/usr/share/wine/gecko
cp %{SOURCE1} $RPM_BUILD_ROOT/usr/share/wine/gecko
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc wine_gecko/LICENSE wine_gecko/VERSION
%dir /usr/share/wine
%dir /usr/share/wine/gecko
/usr/share/wine/gecko/*cab
%changelog