Files
desktop/wayland/wayland.spec
2025-11-26 15:35:30 +08:00

110 lines
3.3 KiB
RPMSpec

# SPDX-FileCopyrightText: (C) 2025 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2025 openRuyi Project Contributors
# SPDX-FileContributor: jingyupu <pujingyu@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
Name: wayland
Version: 1.24.0
Release: %autorelease
Summary: Wayland Compositor Infrastructure
License: MIT
URL: https://wayland.freedesktop.org/
#!RemoteAsset
Source0: https://gitlab.freedesktop.org/wayland/wayland/-/releases/%{version}/downloads/wayland-%{version}.tar.xz
Source1: https://gitlab.freedesktop.org/wayland/wayland/-/releases/%{version}/downloads/wayland-%{version}.tar.xz.sig
Source2: %name.keyring
Source3: baselibs.conf
BuildSystem: meson
BuildRequires: c++_compiler
BuildRequires: c_compiler
BuildRequires: libxml2-tools
BuildRequires: libxslt-tools
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: xz
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(libffi)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: doxygen
BuildRequires: graphviz-gnome
BuildRequires: xmlto
%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.
%package -n libwayland-client0
Summary: Wayland client library
%description -n libwayland-client0
This package contains the Wayland client library, libwayland-client.
%package -n libwayland-cursor0
Summary: Wayland cursor library
%description -n libwayland-cursor0
This package contains the Wayland cursor library, libwayland-cursor.
%package -n libwayland-egl1
Summary: Wayland EGL library
%description -n libwayland-egl1
This package contains the Wayland EGL library, libwayland-egl.
%package -n libwayland-server0
Summary: Wayland server library
%description -n libwayland-server0
This package contains the Wayland server library, libwayland-server.
%package devel
Summary: Development files for Wayland
Requires: libwayland-client0 = %{version}-%{release}
Requires: libwayland-cursor0 = %{version}-%{release}
Requires: libwayland-egl1 = %{version}-%{release}
Requires: libwayland-server0 = %{version}-%{release}
Requires: pkgconfig
%description devel
This package contains the headers, libraries and tools needed to develop
Wayland-based applications, including the wayland-scanner tool.
%package doc
Summary: Documentation for Wayland
%description doc
This package contains the API documentation for Wayland.
%files -n libwayland-client0
%license COPYING
%{_libdir}/libwayland-client.so.0*
%files -n libwayland-cursor0
%{_libdir}/libwayland-cursor.so.0*
%files -n libwayland-egl1
%{_libdir}/libwayland-egl.so.1*
%files -n libwayland-server0
%{_libdir}/libwayland-server.so.0*
%files devel
%{_bindir}/wayland-scanner
%{_includedir}/%{name}/
%{_libdir}/libwayland-*.so
%{_libdir}/pkgconfig/wayland-*.pc
%{_datadir}/aclocal/
%{_datadir}/wayland/
%files doc
%{_mandir}/man3/wl*.3*
%{_docdir}/%{name}/
%changelog
%{?autochangelog}