## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 %global zig_pixman_ver 0.3.0 %global zig_wayland_ver 0.5.0 %global zig_wlroots_ver 0.19.4 %global zig_xkbcommon_ver 0.4.0 Name: river Version: 0.4.1 Release: %autorelease -p Summary: Non-monolithic Wayland compositor # river: GPL-3.0-only # common/*.zig: 0BSD # contrib/river.desktop: 0BSD # doc/river.1.scd: CC-BY-SA-4.0 # logo/*.svg: CC-BY-SA-4.0 # protocol/river-*.xml: MIT # protocol/upstream/wlr-layer-shell-unstable-v1.xml: HPND-sell-variant # protocol/upstream/wlr-output-power-management-unstable-v1.xml: MIT # deps/zig-pixman: MIT # deps/zig-wayland: MIT # deps/zig-wlroots: MIT # deps/zig-xkbcommon: MIT License: GPL-3.0-only AND 0BSD AND CC-BY-SA-4.0 AND HPND-sell-variant AND MIT URL: https://codeberg.org/river/river Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz Source1: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz.sig # Isaac Freund Source2: https://isaacfreund.com/public_key.txt#/gpgkey-86DED400DDFD7A11.gpg Source3: %{name}.desktop Source4: https://codeberg.org/ifreund/zig-pixman/archive/v%{zig_pixman_ver}.tar.gz#/zig-pixman-%{zig_pixman_ver}.tar.gz Source5: https://codeberg.org/ifreund/zig-wayland/archive/v%{zig_wayland_ver}.tar.gz#/zig-wayland-%{zig_wayland_ver}.tar.gz Source6: https://codeberg.org/ifreund/zig-wlroots/archive/v%{zig_wlroots_ver}.tar.gz#/zig-wlroots-%{zig_wlroots_ver}.tar.gz Source7: https://codeberg.org/ifreund/zig-xkbcommon/archive/v%{zig_xkbcommon_ver}.tar.gz#/zig-xkbcommon-%{zig_xkbcommon_ver}.tar.gz ExclusiveArch: %{zig_arches} BuildRequires: gcc BuildRequires: gnupg2 BuildRequires: scdoc BuildRequires: (zig >= 0.15.2 with zig < 0.16) BuildRequires: zig-rpm-macros BuildRequires: pkgconfig(libevdev) BuildRequires: pkgconfig(libinput) BuildRequires: pkgconfig(pixman-1) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(wlroots-0.19) BuildRequires: pkgconfig(xkbcommon) >= 1.12.0 # Right now there is no established way of managing Zig dependencies systemwide # so for the time being they are bundled as part of the project. Provides: bundled(zig-pixman) = %{zig_pixman_ver} Provides: bundled(zig-wayland) = %{zig_wayland_ver} Provides: bundled(zig-wlroots) = %{zig_wlroots_ver} Provides: bundled(zig-xkbcommon) = %{zig_xkbcommon_ver} # Lack of graphical drivers may hurt the common use case Recommends: mesa-dri-drivers # Logind needs polkit to create a graphical session Recommends: polkit # Compatibility layer for X11 applications Recommends: xorg-x11-server-Xwayland %description River is a non-monolithic Wayland compositor. Unlike other Wayland compositors, river does not combine the compositor and window manager into one program. Instead, river defers all window management policy to a separate window manager implementing the river-window-management-v1 protocol. This includes window position/size, pointer/keyboard bindings, focus management, window decorations, desktop shell graphics, and more. River itself provides frame perfect rendering, good performance, support for many Wayland protocol extensions, robust Xwayland support, the ability to hot-swap window managers, and more. %package protocols-devel Summary: Protocol files for river, a non-monolithic Wayland compositor License: MIT %description protocols-devel %{summary}. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %setup -q -a 4 -a 5 -a 6 -a 7 %zig_fetch zig-pixman %zig_fetch zig-wayland %zig_fetch zig-wlroots %zig_fetch zig-xkbcommon %build %zig_build \ -Dpie \ -Dxwayland %install %zig_install \ -Dpie \ -Dxwayland install -D -m644 -pv %{SOURCE3} %{buildroot}%{_datadir}/wayland-sessions/%{name}.desktop %check %zig_test %files %license LICENSES/0BSD.txt %license LICENSES/CC-BY-SA-4.0.txt %license LICENSES/GPL-3.0-only.txt %license LICENSES/MIT.txt %doc README.md %{_bindir}/river %{_mandir}/man1/river.1* %{_datadir}/wayland-sessions/%{name}.desktop %files protocols-devel %{_datadir}/pkgconfig/river-protocols.pc %dir %{_datadir}/river-protocols %dir %{_datadir}/river-protocols/stable %{_datadir}/river-protocols/stable/*.xml %changelog ## START: Generated by rpmautospec * Sun Mar 22 2026 Aleksei Bavshin - 0.4.1-0.2 - Uncommitted changes * Wed Mar 18 2026 Aleksei Bavshin - 0.4.1-1 - Update to 0.4.1 (#2447723) * Mon Feb 16 2026 Aleksei Bavshin - 0.3.14-1 - Update to 0.3.14 * Sat Jan 17 2026 Fedora Release Engineering - 0.3.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Oct 17 2025 Jan200101 - 0.3.13-1 - Update to 0.3.13 * Fri Jul 25 2025 Fedora Release Engineering - 0.3.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sat Jul 05 2025 Aleksei Bavshin - 0.3.11-1 - Update to 0.3.11 * Sun Jun 22 2025 Aleksei Bavshin - 0.3.10-1 - Update to 0.3.10 * Tue Apr 22 2025 Aleksei Bavshin - 0.3.9-1 - Update to 0.3.9 (#2351096) * Sat Jan 18 2025 Fedora Release Engineering - 0.3.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Jan 04 2025 Aleksei Bavshin - 0.3.7-1 - Update to 0.3.7 (#2335592) * Mon Dec 09 2024 Aleksei Bavshin - 0.3.6-1 - Update to 0.3.6 (#2331169) * Thu Aug 08 2024 Aleksei Bavshin - 0.3.5-1 - Update to 0.3.5 (#2299425) * Fri Jul 19 2024 Fedora Release Engineering - 0.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 10 2024 Aleksei Bavshin - 0.3.4-1 - Update to 0.3.4 * Tue Jun 11 2024 Jan200101 - 0.3.3-1 - Update to 0.3.3 * Fri Jun 07 2024 Jan200101 - 0.3.2-1 - Update to 0.3.2 * Sat May 18 2024 Aleksei Bavshin - 0.3.1-1 - Update to 0.3.1 (#2281411) * Tue Apr 16 2024 Aleksei Bavshin - 0.3.0-1 - Update to 0.3.0 * Mon Feb 12 2024 Aleksei Bavshin - 0.2.6-1 - Update to 0.2.6 (rhbz#2159117) * Fri Jan 26 2024 Fedora Release Engineering - 0.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Jan 08 2023 Aleksei Bavshin - 0.2.1-1 - Update to 0.2.1 - Drop ownership of shell completion dirs. filesystem >= 3.18 provides these. * Sun Jan 01 2023 Aleksei Bavshin - 0.2.0-1 - Update to 0.2.0 * Sun Sep 25 2022 Aleksei Bavshin - 0.1.3-1 - Initial import (#2051062) ## END: Generated by rpmautospec