update code

This commit is contained in:
zhuchunyi 2019-11-06 19:55:52 +08:00
parent 9f51f613b4
commit d47f398fc4
3 changed files with 66 additions and 80 deletions

Binary file not shown.

BIN
wayland-1.17.0.tar.xz Normal file

Binary file not shown.

View File

@ -1,90 +1,73 @@
Name: wayland Name: wayland
Version: 1.16.0 Version: 1.17.0
Release: 1%{?dist} Release: 1
Summary: Wayland Compositor Infrastructure Summary: Wayland Compositor Infrastructure
License: MIT
URL: http://wayland.freedesktop.org/
Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
License: MIT BuildRequires: gcc chrpath docbook-style-xsl doxygen expat-devel
URL: http://wayland.freedesktop.org/ BuildRequires: libxml2-devel libxslt libffi-devel xmlto graphviz
Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
BuildRequires: gcc Provides: libwayland-client libwayland-cursor libwayland-egl
BuildRequires: chrpath Obsoletes: libwayland-client libwayland-cursor libwayland-egl
BuildRequires: docbook-style-xsl
BuildRequires: doxygen
BuildRequires: expat-devel
BuildRequires: graphviz
BuildRequires: libxml2-devel
BuildRequires: libxslt
BuildRequires: pkgconfig(libffi)
BuildRequires: xmlto
Provides: libwayland-client Provides: libwayland-server mesa-libwayland-egl
Obsoletes: libwayland-client Obsoletes: libwayland-server mesa-libwayland-egl
Provides: libwayland-cursor
Obsoletes: libwayland-cursor
Provides: libwayland-egl
Obsoletes: libwayland-egl
Provides: libwayland-server
Obsoletes: libwayland-server
Provides: mesa-libwayland-egl
Obsoletes: mesa-libwayland-egl
%description %description
Wayland is a protocol for a compositor to talk to its clients as well as a C Wayland is a protocol for a compositor to talk to its clients as
library implementation of that protocol. The compositor can be a standalone well as a C library implementation of that protocol. The
display server running on Linux kernel modesetting and evdev input devices, compositor can be a standalone display server running on Linux
an X application, or a wayland client itself. The clients can be traditional kernel modesetting and evdev input devices, an X application, or
applications, X servers (rootless or fullscreen) or other display servers. 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.
%package devel %package devel
Summary: Development files for %{name} Summary: Header files for wayland
Requires: libwayland-client Requires: %{name} = %{version}-%{release}
Requires: libwayland-cursor
Requires: libwayland-egl
Requires: libwayland-server
Provides: libwayland-client-devel = %{version}-%{release} Provides: libwayland-client-devel libwayland-cursor-devel
Obsoletes: libwayland-client-devel < 1.11.91 Obsoletes: libwayland-client-devel libwayland-cursor-devel
Provides: libwayland-cursor-devel = %{version}-%{release}
Obsoletes: libwayland-cursor-devel < 1.11.91
Provides: libwayland-server-devel = %{version}-%{release}
Obsoletes: libwayland-server-devel < 1.11.91
Provides: libwayland-egl-devel = %{version}-%{release} Provides: libwayland-server-devel libwayland-egl-devel
Provides: mesa-libwayland-egl-devel = %{version}-%{release} Obsoletes: libwayland-server-devel libwayland-egl-devel
Provides: mesa-libwayland-egl-devel%{?_isa} = %{version}-%{release}
Obsoletes: mesa-libwayland-egl-devel < 18.1.0 Provides: mesa-libwayland-egl-devel mesa-libwayland-egl-devel%{?_isa}
Obsoletes: mesa-libwayland-egl-devel mesa-libwayland-egl-devel%{?_isa}
%description devel %description devel
The %{name}-devel package contains libraries and header files for Header files for wayland.
developing applications that use %{name}.
%package help %package help
Summary: Wayland development documentation Summary: Documents for wayland
BuildArch: noarch BuildArch: noarch
Provides: wayland-doc Requires: man info
Obsoletes: wayland-doc Provides: wayland-doc
Obsoletes: wayland-doc
%description help %description help
Wayland development documentation Man pages and other related documents for wayland
%prep %prep
%autosetup -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%configure --disable-static --enable-documentation %configure --enable-documentation
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
%delete_la
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f chrpath -d %{buildroot}%{_libdir}/libwayland-cursor.so
chrpath -d $RPM_BUILD_ROOT%{_libdir}/libwayland-cursor.so
%check %check
mkdir -m 700 tests/run mkdir -m 700 tests/run
@ -93,28 +76,31 @@ make check || \
{ rc=$?; cat test-suite.log; exit $rc; } { rc=$?; cat test-suite.log; exit $rc; }
%files %files
%defattr(-,root,root)
%license COPYING %license COPYING
%{_libdir}/libwayland-client.so.0* %{_libdir}/libwayland-*.so.*
%{_libdir}/libwayland-cursor.so.0*
%{_libdir}/libwayland-egl.so.1*
%{_libdir}/libwayland-server.so.0*
%files devel %files devel
%defattr(-,root,root)
%{_bindir}/wayland-scanner %{_bindir}/wayland-scanner
%{_includedir}/wayland-*.h
%{_libdir}/pkgconfig/wayland-*.pc
%{_libdir}/libwayland-*.so %{_libdir}/libwayland-*.so
%{_datadir}/aclocal/wayland-scanner.m4 %{_libdir}/pkgconfig/wayland-*.pc
%dir %{_datadir}/wayland %{_includedir}/wayland-*.h
%{_datadir}/wayland/wayland-scanner.mk %{_datadir}/wayland/*
%{_datadir}/wayland/wayland.xml %{_datadir}/aclocal/*
%{_datadir}/wayland/wayland.dtd
%{_mandir}/man3/*.3*
%files help %files help
%defattr(-,root,root)
%doc README TODO %doc README TODO
%{_mandir}/man3/*
%{_datadir}/doc/wayland/ %{_datadir}/doc/wayland/
%changelog %changelog
* 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
* Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:6.02-5 * Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:6.02-5
- Package init - Package init