Antonio Larrosa
44e602fd45
- Run test-suite during build: + Add c_compiler and c++_compiler BuildRequires. + Stop passing tests=false to meson. + Add check section and meson_test macro. OBS-URL: https://build.opensuse.org/request/show/925027 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/wayland-protocols?expand=0&rev=52
76 lines
2.3 KiB
RPMSpec
76 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package wayland-protocols
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: wayland-protocols
|
|
Version: 1.23
|
|
Release: 0
|
|
Summary: Wayland protocols that add functionality not available in the core protocol
|
|
License: MIT
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://wayland.freedesktop.org/
|
|
Source: https://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
|
|
Source2: https://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz.sig
|
|
Source3: %{name}.keyring
|
|
|
|
BuildRequires: c_compiler
|
|
BuildRequires: c++_compiler
|
|
BuildRequires: meson >= 0.54.0
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(wayland-scanner)
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
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
|
|
protocol either in Wayland core, or some other protocol in
|
|
wayland-protocols.
|
|
|
|
%package devel
|
|
Summary: Wayland protocols that add functionality not available in the core protocol
|
|
Group: Development/Libraries/C and C++
|
|
|
|
%description devel
|
|
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
|
|
protocol either in Wayland core, or some other protocol in
|
|
wayland-protocols.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%check
|
|
%meson_test
|
|
|
|
%files devel
|
|
%doc README.md GOVERNANCE.md MEMBERS.md
|
|
%license COPYING
|
|
%{_datadir}/pkgconfig/%{name}.pc
|
|
%{_datadir}/%{name}/
|
|
|
|
%changelog
|