Blame waypipe.spec

Lubomir Rintel e0f461
Name:		waypipe
Dominique Martinet b5fc8c
Version:	0.9.0
Dominique Martinet ace79c
Release:	%autorelease
Lubomir Rintel e0f461
Summary:	Wayland forwarding proxy
Lubomir Rintel e0f461
Lubomir Rintel e0f461
License:	MIT
Lubomir Rintel e0f461
URL:		https://gitlab.freedesktop.org/mstoeckl/%{name}
Lubomir Rintel e0f461
Source0:	https://gitlab.freedesktop.org/mstoeckl/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.gz
Olivier Fourdan 0877ab
%if 0%{?rhel}
Olivier Fourdan 0877ab
Source1:	waypipe.1
Olivier Fourdan 0877ab
%endif
Lubomir Rintel e0f461
Lubomir Rintel e0f461
BuildRequires:	gcc
Lubomir Rintel e0f461
BuildRequires:	meson
Olivier Fourdan 0877ab
%if !0%{?rhel}
Lubomir Rintel e0f461
BuildRequires:	scdoc
Olivier Fourdan 0877ab
%endif
Lubomir Rintel e0f461
BuildRequires:	pkgconfig(gbm)
Neal Gompa c96811
%if !0%{?rhel}
Neal Gompa c96811
BuildRequires:	pkgconfig(libavcodec)
Neal Gompa c96811
BuildRequires:	pkgconfig(libavutil)
Neal Gompa c96811
BuildRequires:	pkgconfig(libswscale)
Neal Gompa c96811
%endif
Lubomir Rintel e0f461
BuildRequires:	pkgconfig(libdrm)
Lubomir Rintel e0f461
BuildRequires:	pkgconfig(liblz4)
Lubomir Rintel e0f461
BuildRequires:	pkgconfig(libzstd)
Lubomir Rintel e0f461
BuildRequires:	pkgconfig(libva)
Lubomir Rintel e0f461
BuildRequires:	pkgconfig(wayland-protocols)
Lubomir Rintel e0f461
BuildRequires:	pkgconfig(wayland-client)
Lubomir Rintel e0f461
BuildRequires:	pkgconfig(wayland-server)
Lubomir Rintel e0f461
Lubomir Rintel e0f461
%description
Lubomir Rintel e0f461
Waypipe is a proxy for Wayland clients. It forwards Wayland messages and
Lubomir Rintel e0f461
serializes changes to shared memory buffers over a single socket. This makes
Lubomir Rintel e0f461
application forwarding similar to "ssh -X" feasible.
Lubomir Rintel e0f461
Lubomir Rintel e0f461
Lubomir Rintel e0f461
%prep
Neal Gompa c96811
%autosetup -n %{name}-v%{version}
Lubomir Rintel e0f461
Lubomir Rintel e0f461
Lubomir Rintel e0f461
%build
Neal Gompa c96811
%meson -Dwerror=false %{?rhel:-Dwith_video=disabled -Dman-pages=disabled}
Lubomir Rintel e0f461
%meson_build
Lubomir Rintel e0f461
Lubomir Rintel e0f461
Lubomir Rintel e0f461
%install
Lubomir Rintel e0f461
%meson_install
Olivier Fourdan 0877ab
%if 0%{?rhel}
Olivier Fourdan 0877ab
mkdir -p %{buildroot}%{_mandir}/man1/
Olivier Fourdan 0877ab
install -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/
Olivier Fourdan 0877ab
%endif
Lubomir Rintel e0f461
Lubomir Rintel e0f461
Lubomir Rintel e0f461
%check
Lubomir Rintel e0f461
%meson_test
Lubomir Rintel e0f461
Lubomir Rintel e0f461
Lubomir Rintel e0f461
%files
Lubomir Rintel e0f461
%{_bindir}/waypipe
Lubomir Rintel e0f461
%{_mandir}/man1/waypipe.1*
Lubomir Rintel e0f461
%doc CONTRIBUTING.md README.md
Lubomir Rintel e0f461
%license COPYING
Lubomir Rintel e0f461
Lubomir Rintel e0f461
Lubomir Rintel e0f461
%changelog
Dominique Martinet ace79c
%autochangelog