From cd2d6c2bb152786250d070164aa8e54026de61f6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:32:40 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.5.13-1mamba;Tue Jul 04 2023] --- README.md | 1 + lutris.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 lutris.spec diff --git a/README.md b/README.md index 984942e..fffa9cc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # lutris +Lutris helps you install and play video games from all eras and from most gaming systems. diff --git a/lutris.spec b/lutris.spec new file mode 100644 index 0000000..93f9c9a --- /dev/null +++ b/lutris.spec @@ -0,0 +1,64 @@ +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 +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 0.5.13-1mamba +- package created using the webbuild interface