File gnome-monitor-config.spec of Package gnome-monitor-config

#
# spec file for package gnome-monitor-config
#
# Copyright (c) 2024 mantarimay
#
# 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:           gnome-monitor-config
Version:        0~20230926+git.04b854e
Release:        0
Summary:        GNOME Monitor Configuration Tool
License:        Unlicense
URL:            https://github.com/jadahl/gnome-monitor-config
Source:         %{name}-%{version}.tar.zst
Patch:          %{url}/commit/636fbe3a250b9498dc718cc5492f948425080795.patch
BuildRequires:  glib2-devel meson cairo-devel

%description
A CLI configuration tool used for changing monitor settings in GNOME.	
This can be used in Wayland, with functionality similar to xrandr on X11.

%prep
%autosetup -p1

%build
%meson
%meson_build

%install
install -Dm755 */src/%{name} -t %{buildroot}%{_bindir}

%files
%doc README*
%{_bindir}/%{name}

%changelog
openSUSE Build Service is sponsored by