diff --git a/kwayland-server-5.24.0.tar.xz b/kwayland-server-5.24.0.tar.xz new file mode 100644 index 0000000..06dad85 Binary files /dev/null and b/kwayland-server-5.24.0.tar.xz differ diff --git a/kwayland-server.spec b/kwayland-server.spec new file mode 100644 index 0000000..fe2a2db --- /dev/null +++ b/kwayland-server.spec @@ -0,0 +1,75 @@ +%global wayland_min_version 1.3 + +Name: kwayland-server +Version: 5.24.0 +Release: 1 +Summary: Wayland server components built on KDE Frameworks + +License: LGPLv2+ and MIT and BSD +URL: https://invent.kde.org/plasma/%{name} + +%global revision %(echo %{version} | cut -d. -f3) +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif +Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz +BuildRequires: libxml2 +%if 0 +BuildRequires: qt5-qtbase-devel + +BuildRequires: extra-cmake-modules +BuildRequires: kf5-kwayland-devel +BuildRequires: wayland-devel +BuildRequires: wayland-protocols-devel + +BuildRequires: plasma-wayland-protocols-devel >= 1.2 +BuildRequires: kf5-kwindowsystem-devel +BuildRequires: kf5-kguiaddons-devel +BuildRequires: qt5-qtwayland-devel +%endif +%description +%{summary}. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. +%if 0 +%prep +%autosetup -p1 + + +%build +mkdir %{_target_platform} +pushd %{_target_platform} +%{cmake_kf5} .. +popd +make %{?_smp_mflags} -C %{_target_platform} + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + + +%ldconfig_scriptlets + +%files +%license LICENSES/* +%{_kf5_datadir}/qlogging-categories5/kwaylandserver.categories +%{_kf5_libdir}/libKWaylandServer.so.* +%endif +%files devel +%if 0 +%{_kf5_libdir}/libKWaylandServer.so +%{_includedir}/KWaylandServer/ +%{_includedir}/kwaylandserver_version.h +%{_libdir}/cmake/KWaylandServer/ +%endif + +%changelog +* Sat Feb 12 2022 pei-jiankang - 5.24.0-1 +- update to upstream version 5.24.0 +