lutris/lutris.spec

65 lines
1.9 KiB
RPMSpec

Name: lutris
Version: 0.5.13
Release: 1mamba
Summary: Lutris helps you install and play video games from all eras and from most gaming systems
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/lutris/lutris
Source: https://github.com/lutris/lutris.git/v%{version}/lutris-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython310-devel
BuildRequires: python3.10dist(certifi)
BuildRequires: python3.10dist(dbus-python)
BuildRequires: python3.10dist(distro)
BuildRequires: python3.10dist(evdev)
BuildRequires: python3.10dist(lxml)
BuildRequires: python3.10dist(moddb)
BuildRequires: python3.10dist(pillow)
BuildRequires: python3.10dist(protobuf)
BuildRequires: python3.10dist(pygobject)
BuildRequires: python3.10dist(pypresence)
BuildRequires: python3.10dist(pyyaml)
BuildRequires: python3.10dist(requests)
## AUTOBUILDREQ-END
BuildRequires: scons
%description
Lutris helps you install and play video games from all eras and from most gaming systems.
#% debug_package
%prep
%setup -q
%build
CFLAGS="%{optflags}" %{__python310} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python310} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python310_inc} \
--install-lib=%{python310_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
#%find_lang %{name} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.filelist
%defattr(-,root,root)
%dir %{python310_sitearch}/%{name}-%{version}-py*.egg-info
%{python310_sitearch}/%{name}-%{version}-py*.egg-info/*
%doc AUTHORS LICENSE
%changelog
* Tue Jul 04 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.13-1mamba
- package created using the webbuild interface