2017-05-31 18:48:53 +00:00
|
|
|
%global appid net.lutris.Lutris
|
|
|
|
|
2014-09-11 23:26:48 +00:00
|
|
|
Name: lutris
|
2023-10-16 14:32:46 +00:00
|
|
|
Version: 0.5.14
|
2019-02-07 00:14:16 +00:00
|
|
|
Release: 7%{?dist}
|
2021-03-22 23:38:23 +00:00
|
|
|
Summary: Video game preservation platform
|
2014-09-11 23:26:48 +00:00
|
|
|
|
2015-12-13 21:48:03 +00:00
|
|
|
License: GPL-3.0+
|
2015-12-14 14:14:18 +00:00
|
|
|
Group: Amusements/Games/Other
|
2014-09-11 23:26:48 +00:00
|
|
|
URL: http://lutris.net
|
2019-02-06 22:04:44 +00:00
|
|
|
Source0: http://lutris.net/releases/lutris_%{version}.tar.xz
|
2014-09-11 23:26:48 +00:00
|
|
|
BuildArch: noarch
|
2014-10-30 16:11:20 +00:00
|
|
|
|
2015-12-12 14:34:46 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2016-10-15 04:08:04 +00:00
|
|
|
BuildRequires: python3-devel
|
2016-11-29 22:42:12 +00:00
|
|
|
BuildRequires: python3-gobject
|
2023-09-12 02:01:08 +00:00
|
|
|
BuildRequires: python-wheel
|
2023-10-17 15:09:08 +00:00
|
|
|
BuildRequires: python-setuptools
|
2019-02-13 15:46:20 +00:00
|
|
|
BuildRequires: fdupes
|
2023-09-12 02:01:08 +00:00
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: gettext
|
|
|
|
Requires: python3-gobject
|
|
|
|
Requires: python3-PyYAML
|
|
|
|
Requires: python3-requests
|
|
|
|
Requires: python3-dbus
|
|
|
|
Requires: python3-evdev
|
|
|
|
Requires: python3-distro
|
|
|
|
Requires: python3-pillow
|
|
|
|
Requires: cabextract
|
|
|
|
Requires: mesa-vulkan-drivers
|
|
|
|
Requires: vulkan-loader
|
|
|
|
Recommends: wine-core
|
2019-01-02 04:42:15 +00:00
|
|
|
|
|
|
|
%ifarch x86_64
|
|
|
|
Requires: mesa-vulkan-drivers(x86-32)
|
|
|
|
Requires: vulkan-loader(x86-32)
|
|
|
|
%endif
|
|
|
|
|
2019-02-06 22:16:16 +00:00
|
|
|
%if 0%{?fedora}
|
2023-09-12 02:01:08 +00:00
|
|
|
Requires: gtk3, psmisc, xrandr
|
|
|
|
Requires: gnome-desktop3
|
|
|
|
Requires: mesa-libGL
|
2019-02-06 22:16:16 +00:00
|
|
|
%ifarch x86_64
|
2019-02-06 22:11:43 +00:00
|
|
|
Requires: mesa-libGL(x86-32)
|
2015-12-14 14:14:18 +00:00
|
|
|
%endif
|
2019-02-06 22:16:16 +00:00
|
|
|
%endif
|
2015-12-14 14:14:18 +00:00
|
|
|
|
2023-09-12 02:01:08 +00:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: typelib-1_0-Gtk-3_0
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
Requires: typelib-1_0-Gtk-3_0
|
|
|
|
Requires: typelib-1_0-GnomeDesktop-3_0
|
|
|
|
Requires: typelib-1_0-WebKit2-4_0
|
|
|
|
Requires: typelib-1_0-Notify-0_7
|
|
|
|
%endif
|
|
|
|
|
2014-10-30 16:11:20 +00:00
|
|
|
|
2014-09-11 23:26:48 +00:00
|
|
|
%description
|
2021-03-22 23:38:23 +00:00
|
|
|
Lutris helps you install and play video games from all eras and
|
|
|
|
from most gaming systems. By leveraging and combining existing
|
|
|
|
emulators, engine re-implementations and compatibility layers,
|
|
|
|
it gives you a central interface to launch all your games.
|
2014-09-11 23:26:48 +00:00
|
|
|
|
|
|
|
%prep
|
2023-09-12 02:01:08 +00:00
|
|
|
%autosetup -n %{name}-%{version} -p1
|
2014-09-11 23:26:48 +00:00
|
|
|
|
|
|
|
%build
|
2016-11-29 22:42:12 +00:00
|
|
|
%py3_build
|
2023-09-12 02:01:08 +00:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2014-09-11 23:26:48 +00:00
|
|
|
|
|
|
|
%install
|
2016-11-29 22:42:12 +00:00
|
|
|
%py3_install
|
2023-09-12 02:01:08 +00:00
|
|
|
%meson_install
|
2018-04-04 05:50:00 +00:00
|
|
|
%if 0%{?fedora} || 0%{?suse_version}
|
2016-10-15 08:13:47 +00:00
|
|
|
%fdupes %{buildroot}%{python3_sitelib}
|
2015-12-14 14:14:18 +00:00
|
|
|
%endif
|
2014-09-11 23:26:48 +00:00
|
|
|
|
2014-10-30 16:11:20 +00:00
|
|
|
#desktop icon
|
|
|
|
%if 0%{?suse_version}
|
2021-11-17 00:41:35 +00:00
|
|
|
%suse_update_desktop_file -r -i %{appid} Game Network
|
2014-10-30 16:11:20 +00:00
|
|
|
%endif
|
|
|
|
|
2018-04-04 05:50:00 +00:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?centos}
|
2019-02-05 02:07:03 +00:00
|
|
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications share/applications/%{appid}.desktop
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/%{appid}.desktop
|
2014-10-30 16:11:20 +00:00
|
|
|
%endif
|
2014-09-11 23:26:48 +00:00
|
|
|
|
2015-12-14 14:37:20 +00:00
|
|
|
%if 0%{?suse_version} >= 1140
|
|
|
|
%post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
%desktop_database_post
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?suse_version} >= 1140
|
|
|
|
%postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%endif
|
|
|
|
|
2014-09-11 23:26:48 +00:00
|
|
|
%files
|
2015-12-13 21:51:56 +00:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/%{name}/
|
2019-11-30 12:33:35 +00:00
|
|
|
%{_datadir}/metainfo/%{appid}.metainfo.xml
|
2017-05-31 18:48:53 +00:00
|
|
|
%{_datadir}/applications/%{appid}.desktop
|
2019-02-01 18:15:09 +00:00
|
|
|
%{_datadir}/icons/hicolor/16x16/apps/lutris.png
|
|
|
|
%{_datadir}/icons/hicolor/22x22/apps/lutris.png
|
|
|
|
%{_datadir}/icons/hicolor/24x24/apps/lutris.png
|
|
|
|
%{_datadir}/icons/hicolor/32x32/apps/lutris.png
|
|
|
|
%{_datadir}/icons/hicolor/48x48/apps/lutris.png
|
2020-04-14 22:04:25 +00:00
|
|
|
%{_datadir}/icons/hicolor/64x64/apps/lutris.png
|
|
|
|
%{_datadir}/icons/hicolor/128x128/apps/lutris.png
|
2019-01-02 02:25:24 +00:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/lutris.svg
|
2023-09-12 02:01:08 +00:00
|
|
|
%{_datadir}/man/man1/%{name}.1.gz
|
2016-10-17 20:16:42 +00:00
|
|
|
%{python3_sitelib}/%{name}-*.egg-info
|
2016-10-15 05:19:04 +00:00
|
|
|
%{python3_sitelib}/%{name}/
|
2023-09-12 02:01:08 +00:00
|
|
|
%{_datadir}/metainfo/
|
|
|
|
%{_datadir}/locale/
|
2014-09-11 23:26:48 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-09-12 02:01:08 +00:00
|
|
|
* Mon Sep 11 2023 Mathieu Comandon <mathieucomandon@gmail.com> 0.5.13
|
|
|
|
- Update to Meson build system
|
|
|
|
|
2019-02-07 00:14:16 +00:00
|
|
|
* Wed Feb 06 2019 Andrew Schott <andrew@schotty.com 0.5.0.1-6
|
|
|
|
- Readability cleanup.
|
|
|
|
|
2019-02-06 23:54:20 +00:00
|
|
|
* Wed Feb 06 2019 Andrew Schott <andrew@schotty.com 0.5.0.1-6
|
|
|
|
- Original problem with gnome-desktop3 was a typo from previously. Correct spelling fixes the problem.
|
|
|
|
|
|
|
|
* Wed Feb 06 2019 Andrew Schott <andrew@schotty.com 0.5.0.1-5
|
2019-02-06 22:11:43 +00:00
|
|
|
- Made changes specific to removing packages that are only for fedora and not suse to a fedora specific section (mesa-libGL)
|
|
|
|
|
2019-02-06 22:04:44 +00:00
|
|
|
* Wed Feb 06 2019 Andrew Schott <andrew@schotty.com. 0.5.0.1-4
|
|
|
|
- Fixed typo in package name for fedora - gnome-desktop3
|
|
|
|
- Changed Source0 file extension from tar.gz to tar.xz
|
|
|
|
|
2019-02-05 02:07:03 +00:00
|
|
|
* Mon Feb 04 2019 Andrew Schott <andrew@schotty.com> - 0.5.0.1-3
|
|
|
|
- Moved fedora dependency of "gnome-desktop3" to recommends to resolve a snafu with the way it was packaged.
|
|
|
|
- Fixed the .desktop file registration (was using %{name}, needed %{appid})
|
|
|
|
|
2016-11-29 22:42:12 +00:00
|
|
|
* Tue Nov 29 2016 Mathieu Comandon <strycore@gmail.com> - 0.4.3
|
|
|
|
- Ensure correct Python3 dependencies
|
|
|
|
- Set up Python macros for building (Thanks to Pharaoh_Atem on #opensuse-buildservice)
|
|
|
|
|
2016-10-15 08:13:47 +00:00
|
|
|
* Sat Oct 15 2016 Mathieu Comandon <strycore@gmail.com> - 0.4.0
|
|
|
|
- Update to Python 3
|
|
|
|
- Bump version to 0.4.0
|
|
|
|
|
2015-12-12 14:34:46 +00:00
|
|
|
* Sat Dec 12 2015 Rémi Verschelde <akien@mageia.org> - 0.3.7-2
|
2015-12-13 21:51:56 +00:00
|
|
|
- Remove ownership of system directories
|
2015-12-12 14:34:46 +00:00
|
|
|
- Spec file cleanup
|
|
|
|
|
|
|
|
* Fri Nov 27 2015 Mathieu Comandon <strycore@gmail.com> - 0.3.7-1
|
2015-11-28 21:01:31 +00:00
|
|
|
- Bump to version 0.3.7
|
2015-11-28 00:48:08 +00:00
|
|
|
|
2014-10-30 16:11:20 +00:00
|
|
|
* Thu Oct 30 2014 Mathieu Comandon <strycore@gmail.com> - 0.3.6-1
|
|
|
|
- Bump to version 0.3.6
|
|
|
|
- Add OpenSuse compatibility (contribution by @malkavi)
|
|
|
|
|
2014-09-11 23:26:48 +00:00
|
|
|
* 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
|