ee7582
Name:           wayland
ee7582
Version:        1.15.0
ee7582
Release:        1%{?dist}
ee7582
Summary:        Wayland Compositor Infrastructure
ee7582
ee7582
License:        MIT
ee7582
URL:            http://wayland.freedesktop.org/
ee7582
Source0:        http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
ee7582
ee7582
BuildRequires:  chrpath
ee7582
BuildRequires:  docbook-style-xsl
ee7582
BuildRequires:  doxygen
ee7582
BuildRequires:  expat-devel
ee7582
BuildRequires:  graphviz
ee7582
BuildRequires:  libxml2-devel
ee7582
BuildRequires:  libxslt
ee7582
BuildRequires:  pkgconfig(libffi)
ee7582
BuildRequires:  xmlto
ee7582
ee7582
%description
ee7582
Wayland is a protocol for a compositor to talk to its clients as well as a C
ee7582
library implementation of that protocol. The compositor can be a standalone
ee7582
display server running on Linux kernel modesetting and evdev input devices,
ee7582
an X application, or a wayland client itself. The clients can be traditional
ee7582
applications, X servers (rootless or fullscreen) or other display servers.
ee7582
ee7582
%package        devel
ee7582
Summary:        Development files for %{name}
ee7582
Requires:       libwayland-client%{?_isa} = %{version}-%{release}
ee7582
Requires:       libwayland-cursor%{?_isa} = %{version}-%{release}
ee7582
Requires:       libwayland-egl%{?_isa} = %{version}-%{release}
ee7582
Requires:       libwayland-server%{?_isa} = %{version}-%{release}
ee7582
# For upgrade path from F24
ee7582
Provides:       libwayland-client-devel = %{version}-%{release}
ee7582
Obsoletes:      libwayland-client-devel < 1.11.91
ee7582
Provides:       libwayland-cursor-devel = %{version}-%{release}
ee7582
Obsoletes:      libwayland-cursor-devel < 1.11.91
ee7582
Provides:       libwayland-server-devel = %{version}-%{release}
ee7582
Obsoletes:      libwayland-server-devel < 1.11.91
ee7582
# For upgrade path from F27
ee7582
Provides:       libwayland-egl-devel = %{version}-%{release}
ee7582
Provides:       mesa-libwayland-egl-devel = %{version}-%{release}
ee7582
Provides:       mesa-libwayland-egl-devel%{?_isa} = %{version}-%{release}
ee7582
Obsoletes:      mesa-libwayland-egl-devel < 18.1.0
ee7582
ee7582
%description    devel
ee7582
The %{name}-devel package contains libraries and header files for
ee7582
developing applications that use %{name}.
ee7582
ee7582
%package doc
ee7582
Summary: Wayland development documentation
ee7582
BuildArch: noarch
ee7582
%description doc
ee7582
Wayland development documentation
ee7582
ee7582
%package -n libwayland-client
ee7582
Summary: Wayland client library
ee7582
%description -n libwayland-client
ee7582
Wayland client library
ee7582
ee7582
%package -n libwayland-cursor
ee7582
Summary: Wayland cursor library
ee7582
%description -n libwayland-cursor
ee7582
Wayland cursor library
ee7582
ee7582
%package -n libwayland-egl
ee7582
Summary: Wayland egl library
ee7582
# For upgrade path from F27
ee7582
Provides:       mesa-libwayland-egl = %{version}-%{release}
ee7582
Provides:       mesa-libwayland-egl%{?_isa} = %{version}-%{release}
ee7582
Obsoletes:      mesa-libwayland-egl < 18.1.0
ee7582
ee7582
%description -n libwayland-egl
ee7582
Wayland egl library
ee7582
ee7582
%package -n libwayland-server
ee7582
Summary: Wayland server library
ee7582
%description -n libwayland-server
ee7582
Wayland server library
ee7582
ee7582
%prep
ee7582
%autosetup -p1
ee7582
ee7582
%build
ee7582
%configure --disable-static --enable-documentation
ee7582
make %{?_smp_mflags}
ee7582
ee7582
%install
ee7582
%make_install
ee7582
ee7582
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
ee7582
ee7582
# Remove lib64 rpaths
ee7582
chrpath -d $RPM_BUILD_ROOT%{_libdir}/libwayland-cursor.so
ee7582
ee7582
%check
ee7582
mkdir -m 700 tests/run
ee7582
XDG_RUNTIME_DIR=$PWD/tests/run make check || \
ee7582
{ rc=$?; cat test-suite.log; exit $rc; }
ee7582
ee7582
ee7582
%post -n libwayland-client -p /sbin/ldconfig
ee7582
%postun -n libwayland-client -p /sbin/ldconfig
ee7582
ee7582
%post -n libwayland-cursor -p /sbin/ldconfig
ee7582
%postun -n libwayland-cursor -p /sbin/ldconfig
ee7582
ee7582
%post -n libwayland-egl -p /sbin/ldconfig
ee7582
%postun -n libwayland-egl -p /sbin/ldconfig
ee7582
ee7582
%post -n libwayland-server -p /sbin/ldconfig
ee7582
%postun -n libwayland-server -p /sbin/ldconfig
ee7582
ee7582
ee7582
%files devel
ee7582
%{_bindir}/wayland-scanner
ee7582
%{_includedir}/wayland-*.h
ee7582
%{_libdir}/pkgconfig/wayland-*.pc
ee7582
%{_libdir}/libwayland-*.so
ee7582
%{_datadir}/aclocal/wayland-scanner.m4
ee7582
%dir %{_datadir}/wayland
ee7582
%{_datadir}/wayland/wayland-scanner.mk
ee7582
%{_datadir}/wayland/wayland.xml
ee7582
%{_datadir}/wayland/wayland.dtd
ee7582
%{_mandir}/man3/*.3*
ee7582
ee7582
%files doc
ee7582
%doc README TODO
ee7582
%{_datadir}/doc/wayland/
ee7582
ee7582
%files -n libwayland-client
ee7582
%license COPYING
ee7582
%{_libdir}/libwayland-client.so.0*
ee7582
ee7582
%files -n libwayland-cursor
ee7582
%license COPYING
ee7582
%{_libdir}/libwayland-cursor.so.0*
ee7582
ee7582
%files -n libwayland-egl
ee7582
%license COPYING
ee7582
%{_libdir}/libwayland-egl.so.1*
ee7582
ee7582
%files -n libwayland-server
ee7582
%license COPYING
ee7582
%{_libdir}/libwayland-server.so.0*
ee7582
ee7582
%changelog
ee7582
* Mon Apr 09 2018 Kalev Lember <klember@redhat.com> - 1.15.0-1
ee7582
- Update to 1.15.0
ee7582
- Resolves: #1576489
ee7582
ee7582
* Wed Nov 29 2017 Olivier Fourdan <ofourdan@redhat.com> - 1.14.0-2
ee7582
- Add libwayland-cursor heap overflow fix (#1518615)
ee7582
ee7582
* Fri Sep 22 2017 Olivier Fourdan <ofourdan@redhat.com> - 1.14.0-1
ee7582
- Update to 1.14.0
ee7582
ee7582
* Thu Jun 1 2017 Owen Taylor <otaylor@redhat.com> - 1.13.0-2
ee7582
- Add a patch fixing a build error with newer versions of graphviz
ee7582
ee7582
* Wed Feb 22 2017 Kalev Lember <klember@redhat.com> - 1.13.0-1
ee7582
- Update to 1.13.0
ee7582
ee7582
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.91-2
ee7582
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ee7582
ee7582
* Wed Jan 25 2017 Kalev Lember <klember@redhat.com> - 1.12.91-1
ee7582
- Update to 1.12.91
ee7582
ee7582
* Wed Sep 21 2016 Kalev Lember <klember@redhat.com> - 1.12.0-1
ee7582
- Update to 1.12.0
ee7582
ee7582
* Wed Sep 14 2016 Kalev Lember <klember@redhat.com> - 1.11.94-1
ee7582
- Update to 1.11.94
ee7582
ee7582
* Thu Sep 08 2016 Kalev Lember <klember@redhat.com> - 1.11.93-1
ee7582
- Update to 1.11.93
ee7582
ee7582
* Wed Aug 31 2016 Kalev Lember <klember@redhat.com> - 1.11.92-1
ee7582
- Update to 1.11.92
ee7582
ee7582
* Wed Aug 17 2016 Kalev Lember <klember@redhat.com> - 1.11.91-1
ee7582
- Update to 1.11.91
ee7582
- Simplify -devel subpackage packaging
ee7582
- Include license files in packaging
ee7582
ee7582
* Wed Jun 01 2016 Kalev Lember <klember@redhat.com> - 1.11.0-1
ee7582
- Update to 1.11.0
ee7582
ee7582
* Wed May 25 2016 Kalev Lember <klember@redhat.com> - 1.10.93-1
ee7582
- Update to 1.10.93
ee7582
ee7582
* Wed May 18 2016 Kalev Lember <klember@redhat.com> - 1.10.92-1
ee7582
- Update to 1.10.92
ee7582
ee7582
* Sun May 08 2016 Kalev Lember <klember@redhat.com> - 1.10.91-1
ee7582
- Update to 1.10.91
ee7582
ee7582
* Thu Feb 18 2016 Kalev Lember <klember@redhat.com> - 1.10.0-1
ee7582
- Update to 1.10.0
ee7582
ee7582
* Thu Feb 04 2016 Kalev Lember <klember@redhat.com> - 1.9.92-1
ee7582
- Update to 1.9.92
ee7582
ee7582
* Wed Jan 20 2016 Kalev Lember <klember@redhat.com> - 1.9.91-1
ee7582
- Update to 1.9.91
ee7582
ee7582
* Tue Sep 22 2015 Kalev Lember <klember@redhat.com> - 1.9.0-1
ee7582
- Update to 1.9.0
ee7582
- Use make_install macro
ee7582
ee7582
* Wed Sep 16 2015 Kalev Lember <klember@redhat.com> - 1.8.93-1
ee7582
- Update to 1.8.93
ee7582
ee7582
* Wed Sep 02 2015 Kalev Lember <klember@redhat.com> - 1.8.92-1
ee7582
- Update to 1.8.92
ee7582
ee7582
* Fri Aug 21 2015 Kalev Lember <klember@redhat.com> - 1.8.91-2
ee7582
- Split out wayland-doc subpackage for documentation
ee7582
ee7582
* Fri Aug 21 2015 Kalev Lember <klember@redhat.com> - 1.8.91-1
ee7582
- Update to 1.8.91
ee7582
ee7582
* Mon Jul 20 2015 Adam Jackson <ajax@redhat.com> 1.8.0-1
ee7582
- wayland 1.8.0
ee7582
ee7582
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.92-2
ee7582
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ee7582
ee7582
* Tue May 26 2015 Adam Jackson <ajax@redhat.com> 1.7.92-1
ee7582
- wayland 1.7.92
ee7582
ee7582
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.7.0-2
ee7582
- Rebuilt for Fedora 23 Change
ee7582
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
ee7582
ee7582
* Tue Feb 17 2015 Richard Hughes <rhughes@redhat.com> - 1.7.0-1
ee7582
- Wayland 1.7.0
ee7582
ee7582
* Fri Sep 19 2014 Kalev Lember <kalevlember@gmail.com> - 1.6.0-1
ee7582
- Update to 1.6.0
ee7582
- Remove lib64 rpaths
ee7582
ee7582
* Fri Aug 22 2014 Kevin Fenzi <kevin@scrye.com> 1.5.91-1
ee7582
- Update to 1.5.90
ee7582
ee7582
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-5
ee7582
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ee7582
ee7582
* Wed Jul 02 2014 Adam Jackson <ajax@redhat.com> 1.5.0-4
ee7582
- Update protocol: new surface error enums
ee7582
ee7582
* Mon Jun 30 2014 Adam Jackson <ajax@redhat.com> 1.5.0-3
ee7582
- Remove blocking flush patch as it actually introduces deadlocks now
ee7582
ee7582
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-2
ee7582
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ee7582
ee7582
* Wed May 21 2014 Richard Hughes <rhughes@redhat.com> - 1.5.0-1
ee7582
- Wayland 1.5.0
ee7582
ee7582
* Tue May 13 2014 Richard Hughes <rhughes@redhat.com> - 1.4.93-1
ee7582
- Wayland 1.4.93
ee7582
ee7582
* Fri Jan 24 2014 Richard Hughes <rhughes@redhat.com> - 1.4.0-1
ee7582
- Wayland 1.4.0
ee7582
ee7582
* Mon Jan 20 2014 Richard Hughes <rhughes@redhat.com> - 1.3.93-1
ee7582
- Wayland 1.3.93
ee7582
ee7582
* Sat Dec 21 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.3.91-2
ee7582
- Call ldconfig in libwayland-cursor %%post* scripts.
ee7582
- Run test suite during build.
ee7582
- Compress snapshot tarballs with xz.
ee7582
ee7582
* Tue Dec 17 2013 Richard Hughes <rhughes@redhat.com> - 1.3.91-1
ee7582
- Wayland 1.3.91
ee7582
ee7582
* Mon Nov 25 2013 Lubomir Rintel <lkundrak@v3.sk> - 1.3.0-1
ee7582
- Wayland 1.3.0
ee7582
ee7582
* Mon Oct 07 2013 Adam Jackson <ajax@redhat.com> 1.2.0-3
ee7582
- Don't use MSG_DONTWAIT in wl_connection_flush.
ee7582
ee7582
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
ee7582
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ee7582
ee7582
* Mon Jul 15 2013 Richard Hughes <rhughes@redhat.com> - 1.2.0-1
ee7582
- wayland 1.2.0
ee7582
ee7582
* Wed May 15 2013 Richard Hughes <rhughes@redhat.com> - 1.1.90-0.1.20130515
ee7582
- Update to a git snapshot based on what will become 1.1.90
ee7582
ee7582
* Tue Apr 16 2013 Richard Hughes <rhughes@redhat.com> - 1.1.0-1
ee7582
- wayland 1.1.0
ee7582
ee7582
* Wed Mar 27 2013 Richard Hughes <rhughes@redhat.com> - 1.0.6-1
ee7582
- wayland 1.0.6
ee7582
ee7582
* Thu Feb 21 2013 Adam Jackson <ajax@redhat.com> 1.0.5-1
ee7582
- wayland 1.0.5
ee7582
ee7582
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
ee7582
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ee7582
ee7582
* Wed Jan 02 2013 Adam Jackson <ajax@redhat.com> 1.0.3-1
ee7582
- wayland 1.0.3
ee7582
ee7582
* Tue Oct 23 2012 Adam Jackson <ajax@redhat.com> 1.0.0-1
ee7582
- wayland 1.0
ee7582
ee7582
* Thu Oct 18 2012 Adam Jackson <ajax@redhat.com> 0.99.0-1
ee7582
- wayland 0.99.0
ee7582
ee7582
* Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 0.95.0-1
ee7582
- wayland 0.95.0 (#843738)
ee7582
ee7582
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89.0-2.20120424
ee7582
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ee7582
ee7582
* Tue Apr 24 2012 Richard Hughes <rhughes@redhat.com> - 0.89.0-1
ee7582
- Update to a git snapshot based on 0.89.0
ee7582
ee7582
* Sat Feb 18 2012 Thorsten Leemhuis <fedora@leemhuis.info> - 0.85.0-1
ee7582
- update to 0.85.0
ee7582
- adjust license, as upstream changed it to MIT
ee7582
- update make-git-snapshot.sh to current locations and scheme
ee7582
- drop common package, not needed anymore
ee7582
- compositor is now in a separate package, hence reduce BuildRequires to what
ee7582
  is actually needed (a lot less) and adjust summary
ee7582
- make usage of a git checkout in spec file optional
ee7582
- a %%{?_isa} to requires where it makes sense
ee7582
ee7582
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.6.20101221
ee7582
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ee7582
ee7582
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.1-0.5.20101221
ee7582
- Rebuild for new libpng
ee7582
ee7582
* Wed Jun 15 2011 Lubomir Rintel <lkundrak@v3.sk> - 0.1-0.4.20101221
ee7582
- Install real compositor binary instead of a libtool wrapper
ee7582
ee7582
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.3.20101221
ee7582
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ee7582
ee7582
* Tue Dec 21 2010 Adam Jackson <ajax@redhat.com> 0.1-0.2.20101221
ee7582
- Today's git snap
ee7582
ee7582
* Tue Nov 23 2010 Adam Jackson <ajax@redhat.com> 0.1-0.2.20101123
ee7582
- Today's git snap
ee7582
- Fix udev rule install (#653353)
ee7582
ee7582
* Mon Nov 15 2010 Adam Jackson <ajax@redhat.com> 0.1-0.1.20101111
ee7582
- Initial packaging