# -*-Mode: rpm-spec -*- %global aml_version 1.0.0 %global nvnc_version 1.0.0 Name: wayvnc Version: 0.10.0 Release: 1%{?dist} Summary: A VNC server for wlroots based Wayland compositors License: ISC URL: https://github.com/any1/wayvnc Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: meson BuildRequires: pkgconfig(aml1) >= %{aml_version} BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(gnutls) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(neatvnc) >= %{nvnc_version} BuildRequires: pam-devel BuildRequires: pkgconfig(pixman-1) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(xkbcommon) >= 1.0.0 BuildRequires: pkgconfig(jansson) BuildRequires: scdoc Requires: aml >= %{aml_version} Requires: neatvnc >= %{nvnc_version} %description This is a VNC server for wlroots based Wayland compositors. It attaches to a running Wayland session, creates virtual input devices and exposes a single display via the RFB protocol. The Wayland session may be a headless one, so it is also possible to run wayvnc without a physical display attached. %prep %autosetup %build %meson %meson_build %install %meson_install %files %{_bindir}/%{name} %{_bindir}/%{name}ctl %doc README.md FAQ.md %{_mandir}/man1/%{name}.1.* %{_mandir}/man1/%{name}ctl.1.* %license COPYING %changelog %autochangelog