Name: libdrm Summary: Userspace interface to kernel DRM services -- runtime Version: 2.4.39 Release: 11.1 Group: libs License: MIT Source0: libdrm-%{version}.tar.bz2 Patch0: 0001-Adding-slp-subpackage.patch Patch1: 0002-Adding-changes-to-configure.ac.patch Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(pthread-stubs) BuildRequires: pkgconfig(pciaccess) BuildRequires: automake BuildRequires: libtool %description Userspace interface to kernel DRM services -- runtime This library implements the userspace interface to the kernel DRM services. DRM stands for "Direct Rendering Manager", which is the kernelspace portion of the "Direct Rendering Infrastructure" (DRI). The DRI is currently used on Linux to provide hardware-accelerated OpenGL drivers. . This package provides the runtime environment for libdrm.. %package devel Summary: Userspace interface to kernel DRM services -- development files Group: libdevel Requires: libdrm = %{version}-%{release} Obsoletes: linux-libc-dev >= 2.6.29 %description devel Userspace interface to kernel DRM services -- development files This library implements the userspace interface to the kernel DRM services. DRM stands for "Direct Rendering Manager", which is the kernelspace portion of the "Direct Rendering Infrastructure" (DRI). The DRI is currently used on Linux to provide hardware-accelerated OpenGL drivers. . This package provides the development environment for libdrm.. %package slp1 Summary: Userspace interface to slp-specific kernel DRM services Group: Development/Libraries %description slp1 Userspace interface to slp-specific kernel DRM services %package -n libkms Summary: Userspace interface to kernel DRM buffer management Group: libs Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description -n libkms Userspace interface to kernel DRM buffer management This library implements a unified userspace interface to the different buffer management interfaces of the kernel DRM hardware drivers.. %prep %setup -q -n %{name}-%{version} %patch0 -p1 %patch1 -p1 %build %configure --disable-static --enable-nouveau-experimental-api --enable-omap-experimental-api make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post -n libkms -p /sbin/ldconfig %postun -n libkms -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_libdir}/libdrm.so.* %{_libdir}/libdrm_omap.so.* %{_libdir}/libdrm_radeon.so.* %{_libdir}/libdrm_nouveau.so.* %files devel %defattr(-,root,root,-) %{_includedir}/libdrm/* %{_includedir}/xf86drmMode.h %{_includedir}/xf86drm.h %{_includedir}/libkms/* %{_includedir}/omap/* %{_libdir}/lib*.so %{_libdir}/pkgconfig/* %files slp1 %{_libdir}/libdrm_slp*.so.* %files -n libkms %defattr(-,root,root,-) %{_libdir}/libkms.so.* %changelog * Mon Oct 22 2012 tracy.graydon@intel.com - Branching for 1.0alpha * Mon Aug 13 2012 Quanxian Wang - 2.4.37 - Updating to 2.4.37 * Tue Jun 12 2012 Rusty Lynch - 2.4.34-3-gc563db0 - Updating to new git master snapshot * Fri May 4 2012 Lin Yang - test release infrastructure