File winetricks.spec of Package winetricks

# spec file for package winetricks
# Copyright (c) 2020 SUSE LLC
# 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

Name:           winetricks
Version:        20200412
Release:        0
Summary:        A way to work around problems in WINE
License:        LGPL-2.1-or-later
Group:          System/Emulators/PC
BuildRequires:  update-desktop-files
Requires:       wine
# some recommends for winetricks:
Recommends:     cabextract
Recommends:     unzip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Winetricks is a way to work around problems in Wine.

It has a menu of supported games/apps for which it can do all the
workarounds automatically. It also allows the installation of missing
DLLs and tweaking of various WINE settings.

%setup -q


make install DESTDIR=%{buildroot}

%suse_update_desktop_file -G Winetricks -r %{name} System Emulator

# %license works starting from SLE 15 and Leap 42.2
%if 0%{?suse_version} >= 1500 || ( 0%{?sle_version} >= 120200 && 0%{?is_opensuse} )
%license COPYING
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%dir %{_datadir}/metainfo

openSUSE Build Service is sponsored by