2019-11-06 19:55:52 +08:00
|
|
|
Name: wayland
|
|
|
|
|
Version: 1.17.0
|
2020-01-15 02:08:02 +08:00
|
|
|
Release: 2
|
2019-11-06 19:55:52 +08:00
|
|
|
Summary: Wayland Compositor Infrastructure
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://wayland.freedesktop.org/
|
|
|
|
|
Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
|
2019-09-30 11:19:37 -04:00
|
|
|
|
2019-11-06 19:55:52 +08:00
|
|
|
BuildRequires: gcc chrpath docbook-style-xsl doxygen expat-devel
|
|
|
|
|
BuildRequires: libxml2-devel libxslt libffi-devel xmlto graphviz
|
2019-09-30 11:19:37 -04:00
|
|
|
|
2019-11-06 19:55:52 +08:00
|
|
|
Provides: libwayland-client libwayland-cursor libwayland-egl
|
|
|
|
|
Obsoletes: libwayland-client libwayland-cursor libwayland-egl
|
2019-09-30 11:19:37 -04:00
|
|
|
|
2019-11-06 19:55:52 +08:00
|
|
|
Provides: libwayland-server mesa-libwayland-egl
|
|
|
|
|
Obsoletes: libwayland-server mesa-libwayland-egl
|
2019-09-30 11:19:37 -04:00
|
|
|
|
2019-11-06 19:55:52 +08:00
|
|
|
%description
|
|
|
|
|
Wayland is a protocol for a compositor to talk to its clients as
|
|
|
|
|
well as a C library implementation of that protocol. The
|
|
|
|
|
compositor can be a standalone display server running on Linux
|
|
|
|
|
kernel modesetting and evdev input devices, an X application, or
|
|
|
|
|
a wayland client itself. The clients can be traditional
|
|
|
|
|
applications, X servers (rootless or fullscreen) or other display
|
|
|
|
|
servers.
|
|
|
|
|
|
|
|
|
|
Part of the Wayland project is also the Weston reference
|
|
|
|
|
implementation of a Wayland compositor. Weston can run as an X
|
|
|
|
|
client or under Linux KMS and ships with a few demo clients. The
|
|
|
|
|
Weston compositor is a minimal and fast compositor and is
|
|
|
|
|
suitable for many embedded and mobile use cases.
|
2019-09-30 11:19:37 -04:00
|
|
|
|
2019-11-06 19:55:52 +08:00
|
|
|
%package devel
|
|
|
|
|
Summary: Header files for wayland
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2019-09-30 11:19:37 -04:00
|
|
|
|
2019-11-06 19:55:52 +08:00
|
|
|
Provides: libwayland-client-devel libwayland-cursor-devel
|
|
|
|
|
Obsoletes: libwayland-client-devel libwayland-cursor-devel
|
2019-09-30 11:19:37 -04:00
|
|
|
|
2019-11-06 19:55:52 +08:00
|
|
|
Provides: libwayland-server-devel libwayland-egl-devel
|
|
|
|
|
Obsoletes: libwayland-server-devel libwayland-egl-devel
|
2019-09-30 11:19:37 -04:00
|
|
|
|
2019-11-06 19:55:52 +08:00
|
|
|
Provides: mesa-libwayland-egl-devel mesa-libwayland-egl-devel%{?_isa}
|
2020-01-15 02:08:02 +08:00
|
|
|
Obsoletes: mesa-libwayland-egl-devel
|
2019-09-30 11:19:37 -04:00
|
|
|
|
|
|
|
|
%description devel
|
2019-11-06 19:55:52 +08:00
|
|
|
Header files for wayland.
|
2019-09-30 11:19:37 -04:00
|
|
|
|
2019-11-06 19:55:52 +08:00
|
|
|
%package help
|
|
|
|
|
Summary: Documents for wayland
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: man info
|
|
|
|
|
Provides: wayland-doc
|
|
|
|
|
Obsoletes: wayland-doc
|
2019-09-30 11:19:37 -04:00
|
|
|
|
2019-11-06 19:55:52 +08:00
|
|
|
%description help
|
|
|
|
|
Man pages and other related documents for wayland
|
2019-09-30 11:19:37 -04:00
|
|
|
|
|
|
|
|
%prep
|
2019-11-06 19:55:52 +08:00
|
|
|
%autosetup -n %{name}-%{version} -p1
|
2019-09-30 11:19:37 -04:00
|
|
|
|
|
|
|
|
%build
|
2019-11-06 19:55:52 +08:00
|
|
|
%configure --enable-documentation
|
|
|
|
|
%make_build
|
2019-09-30 11:19:37 -04:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
2019-11-06 19:55:52 +08:00
|
|
|
%delete_la
|
2019-09-30 11:19:37 -04:00
|
|
|
|
2019-11-06 19:55:52 +08:00
|
|
|
chrpath -d %{buildroot}%{_libdir}/libwayland-cursor.so
|
2019-09-30 11:19:37 -04:00
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
mkdir -m 700 tests/run
|
|
|
|
|
XDG_RUNTIME_DIR=$PWD/tests/run
|
|
|
|
|
make check || \
|
|
|
|
|
{ rc=$?; cat test-suite.log; exit $rc; }
|
|
|
|
|
|
|
|
|
|
%files
|
2019-11-06 19:55:52 +08:00
|
|
|
%defattr(-,root,root)
|
2019-09-30 11:19:37 -04:00
|
|
|
%license COPYING
|
2019-11-06 19:55:52 +08:00
|
|
|
%{_libdir}/libwayland-*.so.*
|
2019-09-30 11:19:37 -04:00
|
|
|
|
2019-11-06 19:55:52 +08:00
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
2019-09-30 11:19:37 -04:00
|
|
|
%{_bindir}/wayland-scanner
|
|
|
|
|
%{_libdir}/libwayland-*.so
|
2019-11-06 19:55:52 +08:00
|
|
|
%{_libdir}/pkgconfig/wayland-*.pc
|
|
|
|
|
%{_includedir}/wayland-*.h
|
|
|
|
|
%{_datadir}/wayland/*
|
|
|
|
|
%{_datadir}/aclocal/*
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
2019-09-30 11:19:37 -04:00
|
|
|
%doc README TODO
|
2019-11-06 19:55:52 +08:00
|
|
|
%{_mandir}/man3/*
|
2019-09-30 11:19:37 -04:00
|
|
|
%{_datadir}/doc/wayland/
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-01-15 02:08:02 +08:00
|
|
|
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.17.0-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:delete the isa in obsoletes
|
|
|
|
|
|
2019-11-06 19:55:52 +08:00
|
|
|
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.17.0-1
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update to 1.17.0
|
|
|
|
|
|
2019-09-30 11:19:37 -04:00
|
|
|
* Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:6.02-5
|
|
|
|
|
- Package init
|