Name: wayland Summary: Wayland Version: 1.0.6 Release: 1 Group: System/Libraries License: MIT URL: http://wayland.freedesktop.org Source0: %{name}-%{version}.tar.bz2 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: libffi-devel BuildRequires: expat-devel %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: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Development files needed for building wayland clients %prep %setup -q -n %{name}-%{version} %build %autogen --disable-documentation make %{?_smp_mflag} %install rm -rf %{buildroot} %make_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_libdir}/libwayland-client.so.* %{_libdir}/libwayland-server.so.* %{_libdir}/libwayland-cursor.so.* %files devel %defattr(-,root,root,-) %{_includedir}/wayland*.h %{_libdir}/libwayland-client.so %{_libdir}/libwayland-server.so %{_libdir}/libwayland-cursor.so %{_libdir}/pkgconfig/*.pc %{_prefix}/share/aclocal/*.m* %{_bindir}/wayland-scanner