File deckifier.spec of Package deckifier
#
# spec file for package deckifier
#
# Copyright (c) 2026 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: deckifier
Version: 1.2.0.17
Release: 0
Summary: Fully support SteamOS gamemode on openSUSE
License: MIT
URL: https://github.com/YugaLinux/deckifier
Requires: gamescope-session-steam
BuildArch: noarch
BuildRequires: pkgconfig(systemd)
Source0: %{name}-%{version}.tar.xz
%description
Fully support SteamOS gamemode on openSUSE based distributions.
%prep
%setup -q
%build
%install
cp -rv deckifier/usr %{buildroot}/usr
cp -rv deckifier/etc %{buildroot}/etc
%pre
%systemd_pre bluetooth-workaround.service
%post
%systemd_post bluetooth-workaround.service
%preun
%systemd_preun bluetooth-workaround.service
%postun
%systemd_postun_with_restart bluetooth-workaround.service
%files
%license LICENSE
%doc README.md
%config(noreplace)/etc/bluetooth/*
/usr/lib/systemd/*
%config(noreplace)/etc/xdg/*
%dir /etc/bluetooth
/usr/share/color
/usr/share/color/*
%changelog