2015-12-17 10:17:27 +01:00
|
|
|
#
|
|
|
|
# spec file for package wayland-protocols
|
|
|
|
#
|
2024-01-31 09:25:27 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2015-12-17 10:17:27 +01:00
|
|
|
# Copyright (c) 2015 Bjørn Lie, Bryne, Norway.
|
|
|
|
#
|
|
|
|
# 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-11-25 12:55:20 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-12-17 10:17:27 +01:00
|
|
|
#
|
|
|
|
|
2016-02-08 13:49:23 +01:00
|
|
|
|
2015-12-17 10:17:27 +01:00
|
|
|
Name: wayland-protocols
|
2024-05-08 17:10:33 +02:00
|
|
|
Version: 1.36
|
2015-12-17 10:17:27 +01:00
|
|
|
Release: 0
|
2021-10-12 12:37:07 +02:00
|
|
|
Summary: Wayland protocols that add functionality not available in the core protocol
|
2016-02-08 13:49:23 +01:00
|
|
|
License: MIT
|
2015-12-17 10:17:27 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2022-10-14 15:07:13 +02:00
|
|
|
URL: https://wayland.freedesktop.org
|
|
|
|
Source: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/%{version}/downloads/%{name}-%{version}.tar.xz
|
|
|
|
Source2: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/%{version}/downloads/%{name}-%{version}.tar.xz.sig
|
2017-11-10 12:54:10 +01:00
|
|
|
Source3: %{name}.keyring
|
2023-10-20 13:17:33 +02:00
|
|
|
%if 0%{?suse_version} > 1500
|
2021-10-13 11:02:25 +02:00
|
|
|
BuildRequires: c++_compiler
|
2021-11-09 16:29:27 +01:00
|
|
|
BuildRequires: c_compiler
|
2023-10-20 13:17:33 +02:00
|
|
|
%else
|
|
|
|
BuildRequires: gcc11
|
|
|
|
BuildRequires: gcc11-c++
|
|
|
|
%endif
|
2022-07-17 15:11:45 +02:00
|
|
|
BuildRequires: meson >= 0.55.0
|
2017-11-10 12:54:10 +01:00
|
|
|
BuildRequires: pkgconfig
|
2022-10-14 15:07:13 +02:00
|
|
|
BuildRequires: python3-base
|
2016-02-19 16:29:55 +01:00
|
|
|
BuildRequires: pkgconfig(wayland-scanner)
|
2015-12-17 10:17:27 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2021-10-12 12:37:07 +02:00
|
|
|
This package contains Wayland protocols that add functionality not
|
|
|
|
available in the Wayland core protocol. Such protocols either add
|
|
|
|
completely new functionality, or extend the functionality of some other
|
2015-12-17 10:17:27 +01:00
|
|
|
protocol either in Wayland core, or some other protocol in
|
|
|
|
wayland-protocols.
|
|
|
|
|
|
|
|
%package devel
|
2021-10-12 12:37:07 +02:00
|
|
|
Summary: Wayland protocols that add functionality not available in the core protocol
|
2016-02-08 13:49:23 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2015-12-17 10:17:27 +01:00
|
|
|
|
|
|
|
%description devel
|
2021-10-12 12:37:07 +02:00
|
|
|
This package contains Wayland protocols that add functionality not
|
|
|
|
available in the Wayland core protocol. Such protocols either add
|
|
|
|
completely new functionality, or extend the functionality of some other
|
2015-12-17 10:17:27 +01:00
|
|
|
protocol either in Wayland core, or some other protocol in
|
|
|
|
wayland-protocols.
|
|
|
|
|
|
|
|
%prep
|
2021-11-09 16:29:27 +01:00
|
|
|
%autosetup -p1
|
2015-12-17 10:17:27 +01:00
|
|
|
|
|
|
|
%build
|
2023-10-20 13:17:33 +02:00
|
|
|
%if 0%{?suse_version} <= 1500
|
|
|
|
export CC=gcc-11
|
|
|
|
export CXX=gcc-11
|
|
|
|
%endif
|
2021-10-13 11:02:25 +02:00
|
|
|
%meson
|
2021-10-12 12:37:07 +02:00
|
|
|
%meson_build
|
2015-12-17 10:17:27 +01:00
|
|
|
|
|
|
|
%install
|
2023-10-20 13:17:33 +02:00
|
|
|
%if 0%{?suse_version} <= 1500
|
|
|
|
export CC=gcc-11
|
|
|
|
export CXX=gcc-11
|
|
|
|
%endif
|
2021-10-12 12:37:07 +02:00
|
|
|
%meson_install
|
2015-12-17 10:17:27 +01:00
|
|
|
|
2021-10-13 11:02:25 +02:00
|
|
|
%check
|
|
|
|
%meson_test
|
|
|
|
|
2015-12-17 10:17:27 +01:00
|
|
|
%files devel
|
2020-03-04 21:21:40 +01:00
|
|
|
%doc README.md GOVERNANCE.md MEMBERS.md
|
2018-11-25 12:55:20 +01:00
|
|
|
%license COPYING
|
2015-12-17 10:17:27 +01:00
|
|
|
%{_datadir}/pkgconfig/%{name}.pc
|
|
|
|
%{_datadir}/%{name}/
|
|
|
|
|
2016-02-08 13:49:23 +01:00
|
|
|
%changelog
|