File way-displays.spec of Package way-displays
#
# spec file for package way-displays
#
# Copyright (c) 2022 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: way-displays
Version: 1.11.0
Release: 0
Summary: Auto manage wayland displays with way-displays
License: GPL-3.0-or-later
Group: System/GUI/Other
URL: https://github.com/alex-courtis/way-displays
Source: %{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: wayland-devel
BuildRequires: yaml-cpp-devel
BuildRequires: pkgconfig(libinput)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wayland-server)
BuildRequires: pkgconfig(xkbcommon)
%description
way-displays auto manages your wayland displays
%prep
%setup -q
%build
%make_build PREFIX="/usr" PREFIX_ETC="" DESTDIR=%{buildroot}
%install
%make_install PREFIX="/usr" PREFIX_ETC=""
%files
%{_bindir}/%{name}
%{_mandir}/man1/*
%dir %{_sysconfdir}/way-displays
%config(noreplace) %{_sysconfdir}/%{name}/cfg.yaml
%license LICENSE
%changelog