Group :: Sistema/X11
RPM: wayland-protocols
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define ver_major 1.32
%if "%__gcc_version_major" < "11"
%ifarch ppc64le
%def_disable check
%endif
%endif
Name: wayland-protocols
Version: %ver_major
Release: alt1
Summary: Wayland protocols
License: MIT
Group: System/X11
Url: https://wayland.freedesktop.org/
Vcs: https://gitlab.freedesktop.org/wayland/wayland-protocols.git
Source: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/%version/downloads/%name-%version.tar.xz
#Source: https://wayland.freedesktop.org/releases/%name-%version.tar.xz
BuildArch: noarch
%define wayland_ver 1.20
BuildRequires(pre): rpm-macros-meson
BuildRequires: meson gcc-c++ libwayland-client-devel >= %wayland_ver libwayland-server-devel
%description
wayland-protocols contains Wayland protocols that adds functionality not
available in the Wayland core protocol. Such protocols either adds
completely new functionality, or extends the functionality of some other
protocol either in Wayland core, or some other protocol in wayland-protocols.
%prep
%setup
%build
%meson
%meson_build
%install
%meson_install
%find_lang %name
%check
%__meson_test
%files -f %name.lang
%_datadir/%name/
%_datadir/pkgconfig/%name.pc
%doc README.md
%changelog
…
Todas as alterações você pod ver aqui
%if "%__gcc_version_major" < "11"
%ifarch ppc64le
%def_disable check
%endif
%endif
Name: wayland-protocols
Version: %ver_major
Release: alt1
Summary: Wayland protocols
License: MIT
Group: System/X11
Url: https://wayland.freedesktop.org/
Vcs: https://gitlab.freedesktop.org/wayland/wayland-protocols.git
Source: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/%version/downloads/%name-%version.tar.xz
#Source: https://wayland.freedesktop.org/releases/%name-%version.tar.xz
BuildArch: noarch
%define wayland_ver 1.20
BuildRequires(pre): rpm-macros-meson
BuildRequires: meson gcc-c++ libwayland-client-devel >= %wayland_ver libwayland-server-devel
%description
wayland-protocols contains Wayland protocols that adds functionality not
available in the Wayland core protocol. Such protocols either adds
completely new functionality, or extends the functionality of some other
protocol either in Wayland core, or some other protocol in wayland-protocols.
%prep
%setup
%build
%meson
%meson_build
%install
%meson_install
%find_lang %name
%check
%__meson_test
%files -f %name.lang
%_datadir/%name/
%_datadir/pkgconfig/%name.pc
%doc README.md
%changelog
…
Todas as alterações você pod ver aqui