## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 27 %bcond check 1 # prevent library files from being installed %global cargo_install_lib 0 Name: waypipe Version: 0.10.5 Release: %autorelease Summary: Wayland forwarding proxy SourceLicense: GPL-3.0-or-later # GPL-3.0-or-later # ISC # MIT # MIT OR Apache-2.0 # (also MIT for the protocols/ directory) License: GPL-3.0-or-later AND (Apache-2.0 OR MIT) AND ISC AND MIT # LICENSE.dependencies contains a full license breakdown URL: https://gitlab.freedesktop.org/mstoeckl/waypipe Source0: https://gitlab.freedesktop.org/mstoeckl/waypipe/-/archive/v%{version}/%{name}-v%{version}.tar.gz Source1: waypipe.1 Patch1: license.patch BuildRequires: cargo-rpm-macros >= 26 BuildRequires: bindgen-cli BuildRequires: gcc # required for bindgen to resolve some include paths.. BuildRequires: clang BuildRequires: meson %if !0%{?rhel} BuildRequires: scdoc %endif BuildRequires: pkgconfig(gbm) %if !0%{?rhel} BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libswscale) # not sure if needed without ffmpeg? BuildRequires: glslc BuildRequires: vulkan-headers %endif BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(libzstd) BuildRequires: pkgconfig(libva) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-server) # This one is not automatically detected properly... BuildRequires: rust-pkg-config+default-devel %global _description %{expand: %{summary}.} %description %{_description} %prep %autosetup -n waypipe-v%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %if !0%{?rhel} scdoc < waypipe.scd > waypipe.1 %endif %install %cargo_install # Is there a better way to build only `--bin waypipe` ? rm -f %{buildroot}%{_bindir}/test_proto %if !0%{?rhel} install -D -p -m 0644 waypipe.1 %{buildroot}%{_mandir}/man1/waypipe.1 %else install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/waypipe.1 %endif %if %{with check} %check %cargo_test %endif %files %{_bindir}/waypipe %{_mandir}/man1/waypipe.1* %doc CONTRIBUTING.md README.md %license LICENSE.GPLv3 %license LICENSE.MIT %license LICENSE.dependencies %changelog ## START: Generated by rpmautospec * Sun Oct 12 2025 Dominique Martinet - 0.10.5-2 - update waypipe.1 for rhel * Sun Oct 12 2025 Dominique Martinet - 0.10.5-1 - Update to 0.10.5 - switch to rust-based version * Fri Jul 25 2025 Fedora Release Engineering - 0.9.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Feb 24 2025 Michel Lind - 0.9.1-5 - Do not conditionalize waypipe.1 - Fixes: RHBZ#2347348 * Sun Jan 19 2025 Fedora Release Engineering - 0.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Sep 23 2024 Fabio Valentini - 0.9.1-3 - Rebuild for ffmpeg 7 * Sun Jun 09 2024 Dominique Martinet - 0.9.1-1 - Update to 0.9.1 - don't abort on double-^C (#2262447) - fix for compositors using drm_syncobj protocol * Fri Jun 07 2024 Dominique Martinet - 0.9.0-1 - Update to 0.9.0 - fix fd leak (probably #2290715) - enable lz4 compression by default - add supprt for av1 software encoding/decoding - add support for vsock transport - fix build with gcc-14 * Sat Jan 27 2024 Fedora Release Engineering - 0.8.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Sep 30 2023 Neal Gompa - 0.8.6-4 - Enable video support for non-RHEL (#2241572) * Mon Sep 11 2023 Olivier Fourdan - 0.8.6-3 - migrated to SPDX license * Sat Jul 22 2023 Fedora Release Engineering - 0.8.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Apr 09 2023 Dominique Martinet - 0.8.6-1 - Update to 0.8.6 * Sat Jan 21 2023 Fedora Release Engineering - 0.8.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Nov 02 2022 Olivier Fourdan - 0.8.4-1 - Update to 0.8.4 * Sat Jul 23 2022 Fedora Release Engineering - 0.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Apr 05 2022 Olivier Fourdan - 0.8.2-1 - Update to 0.8.2 * Sat Jan 22 2022 Fedora Release Engineering - 0.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Apr 03 2021 Dominique Martinet - 0.8.0-1 - Update to 0.8.0 * Fri Feb 19 2021 Olivier Fourdan - 0.7.1-3 - Provide a pre-built man page on RHEL to avoid pulling scdoc * Wed Jan 27 2021 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Nov 06 2020 Dominique Martinet - 0.7.1-1 - Update to 0.7.1 * Tue Nov 03 2020 Dominique Martinet - 0.7.0-1 - Update to version 0.7.0 * Mon Sep 28 2020 Jeff Law - 0.6.1-7 - Re-enable LTO as upstream GCC target/96939 has been fixed * Mon Aug 10 2020 Jeff Law - 0.6.1-6 - Disable LTO for now. * Sat Aug 01 2020 Fedora Release Engineering - 0.6.1-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon May 11 2020 Dominique Martinet - 0.6.1-3 - Fix FTBS (test failure) * Fri Jan 31 2020 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Aug 28 2019 Lubomir Rintel - 0.6.1-1 - Update to version 0.6.1 * Thu Aug 22 2019 Lubomir Rintel - 0.6.0-1 - Initial packaging ## END: Generated by rpmautospec