[packages/lutris] new package

jajcus jajcus at pld-linux.org
Tue Jul 17 13:17:15 CEST 2018


commit 936da1b5272874b28dde5e734a66c004f4c039a9
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Tue Jul 17 13:16:52 2018 +0200

    new package

 lutris.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)
---
diff --git a/lutris.spec b/lutris.spec
new file mode 100644
index 0000000..e96691d
--- /dev/null
+++ b/lutris.spec
@@ -0,0 +1,74 @@
+Summary:	Lutris – open source gaming platform for GNU/Linux
+Name:		lutris
+Version:	0.4.18
+Release:	1
+License:	GPL v3
+Group:		Applications
+Source0:	https://lutris.net/releases/%{name}_%{version}.tar.xz
+# Source0-md5:	f4f3eccdbad3481b6927ce0b3c8a40a1
+URL:		https://lutris.net/
+BuildRequires:	python3-modules
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules
+Requires(post,postun):	gtk-update-icon-cache
+Requires(post,postun):	hicolor-icon-theme
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Lutris is an open source gaming platform for GNU/Linux. It makes
+gaming on Linux easier by taking care of managing, installing and
+providing optimal settings for games.
+
+Lutris does not sell games, you have to provide your own copy of the
+games unless they are Open Source or Freeware. The games can be
+installed anywhere you want on your system, the tool does not impose
+anything.
+
+Lutris relies on various programs referenced as 'runners' to provide a
+vast library of games. These runners (with the exception of Steam and
+Web browsers) are provided by Lutris, you don't need to install them
+with your package manager.
+
+
+%prep
+%setup -q -n %{name}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%post
+%update_desktop_database_post
+%update_icon_cache hicolor
+
+%postun
+%update_desktop_database_postun
+%update_icon_cache hicolor
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CHANGELOG README.rst
+%attr(755,root,root) %{_bindir}/lutris
+%{_datadir}/appdata/%{name}.appdata.xml
+%{_desktopdir}/%{name}.desktop
+%{_iconsdir}/hicolor/*/apps/%{name}.*
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/bin
+%attr(755,root,root) %{_datadir}/%{name}/bin/*
+%{_datadir}/%{name}/controllers
+%{_datadir}/%{name}/media
+%{_datadir}/%{name}/ui
+%{_datadir}/polkit-1/actions/net.lutris.*.policy
+%{py3_sitescriptdir}/%{name}
+%{py3_sitescriptdir}/%{name}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lutris.git/commitdiff/936da1b5272874b28dde5e734a66c004f4c039a9



More information about the pld-cvs-commit mailing list