## 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 Name: hyprland Version: 0.55.4 Release: %autorelease Summary: Dynamic tiling Wayland compositor that doesn't sacrifice on its looks # hyprland: BSD-3-Clause # ./subprojects/udis86: BSD-2-Clause # ./protocols/kde-server-decoration.xml: LGPL-2.1-or-later # ./protocols/wayland-drm.xml: HPND-sell-variant and/or ntp_disclaimer # ./protocols/wlr-data-control-unstable-v1.xml: HPND-sell-variant and/or ntp_disclaimer # ./protocols/wlr-foreign-toplevel-management-unstable-v1.xml: HPND-sell-variant and/or ntp_disclaimer # ./protocols/wlr-gamma-control-unstable-v1.xml: HPND-sell-variant and/or ntp_disclaimer # ./protocols/wlr-layer-shell-unstable-v1.xml: HPND-sell-variant and/or ntp_disclaimer # ./protocols/wlr-output-management-unstable-v1.xml: HPND-sell-variant and/or ntp_disclaimer # ./protocols/frog-color-management-v1.xml: HPND-sell-variant and/or ntp_disclaimer # ./protocols/xx-color-management-v4.xml: HPND-sell-variant and/or ntp_disclaimer License: BSD-3-Clause AND BSD-2-Clause AND LGPL-2.1-or-later AND HPND-sell-variant AND MIT URL: https://github.com/hyprwm/Hyprland %global glaze_version 7.2.0 Source0: %{url}/releases/download/v%{version}/source-v%{version}.tar.gz Source1: https://github.com/stephenberry/glaze/archive/refs/tags/v%{glaze_version}.tar.gz#/glaze-%{glaze_version}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: mesa-libEGL-devel BuildRequires: mesa-libGL-devel BuildRequires: python3 BuildRequires: cmake(glslang) BuildRequires: cmake(hyprwayland-scanner) >= 0.3.10 BuildRequires: pkgconfig(aquamarine) >= 0.9.3 BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(hyprcursor) >= 0.1.7 BuildRequires: pkgconfig(hyprgraphics) >= 0.5.1 BuildRequires: pkgconfig(hyprland-protocols) >= 0.6.4 BuildRequires: pkgconfig(hyprlang) >= 0.6.7 BuildRequires: pkgconfig(hyprutils) >= 0.13.1 BuildRequires: pkgconfig(hyprwire) BuildRequires: cmake(hyprwire-scanner) BuildRequires: pkgconfig(tomlplusplus) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libinput) >= 1.28 BuildRequires: pkgconfig(muparser) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(pangocairo) BuildRequires: pkgconfig(pixman-1) BuildRequires: pkgconfig(re2) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(wayland-protocols) >= 1.47 BuildRequires: pkgconfig(wayland-server) >= 1.22.91 BuildRequires: pkgconfig(xcb-composite) BuildRequires: pkgconfig(xcb-errors) BuildRequires: pkgconfig(xcb-icccm) BuildRequires: pkgconfig(xcb-render) BuildRequires: pkgconfig(xcb-res) BuildRequires: pkgconfig(xcb-xfixes) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcursor) BuildRequires: pkgconfig(xkbcommon) >= 1.11.0 BuildRequires: pkgconfig(lua) >= 5.5 # udis86 is packaged in Fedora, but the copy bundled here is actually a # modified fork. Provides: bundled(udis86) = 1.7.2^1.git5336633 Provides: bundled(glaze) = %{glaze_version} Requires: xorg-x11-server-Xwayland%{?_isa} Requires: xdg-desktop-portal%{?_isa} Requires: aquamarine%{?_isa} >= 0.9.3 Requires: hyprcursor%{?_isa} >= 0.1.7 Requires: hyprutils%{?_isa} >= 0.13.1 Requires: hyprgraphics%{?_isa} >= 0.5.1 # Used in the default configuration Suggests: kitty Suggests: wofi Suggests: playerctl Suggests: brightnessctl # Lack of graphical drivers may hurt the common use case Suggests: mesa-dri-drivers # Logind needs polkit to create a graphical session Suggests: polkit Suggests: (qt5-qtwayland if qt5-qtbase-gui) Suggests: (qt6-qtwayland if qt6-qtbase-gui) %description Hyprland is a dynamic tiling Wayland compositor that doesn't sacrifice on its looks. It supports multiple layouts, fancy effects, has a very flexible IPC model allowing for a lot of customization, a powerful plugin system and more. %package devel Summary: Meta package to install dependencies for hyprpm Requires: %{name}%{?_isa} = %{version}-%{release} Requires: cmake Requires: cpio Requires: gcc-c++ Requires: cmake(glslang) Requires: cmake(hyprwayland-scanner) >= 0.3.10 Requires: pkgconfig(aquamarine) >= 0.9.3 Requires: pkgconfig(cairo) Requires: pkgconfig(gbm) Requires: pkgconfig(gio-2.0) Requires: pkgconfig(hyprcursor) >= 0.1.7 Requires: pkgconfig(hyprgraphics) >= 0.5.1 Requires: pkgconfig(hyprland-protocols) >= 0.6.4 Requires: pkgconfig(hyprlang) >= 0.6.7 Requires: pkgconfig(hyprutils) >= 0.13.1 Requires: pkgconfig(lcms2) Requires: pkgconfig(libdrm) Requires: pkgconfig(libinput) >= 1.28 Requires: pkgconfig(muparser) Requires: pkgconfig(pango) Requires: pkgconfig(pangocairo) Requires: pkgconfig(pixman-1) Requires: pkgconfig(re2) Requires: pkgconfig(uuid) Requires: pkgconfig(wayland-protocols) >= 1.47 Requires: pkgconfig(wayland-server) >= 1.22.91 Requires: pkgconfig(xcb-composite) Requires: pkgconfig(xcb-errors) Requires: pkgconfig(xcb-icccm) Requires: pkgconfig(xcb-render) Requires: pkgconfig(xcb-res) Requires: pkgconfig(xcb-xfixes) Requires: pkgconfig(xcb) Requires: pkgconfig(xcursor) Requires: pkgconfig(xkbcommon) >= 1.11.0 Requires: pkgconfig(lua) >= 5.5 Recommends: git-core %description devel %{summary}. %prep %autosetup -n %{name}-source -p1 rm -rf subprojects/{tracy,hyprland-protocols} cp -p subprojects/udis86/LICENSE LICENSE-udis86 # -Wpedantic causes GCC to error on zero-length VTable arrays generated # by hyprwayland-scanner; can't use build flags because CMake appends # after RPM optflags sed -i 's/-Wpedantic//' CMakeLists.txt # Build glaze (header-only) and install to local prefix tar xf %{SOURCE1} cmake -S glaze-%{glaze_version} -B glaze-build \ -DCMAKE_INSTALL_PREFIX=%{_builddir}/glaze-install \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -Dglaze_INSTALL=ON cmake --install glaze-build cp -p glaze-%{glaze_version}/LICENSE LICENSE-glaze %build %cmake -Dglaze_DIR=%{_builddir}/glaze-install/share/glaze %cmake_build %install %cmake_install %files %license LICENSE LICENSE-udis86 LICENSE-glaze %{_bindir}/hyprctl %{_bindir}/Hyprland %{_bindir}/hyprland %{_bindir}/hyprpm %{_bindir}/start-hyprland %{_datadir}/hypr/ %{_datadir}/wayland-sessions/%{name}.desktop %{_datadir}/wayland-sessions/%{name}-uwsm.desktop %{_datadir}/xdg-desktop-portal/%{name}-portals.conf %{_mandir}/man1/hyprctl.1* %{_mandir}/man1/Hyprland.1* %{bash_completions_dir}/hypr* %{fish_completions_dir}/hypr*.fish %{zsh_completions_dir}/_hypr* %files devel %{_datadir}/pkgconfig/%{name}.pc %{_includedir}/%{name}/ %changelog ## START: Generated by rpmautospec * Tue Jun 16 2026 Erik Berg - 0.55.4-2 - Move .pc to -devel, convert Recommends to Suggests * Tue Jun 16 2026 Erik Berg - 0.55.4-1 - Update to 0.55.4 - Switch from meson to cmake build system - Add hyprwire and hyprwire-scanner dependencies - Bundle glaze 7.2.0 (header-only JSON library, not in Fedora) - Add tomlplusplus, mesa-libEGL-devel, mesa-libGL-devel BuildRequires - Strip -Wpedantic (zero-length VTable arrays from hyprwayland-scanner) - New binary: start-hyprland (watchdog) * Sun Jun 14 2026 Erik Berg - 0.49.0-4 - Revert "Retired: Fails to install: https://pagure.io/releng/issue/12969" * Thu Jul 24 2025 Fedora Release Engineering - 0.49.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri May 16 2025 Jannik Müller - 0.49.0-1 - Update 0.49.0 * Fri Nov 22 2024 Jannik Müller - 0.45.2-1 - Update to 0.45.2 * Mon Nov 18 2024 Jannik Müller - 0.45.1-1 - Update to 0.45.1 * Sat Nov 09 2024 Pavel Solovev - 0.45.0-1 - Update to 0.45.0 * Wed Oct 09 2024 Pavel Solovev - 0.44.1-1 - Update to 0.44.1 * Sun Oct 06 2024 Pavel Solovev - 0.44.0-1 - Update to 0.44.0 * Sun Sep 08 2024 Pavel Solovev - 0.43.0-1 - Update to 0.43.0 * Mon Sep 02 2024 Pavel Solovev - 0.42.0-2 - aquamarine rebuild * Wed Aug 07 2024 Pavel Solovev - 0.42.0-1 - Update to 0.42.0 * Thu Jul 18 2024 Fedora Release Engineering - 0.41.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 17 2024 Pavel Solovev - 0.41.2-3 - hyprutils rebuild * Wed Jul 03 2024 Pavel Solovev - 0.41.2-2 - libdisplay-info rebuild * Tue Jun 25 2024 Pavel Solovev - 0.41.2-1 - Update to 0.41.2 * Thu Jun 13 2024 Pavel Solovev - 0.41.1-1 - Update to 0.41.1 * Mon Jun 10 2024 Pavel Solovev - 0.41.0-1 - Update to 0.41.0 * Tue Jun 04 2024 Pavel Solovev - 0.40.0-2 - add deps for hyprpm * Sat Jun 01 2024 Pavel Solovev - 0.40.0-1 - Update to 0.40.0 * Sat Apr 27 2024 Pavel Solovev - 0.39.1-2 - minor spec tweaking * Tue Apr 16 2024 Pavel Solovev - 0.39.1-1 - Update to 0.39.1 * Sun Apr 14 2024 Pavel Solovev - 0.39.0-1 - Update to 0.39.0 * Sun Apr 07 2024 Pavel Solovev - 0.38.1-1 - Update to 0.38.1 (rhbz#2273790) * Mon Apr 01 2024 Pavel Solovev - 0.38.0-1 - Update to 0.38.0 * Mon Mar 18 2024 Pavel Solovev - 0.37.1-1 - Update to 0.37.1 * Mon Mar 11 2024 Pavel Solovev - 0.36.0-3 - hyprlang rebuild * Mon Mar 04 2024 Pavel Solovev - 0.36.0-2 - Add missing dep * Wed Feb 28 2024 Pavel Solovev - 0.36.0-1 - Update to 0.36.0 * Mon Feb 05 2024 Pavel Solovev - 0.35.0-1 - Update to 0.35.0 * Wed Jan 24 2024 Fedora Release Engineering - 0.34.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.34.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 17 2024 Pavel Solovev - 0.34.0-3 - Disable werror in wlroots * Wed Jan 17 2024 Pavel Solovev - 0.34.0-2 - prevent partial update * Mon Jan 15 2024 Pavel Solovev - 0.34.0-1 - Update to 0.34.0 * Mon Nov 20 2023 Pavel Solovev - 0.32.3-2 - add dependencies for the devel package * Sat Nov 11 2023 Pavel Solovev - 0.32.3-1 - Update to 0.32.3 * Sat Nov 11 2023 Pavel Solovev - 0.32.2-1 - Update to 0.32.2 * Sat Nov 11 2023 Pavel Solovev - 0.32.1-1 - Update to 0.32.1 * Tue Nov 07 2023 Pavel Solovev - 0.32.0-1 - Update to 0.32.0 * Sun Nov 05 2023 Pavel Solovev - 0.31.0-1 - Initial import (rhbz#2244377) ## END: Generated by rpmautospec