155a746
Name:           wayland
56973be
Version:        1.10.91
5337fa6
Release:        1%{?dist}
ea60c5f
Summary:        Wayland Compositor Infrastructure
155a746
155a746
Group:          User Interface/X
ea60c5f
License:        MIT
155a746
URL:            http://%{name}.freedesktop.org/
976aec9
Source0:        http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
155a746
974c921
BuildRequires:  chrpath
f0928c9
BuildRequires:  doxygen
ea60c5f
BuildRequires:  pkgconfig(libffi)
155a746
BuildRequires:  expat-devel
b8e5e97
BuildRequires:  libxml2-devel
Richard Hughes 95b1d7e
BuildRequires:  libxslt
550e6d0
BuildRequires:  docbook-style-xsl
Richard Hughes 7ea3f47
BuildRequires:  xmlto
Richard Hughes 7ea3f47
BuildRequires:  graphviz
ea60c5f
155a746
%description
155a746
Wayland is a protocol for a compositor to talk to its clients as well as a C
155a746
library implementation of that protocol. The compositor can be a standalone
155a746
display server running on Linux kernel modesetting and evdev input devices,
155a746
an X application, or a wayland client itself. The clients can be traditional
155a746
applications, X servers (rootless or fullscreen) or other display servers.
155a746
155a746
%package devel
155a746
Summary: Common headers for wayland
155a746
License: MIT
155a746
%description devel
155a746
Common headers for wayland
155a746
3615209
%package doc
3615209
Summary: Wayland development documentation
3615209
License: MIT
3615209
BuildArch: noarch
3615209
Obsoletes: wayland < 1.8.91
3615209
%description doc
3615209
Wayland development documentation
3615209
155a746
%package -n libwayland-client
155a746
Summary: Wayland client library
155a746
License: MIT
155a746
%description -n libwayland-client
155a746
Wayland client library
155a746
976aec9
%package -n libwayland-cursor
976aec9
Summary: Wayland cursor library
976aec9
License: MIT
976aec9
%description -n libwayland-cursor
976aec9
Wayland cursor library
976aec9
155a746
%package -n libwayland-server
155a746
Summary: Wayland server library
155a746
License: MIT
155a746
%description -n libwayland-server
155a746
Wayland server library
155a746
155a746
%package -n libwayland-client-devel
155a746
Summary: Headers and symlinks for developing wayland client applications
155a746
License: MIT
ea60c5f
Requires: libwayland-client%{?_isa} = %{version}-%{release}
ea60c5f
Requires: wayland-devel%{?_isa} = %{version}-%{release}
155a746
%description -n libwayland-client-devel
155a746
Headers and symlinks for developing wayland client applications.
155a746
976aec9
%package -n libwayland-cursor-devel
976aec9
Summary: Headers and symlinks for developing wayland cursor applications
976aec9
License: MIT
976aec9
Requires: libwayland-cursor%{?_isa} = %{version}-%{release}
976aec9
Requires: wayland-devel%{?_isa} = %{version}-%{release}
976aec9
%description -n libwayland-cursor-devel
976aec9
Headers and symlinks for developing wayland cursor applications.
976aec9
155a746
%package -n libwayland-server-devel
155a746
Summary: Headers and symlinks for developing wayland server applications
155a746
License: MIT
ea60c5f
Requires: libwayland-server%{?_isa} = %{version}-%{release}
ea60c5f
Requires: wayland-devel%{?_isa} = %{version}-%{release}
155a746
%description -n libwayland-server-devel
155a746
Headers and symlinks for developing wayland server applications.
155a746
155a746
%prep
5337fa6
%setup -q
155a746
155a746
%build
Richard Hughes 95b1d7e
%configure --disable-static --enable-documentation
155a746
make %{?_smp_mflags}
155a746
155a746
155a746
%install
f3360cb
%make_install
155a746
155a746
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
155a746
974c921
# Remove lib64 rpaths
974c921
chrpath -d $RPM_BUILD_ROOT%{_libdir}/libwayland-cursor.so
974c921
2c2b1c5
%check
2c2b1c5
mkdir -m 700 tests/run
a2e646b
# known failure in i686 koji (not always, but sometimes?):
a2e646b
#     resources-test, test "destroy_res_tst":	signal 11, fail
6656fda
XDG_RUNTIME_DIR=$PWD/tests/run make check || \
a2e646b
{ rc=$?; cat tests/test-suite.log; } # exit $rc; }
2c2b1c5
155a746
155a746
%post -n libwayland-client -p /sbin/ldconfig
155a746
%postun -n libwayland-client -p /sbin/ldconfig
155a746
2c2b1c5
%post -n libwayland-cursor -p /sbin/ldconfig
2c2b1c5
%postun -n libwayland-cursor -p /sbin/ldconfig
2c2b1c5
155a746
%post -n libwayland-server -p /sbin/ldconfig
155a746
%postun -n libwayland-server -p /sbin/ldconfig
155a746
155a746
155a746
%files devel
ea60c5f
%{_bindir}/wayland-scanner
155a746
%{_includedir}/wayland-util.h
ea60c5f
%{_includedir}/wayland-egl.h
e2fd430
%{_includedir}/wayland-egl-core.h
Richard Hughes 95b1d7e
%{_includedir}/wayland-version.h
ea60c5f
%{_datadir}/aclocal/wayland-scanner.m4
Richard Hughes 2cbd816
%{_libdir}/pkgconfig/wayland-scanner.pc
a3488c6
%dir %{_datadir}/wayland
Richard Hughes 087761c
%{_datadir}/wayland/wayland-scanner.mk
a3488c6
%{_datadir}/wayland/wayland.xml
Richard Hughes 21330a4
%{_datadir}/wayland/wayland.dtd
f0928c9
%{_mandir}/man3/*.3*
155a746
3615209
%files doc
3615209
%doc README TODO
3615209
%{_datadir}/doc/wayland/
3615209
155a746
%files -n libwayland-client
155a746
%{_libdir}/libwayland-client.so.0*
155a746
976aec9
%files -n libwayland-cursor
976aec9
%{_libdir}/libwayland-cursor.so.0*
976aec9
155a746
%files -n libwayland-server
155a746
%{_libdir}/libwayland-server.so.0*
155a746
155a746
%files -n libwayland-client-devel
155a746
%{_includedir}/wayland-client*.h
155a746
%{_libdir}/libwayland-client.so
ea60c5f
%{_libdir}/pkgconfig/wayland-client.pc
155a746
976aec9
%files -n libwayland-cursor-devel
976aec9
%{_includedir}/wayland-cursor*.h
976aec9
%{_libdir}/libwayland-cursor.so
976aec9
%{_libdir}/pkgconfig/wayland-cursor.pc
976aec9
155a746
%files -n libwayland-server-devel
155a746
%{_includedir}/wayland-server*.h
155a746
%{_libdir}/libwayland-server.so
ea60c5f
%{_libdir}/pkgconfig/wayland-server.pc
155a746
155a746
%changelog
56973be
* Sun May 08 2016 Kalev Lember <klember@redhat.com> - 1.10.91-1
56973be
- Update to 1.10.91
56973be
34ccd58
* Thu Feb 18 2016 Kalev Lember <klember@redhat.com> - 1.10.0-1
34ccd58
- Update to 1.10.0
34ccd58
00d46b2
* Thu Feb 04 2016 Kalev Lember <klember@redhat.com> - 1.9.92-1
00d46b2
- Update to 1.9.92
00d46b2
2cfdf76
* Wed Jan 20 2016 Kalev Lember <klember@redhat.com> - 1.9.91-1
2cfdf76
- Update to 1.9.91
2cfdf76
7e5cf98
* Tue Sep 22 2015 Kalev Lember <klember@redhat.com> - 1.9.0-1
7e5cf98
- Update to 1.9.0
f3360cb
- Use make_install macro
7e5cf98
c311bbb
* Wed Sep 16 2015 Kalev Lember <klember@redhat.com> - 1.8.93-1
c311bbb
- Update to 1.8.93
c311bbb
c9cfdd6
* Wed Sep 02 2015 Kalev Lember <klember@redhat.com> - 1.8.92-1
c9cfdd6
- Update to 1.8.92
c9cfdd6
3615209
* Fri Aug 21 2015 Kalev Lember <klember@redhat.com> - 1.8.91-2
3615209
- Split out wayland-doc subpackage for documentation
3615209
c710558
* Fri Aug 21 2015 Kalev Lember <klember@redhat.com> - 1.8.91-1
c710558
- Update to 1.8.91
c710558
2029d89
* Mon Jul 20 2015 Adam Jackson <ajax@redhat.com> 1.8.0-1
2029d89
- wayland 1.8.0
2029d89
208283f
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.92-2
208283f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
208283f
e2fd430
* Tue May 26 2015 Adam Jackson <ajax@redhat.com> 1.7.92-1
e2fd430
- wayland 1.7.92
e2fd430
a6c515a
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.7.0-2
a6c515a
- Rebuilt for Fedora 23 Change
a6c515a
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
a6c515a
Richard Hughes 7ea3f47
* Tue Feb 17 2015 Richard Hughes <rhughes@redhat.com> - 1.7.0-1
Richard Hughes 7ea3f47
- Wayland 1.7.0
Richard Hughes 7ea3f47
9eeef9f
* Fri Sep 19 2014 Kalev Lember <kalevlember@gmail.com> - 1.6.0-1
9eeef9f
- Update to 1.6.0
974c921
- Remove lib64 rpaths
9eeef9f
2a0f58f
* Fri Aug 22 2014 Kevin Fenzi <kevin@scrye.com> 1.5.91-1
2a0f58f
- Update to 1.5.90
2a0f58f
0c93053
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-5
0c93053
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0c93053
d604d61
* Wed Jul 02 2014 Adam Jackson <ajax@redhat.com> 1.5.0-4
d604d61
- Update protocol: new surface error enums
d604d61
efd78f3
* Mon Jun 30 2014 Adam Jackson <ajax@redhat.com> 1.5.0-3
efd78f3
- Remove blocking flush patch as it actually introduces deadlocks now
efd78f3
95d2b84
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-2
95d2b84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
95d2b84
Richard Hughes b654643
* Wed May 21 2014 Richard Hughes <rhughes@redhat.com> - 1.5.0-1
Richard Hughes b654643
- Wayland 1.5.0
Richard Hughes b654643
Richard Hughes 2cbd816
* Tue May 13 2014 Richard Hughes <rhughes@redhat.com> - 1.4.93-1
Richard Hughes 2cbd816
- Wayland 1.4.93
Richard Hughes 2cbd816
Richard Hughes 5982d90
* Fri Jan 24 2014 Richard Hughes <rhughes@redhat.com> - 1.4.0-1
Richard Hughes 5982d90
- Wayland 1.4.0
Richard Hughes 5982d90
Richard Hughes e44b734
* Mon Jan 20 2014 Richard Hughes <rhughes@redhat.com> - 1.3.93-1
Richard Hughes e44b734
- Wayland 1.3.93
Richard Hughes e44b734
2c2b1c5
* Sat Dec 21 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.3.91-2
2c2b1c5
- Call ldconfig in libwayland-cursor %%post* scripts.
2c2b1c5
- Run test suite during build.
2c2b1c5
- Compress snapshot tarballs with xz.
2c2b1c5
Richard Hughes 21330a4
* Tue Dec 17 2013 Richard Hughes <rhughes@redhat.com> - 1.3.91-1
Richard Hughes 21330a4
- Wayland 1.3.91
Richard Hughes 21330a4
a3488c6
* Mon Nov 25 2013 Lubomir Rintel <lkundrak@v3.sk> - 1.3.0-1
a3488c6
- Wayland 1.3.0
a3488c6
f48a9b8
* Mon Oct 07 2013 Adam Jackson <ajax@redhat.com> 1.2.0-3
f48a9b8
- Don't use MSG_DONTWAIT in wl_connection_flush.
f48a9b8
69b08ad
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
69b08ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
69b08ad
Richard Hughes 087761c
* Mon Jul 15 2013 Richard Hughes <rhughes@redhat.com> - 1.2.0-1
Richard Hughes 087761c
- wayland 1.2.0
Richard Hughes 087761c
Richard Hughes da2bfeb
* Wed May 15 2013 Richard Hughes <rhughes@redhat.com> - 1.1.90-0.1.20130515
Richard Hughes da2bfeb
- Update to a git snapshot based on what will become 1.1.90
Richard Hughes da2bfeb
Richard Hughes d866424
* Tue Apr 16 2013 Richard Hughes <rhughes@redhat.com> - 1.1.0-1
Richard Hughes d866424
- wayland 1.1.0
Richard Hughes d866424
Richard Hughes f3b4415
* Wed Mar 27 2013 Richard Hughes <rhughes@redhat.com> - 1.0.6-1
Richard Hughes f3b4415
- wayland 1.0.6
Richard Hughes f3b4415
c4438cc
* Thu Feb 21 2013 Adam Jackson <ajax@redhat.com> 1.0.5-1
c4438cc
- wayland 1.0.5
c4438cc
854aa65
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
854aa65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
854aa65
12e2a00
* Wed Jan 02 2013 Adam Jackson <ajax@redhat.com> 1.0.3-1
12e2a00
- wayland 1.0.3
12e2a00
42bbde8
* Tue Oct 23 2012 Adam Jackson <ajax@redhat.com> 1.0.0-1
42bbde8
- wayland 1.0
42bbde8
f0928c9
* Thu Oct 18 2012 Adam Jackson <ajax@redhat.com> 0.99.0-1
f0928c9
- wayland 0.99.0
f0928c9
976aec9
* Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 0.95.0-1
976aec9
- wayland 0.95.0 (#843738)
976aec9
e1c6e0e
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89.0-2.20120424
e1c6e0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e1c6e0e
Richard Hughes 95b1d7e
* Tue Apr 24 2012 Richard Hughes <rhughes@redhat.com> - 0.89.0-1
Richard Hughes 95b1d7e
- Update to a git snapshot based on 0.89.0
Richard Hughes 95b1d7e
ea60c5f
* Sat Feb 18 2012 Thorsten Leemhuis <fedora@leemhuis.info> - 0.85.0-1
ea60c5f
- update to 0.85.0
ea60c5f
- adjust license, as upstream changed it to MIT
ea60c5f
- update make-git-snapshot.sh to current locations and scheme
ea60c5f
- drop common package, not needed anymore
ea60c5f
- compositor is now in a separate package, hence reduce BuildRequires to what
ea60c5f
  is actually needed (a lot less) and adjust summary
ea60c5f
- make usage of a git checkout in spec file optional
ea60c5f
- a %%{?_isa} to requires where it makes sense
ea60c5f
48dbb9a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.6.20101221
48dbb9a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
48dbb9a
3c47a93
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.1-0.5.20101221
3c47a93
- Rebuild for new libpng
3c47a93
ea34b88
* Wed Jun 15 2011 Lubomir Rintel <lkundrak@v3.sk> - 0.1-0.4.20101221
ea34b88
- Install real compositor binary instead of a libtool wrapper
ea34b88
7f63332
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.3.20101221
7f63332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7f63332
cfff610
* Tue Dec 21 2010 Adam Jackson <ajax@redhat.com> 0.1-0.2.20101221
cfff610
- Today's git snap
cfff610
cfff610
* Tue Nov 23 2010 Adam Jackson <ajax@redhat.com> 0.1-0.2.20101123
1a58326
- Today's git snap
1a58326
- Fix udev rule install (#653353)
1a58326
155a746
* Mon Nov 15 2010 Adam Jackson <ajax@redhat.com> 0.1-0.1.20101111
155a746
- Initial packaging