From 1916246a60bb6732c7eacb4e220f6603eac8334e Mon Sep 17 00:00:00 2001 From: Martin Kyral Date: Tue, 26 May 2020 08:11:51 +0200 Subject: [PATCH] plasma-wayland-protocols: 5.18.90 - importing package --- .gitignore | 1 + plasma-wayland-protocols.spec | 61 +++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 63 insertions(+) create mode 100644 .gitignore create mode 100644 plasma-wayland-protocols.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..52e9ee7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/plasma-wayland-protocols-1.0.tar.xz diff --git a/plasma-wayland-protocols.spec b/plasma-wayland-protocols.spec new file mode 100644 index 0000000..611ec31 --- /dev/null +++ b/plasma-wayland-protocols.spec @@ -0,0 +1,61 @@ +%global wayland_min_version 1.3 +%global debug_package %{nil} + +Name: plasma-wayland-protocols +Version: 1.0 +Release: 1%{?dist} +Summary: Plasma Specific Protocols for Wayland + +License: LGPLv2+ and MIT and BSD +URL: https://invent.kde.org/libraries/%{name}.git + +#%global revision %(echo %{version} | cut -d. -f3) +#%if %{revision} >= 50 +#%global stable unstable +#%else +#%global stable stable +#%endif +Source0: https://download.kde.org/stable/%{name}/%{version}/%{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 -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 +* Fri May 22 2020 Martin Kyral - 1.0-1 +- 1.0 diff --git a/sources b/sources new file mode 100644 index 0000000..bad6842 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (plasma-wayland-protocols-1.0.tar.xz) = 30ecbf9fbf9de7ee1d323fb43b0f4a05586e0f7d2c4d510e2300828e7a6a16e8907d8d2a835d4ecbb2d4d532641ea722ff6572403f767e0ac878b7fdb0897b08