]> git.pld-linux.org Git - packages/wayland-protocols.git/blobdiff - wayland-protocols.spec
up to 1.25
[packages/wayland-protocols.git] / wayland-protocols.spec
index 4f8d5fddef1694c50d205b80527cec385c98118a..f0de347fa4d3d7ea2aee5bf6abd8971b82e971d4 100644 (file)
@@ -1,15 +1,21 @@
 Summary:       Wayland protocol files
 Summary(pl.UTF-8):     Pliki protokoĊ‚u Wayland
 Name:          wayland-protocols
-Version:       1.4
+Version:       1.25
 Release:       1
 License:       MIT
 Group:         Libraries
+#Source0Download: https://wayland.freedesktop.org/releases.html
 Source0:       https://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
-# Source0-md5: fd8089abf13a1d04e4baa6509ee72baf
+# Source0-md5: 0c192bf32de09ec30de4a82d1c65329c
 URL:           https://wayland.freedesktop.org/
+BuildRequires: meson >= 0.54.0
+BuildRequires: ninja >= 1.5
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: tar >= 1:1.22
 BuildRequires: wayland-devel
+BuildRequires: xz
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -31,26 +37,20 @@ z wayland-protocols.
 %setup -q
 
 %build
-%configure \
-%if "%{_gnu}" != "-gnux32"
-       --host=%{_host} \
-       --build=%{_host} \
-%endif
-       --disable-silent-rules
+%meson build
 
-%{__make}
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc COPYING README
+%doc COPYING GOVERNANCE.md MEMBERS.md README.md
 %{_datadir}/wayland-protocols
 %{_npkgconfigdir}/wayland-protocols.pc
This page took 0.024758 seconds and 4 git commands to generate.