]> git.pld-linux.org Git - packages/lutris.git/blame - lutris.spec
Version: 0.4.20
[packages/lutris.git] / lutris.spec
CommitLineData
936da1b5
JK
1Summary: Lutris – open source gaming platform for GNU/Linux
2Name: lutris
a303178d 3Version: 0.4.20
936da1b5
JK
4Release: 1
5License: GPL v3
6Group: Applications
7Source0: https://lutris.net/releases/%{name}_%{version}.tar.xz
a303178d 8# Source0-md5: 08db523ee6a82aa9a6b79e54686452b0
936da1b5
JK
9URL: https://lutris.net/
10BuildRequires: python3-modules
11BuildRequires: python3-setuptools
12BuildRequires: rpm-pythonprov
13BuildRequires: rpmbuild(macros) >= 1.714
14Requires: python3-modules
15Requires(post,postun): gtk-update-icon-cache
16Requires(post,postun): hicolor-icon-theme
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Lutris is an open source gaming platform for GNU/Linux. It makes
22gaming on Linux easier by taking care of managing, installing and
23providing optimal settings for games.
24
25Lutris does not sell games, you have to provide your own copy of the
26games unless they are Open Source or Freeware. The games can be
27installed anywhere you want on your system, the tool does not impose
28anything.
29
30Lutris relies on various programs referenced as 'runners' to provide a
31vast library of games. These runners (with the exception of Steam and
32Web browsers) are provided by Lutris, you don't need to install them
33with your package manager.
34
35
36%prep
37%setup -q -n %{name}
38
39%build
40%py3_build
41
42%install
43rm -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
57rm -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
This page took 0.082747 seconds and 4 git commands to generate.