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