]>
Commit | Line | Data |
---|---|---|
936da1b5 JK |
1 | Summary: Lutris – open source gaming platform for GNU/Linux |
2 | Name: lutris | |
a303178d | 3 | Version: 0.4.20 |
936da1b5 JK |
4 | Release: 1 |
5 | License: GPL v3 | |
6 | Group: Applications | |
7 | Source0: https://lutris.net/releases/%{name}_%{version}.tar.xz | |
a303178d | 8 | # Source0-md5: 08db523ee6a82aa9a6b79e54686452b0 |
936da1b5 JK |
9 | URL: https://lutris.net/ |
10 | BuildRequires: python3-modules | |
11 | BuildRequires: python3-setuptools | |
12 | BuildRequires: rpm-pythonprov | |
13 | BuildRequires: rpmbuild(macros) >= 1.714 | |
14 | Requires: python3-modules | |
15 | Requires(post,postun): gtk-update-icon-cache | |
16 | Requires(post,postun): hicolor-icon-theme | |
17 | BuildArch: noarch | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Lutris is an open source gaming platform for GNU/Linux. It makes | |
22 | gaming on Linux easier by taking care of managing, installing and | |
23 | providing optimal settings for games. | |
24 | ||
25 | Lutris does not sell games, you have to provide your own copy of the | |
26 | games unless they are Open Source or Freeware. The games can be | |
27 | installed anywhere you want on your system, the tool does not impose | |
28 | anything. | |
29 | ||
30 | Lutris relies on various programs referenced as 'runners' to provide a | |
31 | vast library of games. These runners (with the exception of Steam and | |
32 | Web browsers) are provided by Lutris, you don't need to install them | |
33 | with your package manager. | |
34 | ||
35 | ||
36 | %prep | |
37 | %setup -q -n %{name} | |
38 | ||
39 | %build | |
40 | %py3_build | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %py3_install | |
46 | ||
47 | %post | |
48 | %update_desktop_database_post | |
49 | %update_icon_cache hicolor | |
50 | ||
51 | %postun | |
52 | %update_desktop_database_postun | |
53 | %update_icon_cache hicolor | |
54 | ||
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
61 | %doc AUTHORS CHANGELOG README.rst | |
62 | %attr(755,root,root) %{_bindir}/lutris | |
63 | %{_datadir}/appdata/%{name}.appdata.xml | |
64 | %{_desktopdir}/%{name}.desktop | |
65 | %{_iconsdir}/hicolor/*/apps/%{name}.* | |
66 | %dir %{_datadir}/%{name} | |
67 | %dir %{_datadir}/%{name}/bin | |
68 | %attr(755,root,root) %{_datadir}/%{name}/bin/* | |
69 | %{_datadir}/%{name}/controllers | |
70 | %{_datadir}/%{name}/media | |
71 | %{_datadir}/%{name}/ui | |
72 | %{_datadir}/polkit-1/actions/net.lutris.*.policy | |
73 | %{py3_sitescriptdir}/%{name} | |
74 | %{py3_sitescriptdir}/%{name}-%{version}-py*.egg-info |