Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tobi_Peter:yuga:testing
steam-powerbuttond
_service:set_version:steam-powerbuttond.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:set_version:steam-powerbuttond.spec of Package steam-powerbuttond
## START: Set by rpmautospec ## (rpmautospec version 0.3.8) ## RPMAUTOSPEC: autochangelog ## END: Set by rpmautospec Name: steam-powerbuttond Version: 1.0.0 Release: 0%{?dist} Summary: Steam Deck power button daemon License: BSD URL: https://github.com/aarron-lee/steam-powerbuttond Source: %{name}-%{version}.tar.xz BuildRequires: systemd-rpm-macros BuildRequires: systemd Conflicts: powerbuttond Requires: systemd Requires: udev %description Steam Deck power button daemon # Disable debug packages %define debug_package %{nil} %prep %setup cat << EOF >> %{_builddir}/98-steam-powerbuttond.preset enable steam-powerbuttond.service EOF sed -i 's|/usr/bin/env python|/usr/bin/python3|g' steam-powerbuttond sed -i 's|/usr/local/bin|/usr/bin|g' steam-powerbuttond.service %install mkdir -p %{buildroot}%{_unitdir}/ mkdir -p %{buildroot}%{_presetdir} install -D -m 755 ./steam-powerbuttond %{buildroot}%{_bindir}/steam-powerbuttond install -m 644 %{_builddir}/98-steam-powerbuttond.preset %{buildroot}%{_presetdir}/ install -m 644 ./steam-powerbuttond.service %{buildroot}%{_unitdir}/steam-powerbuttond.service %pre %systemd_pre steam-powerbuttond.service %post if [ -x /usr/bin/udevadm ]; then udevadm control --reload-rules udevadm trigger fi %systemd_post steam-powerbuttond.service %preun %systemd_preun steam-powerbuttond.service %postun %systemd_postun_with_restart steam-powerbuttond.service %files %{_bindir}/steam-powerbuttond %{_unitdir}/steam-powerbuttond.service %{_presetdir}/98-steam-powerbuttond.preset %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor