Accepting request 979151 from X11:Wayland
OBS-URL: https://build.opensuse.org/request/show/979151 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wayland?expand=0&rev=47
This commit is contained in:
commit
0fa18ffad4
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 24 19:27:57 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- modernize spec file
|
||||||
|
* use licensedir
|
||||||
|
* use bcond
|
||||||
|
* use https:// urls
|
||||||
|
* spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 25 15:37:00 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
|
Tue Jan 25 15:37:00 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
31
wayland.spec
31
wayland.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package wayland
|
# spec file for package wayland
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,45 +12,44 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define _version 1.20.0
|
%define _version 1.20.0
|
||||||
%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1550
|
%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1550
|
||||||
%define eglversion 99~%_version
|
%define eglversion 99~%_version
|
||||||
%else
|
%else
|
||||||
%define eglversion %_version
|
%define eglversion %_version
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define lname libwayland0
|
%define lname libwayland0
|
||||||
|
%bcond_with doc
|
||||||
Name: wayland
|
Name: wayland
|
||||||
Version: %_version
|
Version: %_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Wayland Compositor Infrastructure
|
Summary: Wayland Compositor Infrastructure
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://wayland.freedesktop.org/
|
URL: https://wayland.freedesktop.org/
|
||||||
|
|
||||||
#Git-Clone: git://anongit.freedesktop.org/wayland/wayland
|
#Git-Clone: git://anongit.freedesktop.org/wayland/wayland
|
||||||
#Git-Web: http://cgit.freedesktop.org/wayland/wayland/
|
#Git-Web: http://cgit.freedesktop.org/wayland/wayland/
|
||||||
Source: http://wayland.freedesktop.org/releases/%name-%version.tar.xz
|
Source: https://wayland.freedesktop.org/releases/%name-%version.tar.xz
|
||||||
Source2: http://wayland.freedesktop.org/releases/%name-%version.tar.xz.sig
|
Source2: https://wayland.freedesktop.org/releases/%name-%version.tar.xz.sig
|
||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
Source4: baselibs.conf
|
Source4: baselibs.conf
|
||||||
# PATCH-FIX-UPSTREAM wayland-shm-Close-file-descriptors-not-needed.patch bsc#1194190 alynx.zhou@suse.com -- Close file descriptors not needed to prevent Xwayland crash.
|
# PATCH-FIX-UPSTREAM wayland-shm-Close-file-descriptors-not-needed.patch bsc#1194190 alynx.zhou@suse.com -- Close file descriptors not needed to prevent Xwayland crash.
|
||||||
Patch1: wayland-shm-Close-file-descriptors-not-needed.patch
|
Patch1: wayland-shm-Close-file-descriptors-not-needed.patch
|
||||||
BuildRequires: c_compiler
|
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
|
BuildRequires: c_compiler
|
||||||
BuildRequires: libxml2-tools
|
BuildRequires: libxml2-tools
|
||||||
BuildRequires: libxslt-tools
|
BuildRequires: libxslt-tools
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRequires: pkgconfig(expat)
|
BuildRequires: pkgconfig(expat)
|
||||||
BuildRequires: pkgconfig(libffi)
|
BuildRequires: pkgconfig(libffi)
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
%define with_doc 0
|
%if %{with doc}
|
||||||
%if 0%with_doc
|
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: graphviz-gnome
|
BuildRequires: graphviz-gnome
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
@ -87,9 +86,9 @@ loads them directly into an shm pool making it easy for the clients
|
|||||||
to get buffer for each cursor image.
|
to get buffer for each cursor image.
|
||||||
|
|
||||||
%package -n libwayland-egl1
|
%package -n libwayland-egl1
|
||||||
|
Version: %eglversion
|
||||||
Summary: Additional egl functions for wayland
|
Summary: Additional egl functions for wayland
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Version: %eglversion
|
|
||||||
|
|
||||||
%description -n libwayland-egl1
|
%description -n libwayland-egl1
|
||||||
This package provides additional functions for EGL-using programs
|
This package provides additional functions for EGL-using programs
|
||||||
@ -119,7 +118,7 @@ Requires: libwayland-server0 = %_version
|
|||||||
# egl1 was once provided by Mesa 17.x.
|
# egl1 was once provided by Mesa 17.x.
|
||||||
%if (0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150400)
|
%if (0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150400)
|
||||||
Provides: libwayland-egl-devel = 18.1.5
|
Provides: libwayland-egl-devel = 18.1.5
|
||||||
Obsoletes: libwayland-egl-devel < 18.1.5
|
Obsoletes: libwayland-egl-devel < 18.1.5
|
||||||
%else
|
%else
|
||||||
Provides: libwayland-egl-devel = 18.0.2
|
Provides: libwayland-egl-devel = 18.0.2
|
||||||
Obsoletes: libwayland-egl-devel < 18.0.2
|
Obsoletes: libwayland-egl-devel < 18.0.2
|
||||||
@ -153,7 +152,7 @@ sed -i 's/<eglversion>/%eglversion/' "%_sourcedir/baselibs.conf"
|
|||||||
# includedir intentional, cf. bugzilla.opensuse.org/795968
|
# includedir intentional, cf. bugzilla.opensuse.org/795968
|
||||||
%meson \
|
%meson \
|
||||||
--includedir="%_includedir/%name" \
|
--includedir="%_includedir/%name" \
|
||||||
%if %with_doc
|
%if %{with doc}
|
||||||
--docdir="%_defaultdocdir/%name"
|
--docdir="%_defaultdocdir/%name"
|
||||||
%else
|
%else
|
||||||
-D documentation=false
|
-D documentation=false
|
||||||
@ -184,7 +183,7 @@ sed -i 's/<eglversion>/%eglversion/' "%_sourcedir/baselibs.conf"
|
|||||||
|
|
||||||
%files -n libwayland-client0
|
%files -n libwayland-client0
|
||||||
%_libdir/libwayland-client.so.0*
|
%_libdir/libwayland-client.so.0*
|
||||||
%doc COPYING
|
%license COPYING
|
||||||
|
|
||||||
%files -n libwayland-cursor0
|
%files -n libwayland-cursor0
|
||||||
%_libdir/libwayland-cursor.so.0*
|
%_libdir/libwayland-cursor.so.0*
|
||||||
@ -203,7 +202,7 @@ sed -i 's/<eglversion>/%eglversion/' "%_sourcedir/baselibs.conf"
|
|||||||
%_datadir/aclocal/
|
%_datadir/aclocal/
|
||||||
%_datadir/wayland/
|
%_datadir/wayland/
|
||||||
|
|
||||||
%if %with_doc
|
%if %{with doc}
|
||||||
%files doc
|
%files doc
|
||||||
%_mandir/man3/wl*.3*
|
%_mandir/man3/wl*.3*
|
||||||
%_docdir/%name/
|
%_docdir/%name/
|
||||||
|
Loading…
Reference in New Issue
Block a user