LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File gamemode.spec of Package gamemode (Project home:Fenix2412)

#
# spec file for package gamemode
#
# -- Copyright omitted --

Name: gamemode
Version: 1.0
Release: 1
License: BSD-3-Clause
Group: System/Management
Summary: Governor adjustment tool
Url: https://github.com/FeralInteractive/gamemode/tree/1.0
Source0: gamemode-1.0.tar.xz
BuildRequires: meson
BuildRequires: pkg-config
BuildRequires: systemd-devel
Requires: polkit
Requires: systemd
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%description
A library that automatically changes your CPU governor to performance when used by games or preloaded when launching them.

%prep
%setup -q -n %{name}-%{version}

%build
meson --prefix=/usr build -Dwith-systemd-user-unit-dir=/usr/lib/systemd/system
cd build
ninja

%install
cd build
DESTDIR=%buildroot ninja install

%files
%defattr(-,root,root,-)
/usr/libexec
/usr/share
/usr/lib
/usr/lib64
/usr/bin
/usr/include