Name: gamescope-session-plus Version: 0.0.git.362.24b80cf5 Release: 1%{?dist} Summary: Gamescope session plus based on Valve's gamescope License: MIT URL: https://github.com/KyleGospo/gamescope-session VCS: git+https://github.com/KyleGospo/gamescope-session#24b80cf546532b5f26a3326e2bb410e2dcc4b643: Source: gamescope-session-24b80cf5.tar.gz BuildArch: noarch Requires: gamescope Requires: python3 Requires: switcheroo-control Requires: gawk BuildRequires: systemd-rpm-macros %description Gamescope session plus based on Valve's gamescope # Disable debug packages %define debug_package %{nil} %prep %setup -T -b 0 -q -n gamescope-session %build %install mkdir -p %{buildroot}%{_bindir}/ mkdir -p %{buildroot}%{_libexecdir}/ mkdir -p %{buildroot}%{_datadir}/ mkdir -p %{buildroot}%{_userunitdir}/ cp -rv usr/bin/* %{buildroot}%{_bindir} cp -rv usr/libexec/* %{buildroot}%{_libexecdir} cp -rv usr/share/* %{buildroot}%{_datadir} cp -v usr/lib/systemd/user/* %{buildroot}%{_userunitdir} # Do post-installation %post # Do before uninstallation %preun # Do after uninstallation %postun # This lists all the files that are included in the rpm package and that # are going to be installed into target system where the rpm is installed. %files %license LICENSE %doc README.md %{_bindir}/export-gpu %{_bindir}/gamescope-session-plus %{_libexecdir}/gamescope-sdl-workaround %{_datadir}/gamescope-session-plus/device-quirks %{_datadir}/gamescope-session-plus/gamescope-session-plus %{_userunitdir}/gamescope-session-plus@.service # Finally, changes from the latest release of your application are generated from # your project's Git history. It will be empty until you make first annotated Git tag. %changelog