File wlclock.spec of Package wlclock

#
# spec file for package wlclock
#
# Copyright (c) 2023 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:           wlclock
Version:        1.0.1
Release:        0
Summary:        Wayland Clock
License:        GPL-3.0-only
URL:            https://git.sr.ht/~leon_plickat/wlclock
Source0:        https://git.sr.ht/~leon_plickat/wlclock/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  c_compiler
BuildRequires:  meson
BuildRequires:  scdoc
BuildRequires:  pkgconfig(cairo)
BuildRequires:  pkgconfig(wayland-client)
BuildRequires:  pkgconfig(wayland-protocols)

%description
wlclock is a digital analog clock for Wayland desktops.
wlclock is inspired by xclock and the default configuration
has been chosen to mimic it. However unlike xclock, wlclock
is not a regular window but a desktop-widget.

A Wayland compositor must implement the Layer-Shell and XDG-Output for wlclock to work.

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

%build
%meson
%meson_build

%install
%meson_install

%files
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%license LICENSE
%doc README.md CONTRIBUTING.md

%changelog
openSUSE Build Service is sponsored by