# mdbook is not available on EL10; the SRPM is built on Fedora, so do not key this off %%rhel %bcond book 0 Name: wayland Version: 1.26.0 Release: 1%{?dist} Summary: Wayland Compositor Infrastructure # SPDX License: MIT URL: http://wayland.freedesktop.org/ Source0: %{name}-%{version}.tar.xz # https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/548 Patch0: 0001-doc-add-option-to-not-build-the-book.patch BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: docbook-style-xsl BuildRequires: doxygen BuildRequires: expat-devel BuildRequires: graphviz BuildRequires: libxml2-devel BuildRequires: libxslt %if %{with book} BuildRequires: mdbook %endif BuildRequires: meson BuildRequires: pkgconfig(libffi) BuildRequires: xmlto # For origin certification %description Wayland is a protocol for a compositor to talk to its clients as well as a C library implementation of that protocol. The compositor can be a standalone display server running on Linux kernel modesetting and evdev input devices, an X application, or a wayland client itself. The clients can be traditional applications, X servers (rootless or fullscreen) or other display servers. %dnl ------------------------------------------------------------------------ %package devel Summary: Development files for %{name} Requires: libwayland-client%{?_isa} = %{version}-%{release} Requires: libwayland-cursor%{?_isa} = %{version}-%{release} Requires: libwayland-egl%{?_isa} = %{version}-%{release} Requires: libwayland-server%{?_isa} = %{version}-%{release} Requires: pkgconfig(libffi) %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %files devel %{_bindir}/wayland-scanner %{_includedir}/wayland-*.h %{_libdir}/pkgconfig/wayland-*.pc %{_libdir}/libwayland-*.so %{_datadir}/aclocal/wayland-scanner.m4 %dir %{_datadir}/wayland %{_datadir}/wayland/wayland-scanner.mk %{_datadir}/wayland/wayland.xml %{_datadir}/wayland/wayland.dtd %{_mandir}/man3/*.3* %dnl ------------------------------------------------------------------------ %package doc Summary: Wayland development documentation BuildArch: noarch %if %{with book} # Required for mdbook generated docs Requires: adobe-source-code-pro-fonts Requires: open-sans-fonts %endif %description doc Wayland development documentation %files doc %doc README.md %{_datadir}/doc/wayland/ %dnl ------------------------------------------------------------------------ %package -n libwayland-client Summary: Wayland client library %description -n libwayland-client Wayland client library %files -n libwayland-client %license COPYING %{_libdir}/libwayland-client.so.0* %dnl ------------------------------------------------------------------------ %package -n libwayland-cursor Summary: Wayland cursor library Requires: libwayland-client%{?_isa} = %{version}-%{release} %description -n libwayland-cursor Wayland cursor library %files -n libwayland-cursor %license COPYING %{_libdir}/libwayland-cursor.so.0* %dnl ------------------------------------------------------------------------ %package -n libwayland-egl Summary: Wayland egl library %description -n libwayland-egl Wayland egl library %files -n libwayland-egl %license COPYING %{_libdir}/libwayland-egl.so.1* %dnl ------------------------------------------------------------------------ %package -n libwayland-server Summary: Wayland server library %description -n libwayland-server Wayland server library %files -n libwayland-server %license COPYING %{_libdir}/libwayland-server.so.0* %dnl ------------------------------------------------------------------------ %prep %autosetup -p1 %conf %meson %{!?with_book:-Dbook=false} %build %meson_build %install %meson_install %check %meson_test %changelog * Tue Nov 03 2026 c0mpile - %{version}-1 - Build Fedora's packaging for EL10 from the upstream release tarball