diff --git a/plasma-wayland-protocols-1.5.0.tar.xz b/plasma-wayland-protocols-1.5.0.tar.xz new file mode 100644 index 0000000..dc8faf7 Binary files /dev/null and b/plasma-wayland-protocols-1.5.0.tar.xz differ diff --git a/plasma-wayland-protocols.spec b/plasma-wayland-protocols.spec new file mode 100644 index 0000000..2c8926e --- /dev/null +++ b/plasma-wayland-protocols.spec @@ -0,0 +1,54 @@ + +%global wayland_min_version 1.4 +%global debug_package %{nil} + +Name: plasma-wayland-protocols +Version: 1.5.0 +Release: 1 +Summary: Plasma Specific Protocols for Wayland +License: LGPLv2+ and MIT and BSD +URL: https://invent.kde.org/libraries/%{name} + +Source0: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz + +BuildRequires: extra-cmake-modules +BuildRequires: qt5-qtbase-devel + +%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}. + + +%prep +%autosetup -n %{name}-%{version} -p1 + + +%build +mkdir %{_target_platform} +pushd %{_target_platform} +%{cmake_kf5} .. +popd + +%make_build -C %{_target_platform} + + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + +%files +%license COPYING.LIB +%{_kf5_datadir}/plasma-wayland-protocols/ + +%files devel +%{_kf5_libdir}/cmake/PlasmaWaylandProtocols/ + +%changelog +* Thu Jan 20 2022 pei-jiankang - 1.5-1 +- Init upstream version 1.5