wayland/wayland.spec

269 lines
8.3 KiB
RPMSpec
Raw Normal View History

2013-07-15 10:20:25 +00:00
#global gitdate 20130515
2010-11-15 16:17:33 +00:00
Name: wayland
2014-05-21 10:28:59 +00:00
Version: 1.5.0
2014-01-20 08:31:43 +00:00
Release: 1%{?gitdate:.%{gitdate}}%{?dist}
Summary: Wayland Compositor Infrastructure
2010-11-15 16:17:33 +00:00
Group: User Interface/X
License: MIT
2010-11-15 16:17:33 +00:00
URL: http://%{name}.freedesktop.org/
%if 0%{?gitdate}
Source0: wayland-%{gitdate}.tar.xz
%else
2012-09-04 13:38:40 +00:00
Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
%endif
Source1: make-git-snapshot.sh
# If this code throws -EAGAIN then wl_proxy_marshal can die, and take your
# Xwayland server (and thus session) with it. Probably wants to be solved
# in some other way, but this will do for now.
Patch0: wayland-1.2.0-blocking-flush.patch
2010-11-15 16:17:33 +00:00
BuildRequires: autoconf automake libtool
2012-10-18 19:14:08 +00:00
BuildRequires: doxygen
BuildRequires: pkgconfig(libffi)
2010-11-15 16:17:33 +00:00
BuildRequires: expat-devel
BuildRequires: libxslt
2013-01-02 21:37:29 +00:00
BuildRequires: docbook-style-xsl
Provides: %{name}-common = %{version}-%{release}
Obsoletes: %{name}-common < 0.85.0
2010-11-15 16:17:33 +00: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.
%package devel
Summary: Common headers for wayland
License: MIT
%description devel
Common headers for wayland
%package -n libwayland-client
Summary: Wayland client library
License: MIT
%description -n libwayland-client
Wayland client library
2012-09-04 13:38:40 +00:00
%package -n libwayland-cursor
Summary: Wayland cursor library
License: MIT
%description -n libwayland-cursor
Wayland cursor library
2010-11-15 16:17:33 +00:00
%package -n libwayland-server
Summary: Wayland server library
License: MIT
%description -n libwayland-server
Wayland server library
%package -n libwayland-client-devel
Summary: Headers and symlinks for developing wayland client applications
License: MIT
Requires: libwayland-client%{?_isa} = %{version}-%{release}
Requires: wayland-devel%{?_isa} = %{version}-%{release}
2010-11-15 16:17:33 +00:00
%description -n libwayland-client-devel
Headers and symlinks for developing wayland client applications.
2012-09-04 13:38:40 +00:00
%package -n libwayland-cursor-devel
Summary: Headers and symlinks for developing wayland cursor applications
License: MIT
Requires: libwayland-cursor%{?_isa} = %{version}-%{release}
Requires: wayland-devel%{?_isa} = %{version}-%{release}
%description -n libwayland-cursor-devel
Headers and symlinks for developing wayland cursor applications.
2010-11-15 16:17:33 +00:00
%package -n libwayland-server-devel
Summary: Headers and symlinks for developing wayland server applications
License: MIT
Requires: libwayland-server%{?_isa} = %{version}-%{release}
Requires: wayland-devel%{?_isa} = %{version}-%{release}
2010-11-15 16:17:33 +00:00
%description -n libwayland-server-devel
Headers and symlinks for developing wayland server applications.
%prep
%setup -q -n %{name}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
%patch0 -p1 -b .flush
2010-11-15 16:17:33 +00:00
%build
autoreconf -v --install
%configure --disable-static --enable-documentation
2010-11-15 16:17:33 +00:00
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
%check
mkdir -m 700 tests/run
# known failure in i686 koji (not always, but sometimes?):
# resources-test, test "destroy_res_tst": signal 11, fail
XDG_RUNTIME_DIR=$PWD/tests/run make check || \
{ rc=$?; cat tests/test-suite.log; } # exit $rc; }
2010-11-15 16:17:33 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libwayland-client -p /sbin/ldconfig
%postun -n libwayland-client -p /sbin/ldconfig
%post -n libwayland-cursor -p /sbin/ldconfig
%postun -n libwayland-cursor -p /sbin/ldconfig
2010-11-15 16:17:33 +00:00
%post -n libwayland-server -p /sbin/ldconfig
%postun -n libwayland-server -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
2012-09-04 13:38:40 +00:00
%doc README TODO
2013-01-02 21:11:05 +00:00
#doc %{_datadir}/doc/wayland/*
2010-11-15 16:17:33 +00:00
%files devel
%defattr(-,root,root,-)
%{_bindir}/wayland-scanner
2010-11-15 16:17:33 +00:00
%{_includedir}/wayland-util.h
%{_includedir}/wayland-egl.h
%{_includedir}/wayland-version.h
%{_datadir}/aclocal/wayland-scanner.m4
2014-05-13 08:39:37 +00:00
%{_libdir}/pkgconfig/wayland-scanner.pc
2013-11-25 14:01:54 +00:00
%dir %{_datadir}/wayland
2013-07-15 10:20:25 +00:00
%{_datadir}/wayland/wayland-scanner.mk
2013-11-25 14:01:54 +00:00
%{_datadir}/wayland/wayland.xml
2013-12-17 10:14:48 +00:00
%{_datadir}/wayland/wayland.dtd
2012-10-18 19:14:08 +00:00
%{_mandir}/man3/*.3*
2010-11-15 16:17:33 +00:00
%files -n libwayland-client
%defattr(-,root,root,-)
%{_libdir}/libwayland-client.so.0*
2012-09-04 13:38:40 +00:00
%files -n libwayland-cursor
%defattr(-,root,root,-)
%{_libdir}/libwayland-cursor.so.0*
2010-11-15 16:17:33 +00:00
%files -n libwayland-server
%defattr(-,root,root,-)
%{_libdir}/libwayland-server.so.0*
%files -n libwayland-client-devel
%defattr(-,root,root,-)
%{_includedir}/wayland-client*.h
%{_libdir}/libwayland-client.so
%{_libdir}/pkgconfig/wayland-client.pc
2010-11-15 16:17:33 +00:00
2012-09-04 13:38:40 +00:00
%files -n libwayland-cursor-devel
%defattr(-,root,root,-)
%{_includedir}/wayland-cursor*.h
%{_libdir}/libwayland-cursor.so
%{_libdir}/pkgconfig/wayland-cursor.pc
2010-11-15 16:17:33 +00:00
%files -n libwayland-server-devel
%defattr(-,root,root,-)
%{_includedir}/wayland-server*.h
%{_libdir}/libwayland-server.so
%{_libdir}/pkgconfig/wayland-server.pc
2010-11-15 16:17:33 +00:00
%changelog
2014-05-21 10:28:59 +00:00
* Wed May 21 2014 Richard Hughes <rhughes@redhat.com> - 1.5.0-1
- Wayland 1.5.0
2014-05-13 08:39:37 +00:00
* Tue May 13 2014 Richard Hughes <rhughes@redhat.com> - 1.4.93-1
- Wayland 1.4.93
2014-01-24 11:50:52 +00:00
* Fri Jan 24 2014 Richard Hughes <rhughes@redhat.com> - 1.4.0-1
- Wayland 1.4.0
2014-01-20 08:31:43 +00:00
* Mon Jan 20 2014 Richard Hughes <rhughes@redhat.com> - 1.3.93-1
- Wayland 1.3.93
* Sat Dec 21 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.3.91-2
- Call ldconfig in libwayland-cursor %%post* scripts.
- Run test suite during build.
- Compress snapshot tarballs with xz.
2013-12-17 10:14:48 +00:00
* Tue Dec 17 2013 Richard Hughes <rhughes@redhat.com> - 1.3.91-1
- Wayland 1.3.91
2013-11-25 14:01:54 +00:00
* Mon Nov 25 2013 Lubomir Rintel <lkundrak@v3.sk> - 1.3.0-1
- Wayland 1.3.0
* Mon Oct 07 2013 Adam Jackson <ajax@redhat.com> 1.2.0-3
- Don't use MSG_DONTWAIT in wl_connection_flush.
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-15 10:20:25 +00:00
* Mon Jul 15 2013 Richard Hughes <rhughes@redhat.com> - 1.2.0-1
- wayland 1.2.0
* Wed May 15 2013 Richard Hughes <rhughes@redhat.com> - 1.1.90-0.1.20130515
- Update to a git snapshot based on what will become 1.1.90
2013-04-16 16:01:32 +00:00
* Tue Apr 16 2013 Richard Hughes <rhughes@redhat.com> - 1.1.0-1
- wayland 1.1.0
2013-03-27 17:23:44 +00:00
* Wed Mar 27 2013 Richard Hughes <rhughes@redhat.com> - 1.0.6-1
- wayland 1.0.6
2013-02-21 17:31:52 +00:00
* Thu Feb 21 2013 Adam Jackson <ajax@redhat.com> 1.0.5-1
- wayland 1.0.5
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2013-01-02 21:11:05 +00:00
* Wed Jan 02 2013 Adam Jackson <ajax@redhat.com> 1.0.3-1
- wayland 1.0.3
2012-10-23 18:16:23 +00:00
* Tue Oct 23 2012 Adam Jackson <ajax@redhat.com> 1.0.0-1
- wayland 1.0
2012-10-18 19:14:08 +00:00
* Thu Oct 18 2012 Adam Jackson <ajax@redhat.com> 0.99.0-1
- wayland 0.99.0
2012-09-04 13:38:40 +00:00
* Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 0.95.0-1
- wayland 0.95.0 (#843738)
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89.0-2.20120424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Apr 24 2012 Richard Hughes <rhughes@redhat.com> - 0.89.0-1
- Update to a git snapshot based on 0.89.0
* Sat Feb 18 2012 Thorsten Leemhuis <fedora@leemhuis.info> - 0.85.0-1
- update to 0.85.0
- adjust license, as upstream changed it to MIT
- update make-git-snapshot.sh to current locations and scheme
- drop common package, not needed anymore
- compositor is now in a separate package, hence reduce BuildRequires to what
is actually needed (a lot less) and adjust summary
- make usage of a git checkout in spec file optional
- a %%{?_isa} to requires where it makes sense
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.6.20101221
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-12-06 06:26:52 +00:00
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.1-0.5.20101221
- Rebuild for new libpng
* Wed Jun 15 2011 Lubomir Rintel <lkundrak@v3.sk> - 0.1-0.4.20101221
- Install real compositor binary instead of a libtool wrapper
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.3.20101221
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-12-21 20:52:57 +00:00
* Tue Dec 21 2010 Adam Jackson <ajax@redhat.com> 0.1-0.2.20101221
- Today's git snap
* Tue Nov 23 2010 Adam Jackson <ajax@redhat.com> 0.1-0.2.20101123
2010-11-23 15:55:09 +00:00
- Today's git snap
- Fix udev rule install (#653353)
2010-11-15 16:17:33 +00:00
* Mon Nov 15 2010 Adam Jackson <ajax@redhat.com> 0.1-0.1.20101111
- Initial packaging