81 lines
2.3 KiB
RPMSpec
81 lines
2.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
|
|
|
|
%define kf6_version 6.18.0
|
|
%define qt6_version 6.9.0
|
|
|
|
%define rname kwayland
|
|
|
|
Name: kwayland6
|
|
Version: 6.5.5
|
|
Release: %autorelease
|
|
Summary: KDE Wayland library
|
|
License: LGPL-2.1-or-later
|
|
URL: https://www.kde.org
|
|
VCS: git:https://invent.kde.org/plasma/kwayland
|
|
#!RemoteAsset
|
|
Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
|
|
|
|
BuildRequires: doxygen
|
|
BuildRequires: fdupes
|
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: xcb-util
|
|
BuildRequires: qt6-qtbase-gui >= %{qt6_version}
|
|
BuildRequires: qt6-doctools
|
|
BuildRequires: qt6-wayland-devel >= %{qt6_version}
|
|
BuildRequires: cmake(PlasmaWaylandProtocols) >= 1.14.0
|
|
BuildRequires: cmake(Qt6Concurrent) >= %{qt6_version}
|
|
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
|
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
|
|
BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version}
|
|
BuildRequires: cmake(Qt6WaylandClient) >= %{qt6_version}
|
|
BuildRequires: cmake(Qt6WaylandGlobalPrivate) >= %{qt6_version}
|
|
BuildRequires: pkgconfig(egl)
|
|
BuildRequires: pkgconfig(wayland-client) >= 1.15.0
|
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.15.0
|
|
BuildRequires: pkgconfig(wayland-server) >= 1.15.0
|
|
|
|
%description
|
|
KWayland provides a Qt-style Client and Server library wrapper for the Wayland
|
|
libraries.
|
|
|
|
%package devel
|
|
Summary: KDE Wayland library: Build Environment
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
KWayland provides a Qt-style Client and Server library wrapper for the Wayland
|
|
libraries.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{rname}-%{version}
|
|
|
|
%build
|
|
%cmake_kf6 -DBUILD_QCH:BOOL=TRUE
|
|
|
|
%kf6_build
|
|
|
|
%install
|
|
%kf6_install
|
|
|
|
%files
|
|
%license LICENSES/*
|
|
%doc README.md
|
|
%{_kf6_debugdir}/kwayland.categories
|
|
%{_kf6_debugdir}/kwayland.renamecategories
|
|
%{_kf6_libdir}/libKWaylandClient.so.*
|
|
|
|
%files devel
|
|
%doc %{_kf6_qchdir}/KWayland.*
|
|
%{_includedir}/KWayland/
|
|
%{_kf6_cmakedir}/KWayland/
|
|
%{_kf6_libdir}/libKWaylandClient.so
|
|
%{_kf6_pkgconfigdir}/KWaylandClient.pc
|
|
|
|
%changelog
|
|
%{?autochangelog}
|