mirror of
https://github.com/lutris/lutris.git
synced 2026-06-22 21:00:01 -04:00
Add RPM build spec file
This commit is contained in:
63
lutris.spec
Normal file
63
lutris.spec
Normal file
@@ -0,0 +1,63 @@
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
|
||||
Name: lutris
|
||||
Version: 0.3.5
|
||||
Release: 3%{?dist}
|
||||
Summary: Install and play any video game easily
|
||||
|
||||
License: GPLv3+
|
||||
URL: http://lutris.net
|
||||
Source0: http://lutris.net/releases/lutris_%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel, pyxdg
|
||||
Requires: pygobject3, pyxdg, PyYAML
|
||||
|
||||
%description
|
||||
Install and play any video game easily
|
||||
Lutris is a gaming platform for GNU/Linux. Its goal is to make
|
||||
gaming on Linux as easy as possible by taking care of installing
|
||||
and setting up the game for the user. The only thing you have to
|
||||
do is play the game. It aims to support every game that is playable
|
||||
on Linux.
|
||||
|
||||
%prep
|
||||
%setup -n %{name} -q
|
||||
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%{_bindir}/lutris
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/glib-2.0/schemas/apps.%{name}.gschema.xml
|
||||
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||
%{_datadir}/lutris/
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
%{_datadir}/polkit-1/actions/*
|
||||
%{python_sitelib}/%{name}-%{version}-py2.7.egg-info
|
||||
%{python_sitelib}/lutris/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Sep 12 2014 Mathieu Comandon <strycore@gmail.com> - 0.3.5-1
|
||||
- Bump version to 0.3.5
|
||||
|
||||
* Thu Aug 14 2014 Travis Nickles <nickles.travis@gmail.com> - 0.3.4-3
|
||||
- Edited Requires to include pygobject3.
|
||||
|
||||
* Wed Jun 04 2014 Travis Nickles <nickles.travis@gmail.com> - 0.3.4-2
|
||||
- Changed build and install step based on template generated by
|
||||
rpmdev-newspec.
|
||||
- Added Requires.
|
||||
- Ensure package can be built using mock.
|
||||
|
||||
* Tue Jun 03 2014 Travis Nickles <nickles.travis@gmail.com> - 0.3.4-1
|
||||
- Initial version of the package
|
||||
Reference in New Issue
Block a user