You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
%global wayland_min_version 1.3
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
Name: plasma-wayland-protocols
|
|
|
|
Version: 5.19.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
|
|
|
|
* Tue Jun 9 2020 Martin Kyral <martin.kyral@gmail.com> - 5.19.0-1
|
|
|
|
- 5.19.0
|
|
|
|
|
|
|
|
* Fri May 22 2020 Martin Kyral <martin.kyral@gmail.com> - 1.0-1
|
|
|
|
- 1.0
|