wayland/wayland.spec

115 lines
3.7 KiB
RPMSpec
Raw Normal View History

2019-11-06 19:55:52 +08:00
Name: wayland
Version: 1.18.0
Release: 1
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 pkgconfig(libffi) xmlto graphviz
2019-09-30 11:19:37 -04:00
Provides: libwayland-client = %{version}-%{release} libwayland-cursor = %{version}-%{release}
Obsoletes: libwayland-client < %{version}-%{release} libwayland-cursor < %{version}-%{release}
Provides: libwayland-egl = %{version}-%{release} libwayland-server = %{version}-%{release}
Obsoletes: libwayland-egl < %{version}-%{release} libwayland-server < %{version}-%{release}
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: Development files for %{name}
Requires: libwayland-client%{?_isa} = %{version}-%{release}
Requires: libwayland-cursor%{?_isa} = %{version}-%{release}
Requires: libwayland-egl%{?_isa} = %{version}-%{release}
Requires: libwayland-server%{?_isa} = %{version}-%{release}
# For upgrade path from F24
Provides: libwayland-client-devel = %{version}-%{release}
Obsoletes: libwayland-client-devel < %{version}-%{release}
Provides: libwayland-cursor-devel = %{version}-%{release}
Obsoletes: libwayland-cursor-devel < %{version}-%{release}
Provides: libwayland-server-devel = %{version}-%{release}
Obsoletes: libwayland-server-devel < %{version}-%{release}
# For upgrade path from F27
Provides: libwayland-egl-devel = %{version}-%{release}
Obsoletes: libwayland-egl-devel < %{version}-%{release}
2019-09-30 11:19:37 -04:00
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package_help
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
%configure --disable-static --enable-documentation
2019-11-06 19:55:52 +08:00
%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
%defattr(-,root,root)
%license COPYING
%{_libdir}/libwayland-*.so.*
2019-09-30 11:19:37 -04:00
%files devel
2019-09-30 11:19:37 -04:00
%{_bindir}/wayland-scanner
2019-11-06 19:55:52 +08:00
%{_includedir}/wayland-*.h
%{_libdir}/pkgconfig/wayland-*.pc
%{_libdir}/libwayland-*.so
%{_datadir}/aclocal/wayland-scanner.m4
%dir %{_datadir}/wayland
%{_datadir}/wayland/wayland-scanner.mk
%{_datadir}/wayland/wayland.xml
%{_datadir}/wayland/wayland.dtd
%files help
%defattr(-,root,root)
2019-09-30 11:19:37 -04:00
%doc README TODO
%{_mandir}/man3/*.3*
2019-09-30 11:19:37 -04:00
%{_datadir}/doc/wayland/
2019-09-30 11:19:37 -04:00
%changelog
* Fri Jul 17 2020 chengguipeng <chenguipeng1@huawei.com> - 1.18.0-1
- upgrade to 1.18.0-1
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