mirror of
https://github.com/lutris/lutris
synced 2024-10-02 22:14:23 +00:00
Fixed a few errors regarding fedora in the spec file. Issue with .desktop file registration and the 'gnome-desktop3' runtime dependency.
This commit is contained in:
parent
e0d183bea9
commit
37864cbad5
18
lutris.spec
18
lutris.spec
|
@ -7,13 +7,13 @@
|
||||||
|
|
||||||
Name: lutris
|
Name: lutris
|
||||||
Version: 0.5.0.1
|
Version: 0.5.0.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Install and play any video game easily
|
Summary: Install and play any video game easily
|
||||||
|
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: Amusements/Games/Other
|
Group: Amusements/Games/Other
|
||||||
URL: http://lutris.net
|
URL: http://lutris.net
|
||||||
Source0: http://lutris.net/releases/lutris_%{version}.tar.xz
|
Source0: http://lutris.net/releases/lutris_%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
@ -23,10 +23,10 @@ BuildRequires: python3-devel
|
||||||
|
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
BuildRequires: python3-gobject, python3-wheel, python3-setuptools, python3-gobject
|
BuildRequires: python3-gobject, python3-wheel, python3-setuptools, python3-gobject
|
||||||
Requires: python3-gobject, python3-PyYAML, cabextract, gnome-deskop3
|
Requires: python3-gobject, python3-PyYAML, cabextract
|
||||||
Requires: gtk3, psmisc, xorg-x11-server-Xephyr, xorg-x11-server-utils
|
Requires: gtk3, psmisc, xorg-x11-server-Xephyr, xorg-x11-server-utils
|
||||||
Requires: python3-requests
|
Requires: python3-requests
|
||||||
Recommends: wine-core
|
Recommends: wine-core, gnome-deskop3
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel} || 0%{?centos}
|
%if 0%{?rhel} || 0%{?centos}
|
||||||
BuildRequires: python3-gobject
|
BuildRequires: python3-gobject
|
||||||
|
@ -51,12 +51,14 @@ BuildRequires: fdupes
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
Requires: mesa-vulkan-drivers(x86-32)
|
Requires: mesa-vulkan-drivers(x86-32)
|
||||||
Requires: vulkan-loader(x86-32)
|
Requires: vulkan-loader(x86-32)
|
||||||
|
Requires: mesa-libGL(x86-32)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Requires: mesa-vulkan-drivers
|
Requires: mesa-vulkan-drivers
|
||||||
Requires: vulkan-loader
|
Requires: vulkan-loader
|
||||||
Recommends: wine-core
|
Recommends: wine-core
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
Requires: mesa-libGL
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
#!BuildIgnore: rpmlint-mini
|
#!BuildIgnore: rpmlint-mini
|
||||||
|
@ -89,8 +91,8 @@ on Linux.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} || 0%{?centos}
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?centos}
|
||||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications share/applications/%{name}.desktop
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications share/applications/%{appid}.desktop
|
||||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
desktop-file-validate %{buildroot}%{_datadir}/applications/%{appid}.desktop
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1140
|
%if 0%{?suse_version} >= 1140
|
||||||
|
@ -123,6 +125,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||||
%{python3_sitelib}/%{name}/
|
%{python3_sitelib}/%{name}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 04 2019 Andrew Schott <andrew@schotty.com> - 0.5.0.1-3
|
||||||
|
- Moved fedora dependency of "gnome-desktop3" to recommends to resolve a snafu with the way it was packaged.
|
||||||
|
- Fixed the .desktop file registration (was using %{name}, needed %{appid})
|
||||||
|
|
||||||
* Tue Nov 29 2016 Mathieu Comandon <strycore@gmail.com> - 0.4.3
|
* Tue Nov 29 2016 Mathieu Comandon <strycore@gmail.com> - 0.4.3
|
||||||
- Ensure correct Python3 dependencies
|
- Ensure correct Python3 dependencies
|
||||||
- Set up Python macros for building (Thanks to Pharaoh_Atem on #opensuse-buildservice)
|
- Set up Python macros for building (Thanks to Pharaoh_Atem on #opensuse-buildservice)
|
||||||
|
|
Loading…
Reference in a new issue