File swaybg.spec of Package swaybg

#
# spec file for package swaybg
#
# Copyright (c) 2021 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 http://bugs.opensuse.org/
#

Name:               swaybg
Version:            1.1
Release:            0
Summary:            Wallpaper tool for Wayland compositors
License:            MIT
Group:              System/GUI/Other
Url:                https://github.com/swaywm/swaybg
Source0:            %{name}-%{version}.tar.gz
Source1:            %{name}-%{version}.tar.gz.sig
Source2:            sway.keyring
BuildRequires:      meson >= 0.48.0
BuildRequires:      scdoc
BuildRequires:      pkgconfig
BuildRequires:      pkgconfig(cairo)
BuildRequires:      pkgconfig(gdk-pixbuf-2.0)
BuildRequires:      pkgconfig(wayland-client)
BuildRequires:      pkgconfig(wayland-protocols) >= 1.14
BuildRequires:      pkgconfig(wayland-server)
BuildRequires:      pkgconfig(xkbcommon)

%description
swaybg is a wallpaper utility for Wayland compositors. It is compatible with
any Wayland compositor which implements the following Wayland protocols:

  * wlr-layer-shell
  * xdg-output
  * xdg-shell

See the man page, swaybg(1), for instructions on using swaybg.

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

%build
%meson \
  -Dgdk-pixbuf=enabled \
  -Dman-pages=enabled
%meson_build

%install
%meson_install

%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}*
%{_mandir}/man?/%{name}*

%changelog
openSUSE Build Service is sponsored by