2 Summary: Userspace interface to kernel DRM services -- runtime
7 Source0: libdrm-%{version}.tar.bz2
8 Patch0: 0001-Adding-slp-subpackage.patch
9 Patch1: 0002-Adding-changes-to-configure.ac.patch
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
12 BuildRequires: pkgconfig(x11)
13 BuildRequires: pkgconfig(pthread-stubs)
14 BuildRequires: pkgconfig(pciaccess)
15 BuildRequires: automake
16 BuildRequires: libtool
20 Userspace interface to kernel DRM services -- runtime
21 This library implements the userspace interface to the kernel DRM
22 services. DRM stands for "Direct Rendering Manager", which is the
23 kernelspace portion of the "Direct Rendering Infrastructure" (DRI).
24 The DRI is currently used on Linux to provide hardware-accelerated
27 This package provides the runtime environment for libdrm..
30 Summary: Userspace interface to kernel DRM services -- development files
32 Requires: libdrm = %{version}-%{release}
33 Obsoletes: linux-libc-dev >= 2.6.29
36 Userspace interface to kernel DRM services -- development files
37 This library implements the userspace interface to the kernel DRM
38 services. DRM stands for "Direct Rendering Manager", which is the
39 kernelspace portion of the "Direct Rendering Infrastructure" (DRI).
40 The DRI is currently used on Linux to provide hardware-accelerated
43 This package provides the development environment for libdrm..
46 Summary: Userspace interface to slp-specific kernel DRM services
47 Group: Development/Libraries
50 Userspace interface to slp-specific kernel DRM services
54 Summary: Userspace interface to kernel DRM buffer management
56 Requires(post): /sbin/ldconfig
57 Requires(postun): /sbin/ldconfig
59 %description -n libkms
60 Userspace interface to kernel DRM buffer management
61 This library implements a unified userspace interface to the different buffer
62 management interfaces of the kernel DRM hardware drivers..
65 %setup -q -n %{name}-%{version}
71 %configure --disable-static --enable-nouveau-experimental-api
78 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
82 %post -n libkms -p /sbin/ldconfig
84 %postun -n libkms -p /sbin/ldconfig
87 %defattr(-,root,root,-)
88 %{_libdir}/libdrm.so.*
89 #%{_libdir}/libdrm_intel.so.*
90 %{_libdir}/libdrm_radeon.so.*
91 %{_libdir}/libdrm_nouveau.so.*
94 %defattr(-,root,root,-)
95 %{_includedir}/libdrm/*
96 %{_includedir}/xf86drmMode.h
97 %{_includedir}/xf86drm.h
98 %{_includedir}/libkms/*
101 %{_libdir}/pkgconfig/*
104 %{_libdir}/libdrm_slp*.so.*
107 %defattr(-,root,root,-)
108 %{_libdir}/libkms.so.*