]> git.pld-linux.org Git - SPECS.git/blob - lutris.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / lutris.spec
1 Summary:        Lutris – open source gaming platform for GNU/Linux
2 Name:           lutris
3 Version:        0.5.1.2
4 Release:        3
5 License:        GPL v3
6 Group:          Applications
7 Source0:        https://lutris.net/releases/%{name}_%{version}.tar.xz
8 # Source0-md5:  ed2795994bf78f05816076ed634959e8
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 %attr(755,root,root) %{_bindir}/lutris-wrapper
64 %{_datadir}/metainfo/net.lutris.Lutris.appdata.xml
65 %{_desktopdir}/net.lutris.Lutris.desktop
66 %{_iconsdir}/hicolor/*/apps/%{name}.*
67 %dir %{_datadir}/%{name}
68 %dir %{_datadir}/%{name}/bin
69 %attr(755,root,root) %{_datadir}/%{name}/bin/*
70 %{_datadir}/%{name}/icons
71 %{_datadir}/%{name}/media
72 %{_datadir}/%{name}/ui
73 %{_datadir}/polkit-1/actions/net.lutris.*.policy
74 %{py3_sitescriptdir}/%{name}
75 %{py3_sitescriptdir}/%{name}-%{version}-py*.egg-info
This page took 0.061036 seconds and 3 git commands to generate.