File mpvpaper.spec of Package mpvpaper

#
# spec file for package mpvpaper
#
# Copyright (c) 2025 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:           mpvpaper
Version:        1.8
Release:        0
Summary:        A video wallpaper program for wlroots based wayland compositors
License:        GPL-3.0-or-later
Group:          Productivity/Multimedia/Other
URL:            https://github.com/GhostNaN/mpvpaper
Source:         https://github.com/GhostNaN/mpvpaper/archive/%{version}.tar.gz
BuildRequires:  meson
BuildRequires:  mpv-devel
BuildRequires:  ninja
BuildRequires:  pkgconfig
BuildRequires:  wayland-protocols-devel
BuildRequires:  wlroots-devel
Requires:       mpv

%description
A video wallpaper program for wlroots based wayland compositors.

%prep
%autosetup -p1

%build
%meson
%meson_build

%install
%meson_install
install -Dm644 %{name}.man "%{buildroot}%{_mandir}/man1/%{name}.1"

%files
%license LICENSE
%doc README.md
%{_bindir}/mpvpaper
%{_bindir}/mpvpaper-holder
%{_mandir}/man1/mpvpaper.1%{?ext_man}

%changelog
openSUSE Build Service is sponsored by