Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:malkavi
lutris
lutris.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lutris.spec of Package lutris
%{!?__python3: %global __python3 /usr/bin/python3} %{!?python3_sitelib: %global python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?py3_build: %global py3_build CFLAGS="%{optflags}" %{__python3} setup.py build} %{!?py3_install: %global py3_install %{__python3} setup.py install --skip-build --root %{buildroot}} %global appid net.lutris.Lutris %define lutris_tar lutris-%{version} Name: lutris Version: 0.5.4 Release: 2%{?dist} Summary: Install and play any video game easily License: GPL-3.0+ Group: Amusements/Games/Other URL: http://lutris.net Source0: %{lutris_tar}.tar.gz BuildArch: noarch # Common build dependencies BuildRequires: desktop-file-utils BuildRequires: python3-devel %if 0%{?fedora} BuildRequires: python3-gobject, python3-wheel, python3-setuptools, python3-gobject Requires: python3-gobject, python3-PyYAML, cabextract, gnome-deskop3 Requires: gtk3, psmisc, xorg-x11-server-Xephyr, xorg-x11-server-utils Requires: python3-requests Recommends: wine-core %endif %if 0%{?rhel} || 0%{?centos} BuildRequires: python3-gobject Requires: python3-gobject, python3-PyYAML, cabextract %endif %if 0%{?suse_version} BuildRequires: python3-gobject, python3-gobject-Gdk, python3-setuptools, typelib-1_0-Gtk-3_0 #controller support BuildRequires: python3-evdev BuildRequires: update-desktop-files # Needed to workaround "directories not owned by a package" issue BuildRequires: hicolor-icon-theme BuildRequires: polkit BuildRequires: python3-setuptools Requires: (python3-gobject-Gdk or python3-gobject) Requires: python3-PyYAML, cabextract, typelib-1_0-Gtk-3_0 Requires: typelib-1_0-GnomeDesktop-3_0, typelib-1_0-WebKit2-4_0, typelib-1_0-Notify-0_7 Requires: fluid-soundfont-gm, python3-Pillow, python3-requests %endif %if 0%{?fedora} || 0%{?suse_version} BuildRequires: fdupes %ifarch x86_64 #Requires: mesa-vulkan-drivers(x86-32) Requires: vulkan-loader(x86-32) %endif #Requires: mesa-vulkan-drivers Requires: vulkan-loader Recommends: wine-core BuildRequires: fdupes %endif #!BuildIgnore: rpmlint-mini %description Lutris is a gaming platform for GNU/Linux. Its goal is to make gaming on Linux as easy as possible by taking care of installing and setting up the game for the user. The only thing you have to do is play the game. It aims to support every game that is playable on Linux. %prep %setup -q -n %{lutris_tar} %build %py3_build %install %py3_install %if 0%{?fedora} || 0%{?suse_version} %fdupes %{buildroot}%{python3_sitelib} %endif #desktop icon %if 0%{?suse_version} %suse_update_desktop_file -r -i %{appid} Network FileTransfer %endif %if 0%{?fedora} || 0%{?rhel} || 0%{?centos} desktop-file-install --dir=%{buildroot}%{_datadir}/applications share/applications/%{name}.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %endif %if 0%{?suse_version} >= 1140 %post %icon_theme_cache_post %desktop_database_post %endif %if 0%{?suse_version} >= 1140 %postun %icon_theme_cache_postun %desktop_database_postun %endif %files %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/metainfo/%{appid}.metainfo.xml %{_datadir}/applications/%{appid}.desktop %{_datadir}/icons/hicolor/*/apps/lutris.png %{_datadir}/icons/hicolor/scalable/apps/lutris.svg %{python3_sitelib}/%{name}-*.egg-info %{python3_sitelib}/%{name}/ /usr/share/man/man1/lutris.*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor