Name: gamescope-session-plus Version: 0.0.git.385.ae8829b1 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#ae8829b12386a223316780fb7bda01fe7e6d89b3: Source: gamescope-session-ae8829b1.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}%{_datadir}/ mkdir -p %{buildroot}%{_userunitdir}/ cp -rv usr/bin/* %{buildroot}%{_bindir} 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 %{_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