2014-09-22 22:09:14 +00:00
|
|
|
#
|
2014-09-22 22:11:38 +00:00
|
|
|
# spec file for package kwayland
|
2014-09-22 22:09:14 +00:00
|
|
|
#
|
2021-01-09 12:18:57 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2014-09-22 22:09:14 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-16 12:26:51 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-09-22 22:09:14 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-12-10 16:06:21 +00:00
|
|
|
%define _tar_path 5.89
|
2017-09-13 13:20:12 +00:00
|
|
|
# Full KF5 version (e.g. 5.33.0)
|
|
|
|
%{!?_kf5_version: %global _kf5_version %{version}}
|
|
|
|
# Last major and minor KF5 version (e.g. 5.33)
|
2018-07-17 08:58:12 +00:00
|
|
|
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
|
2019-08-11 21:07:35 +00:00
|
|
|
# Only needed for the package signature condition
|
|
|
|
%bcond_without lang
|
2014-09-22 22:09:14 +00:00
|
|
|
Name: kwayland
|
2021-12-10 16:06:21 +00:00
|
|
|
Version: 5.89.0
|
2014-09-22 22:09:14 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: KDE Wayland library
|
2018-03-14 13:00:53 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2014-09-22 22:09:14 +00:00
|
|
|
Group: Development/Libraries/KDE
|
2018-10-16 12:26:51 +00:00
|
|
|
URL: https://www.kde.org
|
2021-11-12 12:21:00 +00:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2019-08-12 00:09:28 +00:00
|
|
|
%if %{with lang}
|
2021-11-12 12:21:00 +00:00
|
|
|
Source1: %{name}-%{version}.tar.xz.sig
|
2019-08-11 21:07:35 +00:00
|
|
|
Source2: frameworks.keyring
|
|
|
|
%endif
|
2017-09-13 13:20:12 +00:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
2014-09-22 22:11:38 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: kf5-filesystem
|
2021-05-09 07:42:03 +00:00
|
|
|
BuildRequires: libQt5Gui-private-headers-devel >= 5.15.0
|
2018-08-20 12:58:50 +00:00
|
|
|
BuildRequires: pkgconfig
|
2021-04-10 13:33:47 +00:00
|
|
|
BuildRequires: cmake(PlasmaWaylandProtocols) >= 1.2.1
|
2021-05-09 07:42:03 +00:00
|
|
|
BuildRequires: cmake(Qt5Concurrent) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Gui) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5WaylandClient) >= 5.15.0
|
2015-04-10 19:18:17 +00:00
|
|
|
BuildRequires: pkgconfig(egl)
|
2019-08-11 21:07:35 +00:00
|
|
|
BuildRequires: pkgconfig(wayland-client) >= 1.15.0
|
2019-07-16 12:34:18 +00:00
|
|
|
BuildRequires: pkgconfig(wayland-protocols)
|
2019-08-11 21:07:35 +00:00
|
|
|
BuildRequires: pkgconfig(wayland-server) >= 1.15.0
|
2018-08-20 12:58:50 +00:00
|
|
|
%requires_eq libQt5Gui5
|
|
|
|
Provides: libKF5WaylandClient5 = %{version}
|
|
|
|
Obsoletes: libKF5WaylandClient5 <= %{version}
|
|
|
|
Provides: libKF5WaylandServer5 = %{version}
|
|
|
|
Obsoletes: libKF5WaylandServer5 <= %{version}
|
2014-09-22 22:09:14 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
KWayland provides a Qt-style Client and Server library wrapper for the Wayland libraries.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: KDE Wayland library: Build Environment
|
|
|
|
Group: Development/Libraries/KDE
|
2015-08-09 08:42:17 +00:00
|
|
|
Requires: %{name} = %{version}
|
2019-08-11 21:07:35 +00:00
|
|
|
Requires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
2021-05-09 07:42:03 +00:00
|
|
|
Requires: cmake(Qt5Gui) >= 5.15.0
|
2014-09-22 22:09:14 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
KWayland provides a Qt-style Client and Server library wrapper for the Wayland libraries.
|
|
|
|
|
|
|
|
%prep
|
2021-05-09 07:42:03 +00:00
|
|
|
%autosetup -p1
|
2014-09-22 22:09:14 +00:00
|
|
|
|
|
|
|
%build
|
2021-05-09 07:42:03 +00:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%cmake_build
|
2014-09-22 22:09:14 +00:00
|
|
|
|
|
|
|
%install
|
2021-05-09 07:42:03 +00:00
|
|
|
%kf5_makeinstall -C build
|
2014-09-22 22:09:14 +00:00
|
|
|
|
2015-08-09 08:42:17 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
2014-09-22 22:09:14 +00:00
|
|
|
|
2015-08-09 08:42:17 +00:00
|
|
|
%files
|
2020-07-11 10:30:57 +00:00
|
|
|
%license LICENSES/*
|
2018-06-13 22:11:39 +00:00
|
|
|
%{_kf5_debugdir}/*.categories
|
2020-08-09 07:39:52 +00:00
|
|
|
%{_kf5_debugdir}/*.renamecategories
|
2014-09-22 22:09:14 +00:00
|
|
|
%{_kf5_libdir}/libKF5WaylandClient.so.*
|
|
|
|
%{_kf5_libdir}/libKF5WaylandServer.so.*
|
|
|
|
|
|
|
|
%files devel
|
2020-07-11 10:30:57 +00:00
|
|
|
%{_kf5_includedir}/
|
|
|
|
%{_kf5_libdir}/cmake/KF5Wayland/
|
2014-09-22 22:09:14 +00:00
|
|
|
%{_kf5_libdir}/libKF5WaylandClient.so
|
|
|
|
%{_kf5_libdir}/libKF5WaylandServer.so
|
2016-06-06 21:28:11 +00:00
|
|
|
%{_kf5_libdir}/libexec/org-kde-kf5-kwayland-testserver
|
2015-08-09 08:42:17 +00:00
|
|
|
%{_kf5_mkspecsdir}/qt_KWaylandClient.pri
|
|
|
|
%{_kf5_mkspecsdir}/qt_KWaylandServer.pri
|
2014-09-22 22:09:14 +00:00
|
|
|
|
|
|
|
%changelog
|