Add packaging files for Tizen
authorRusty Lynch <rusty.lynch@intel.com>
Tue, 12 Jun 2012 22:41:31 +0000 (15:41 -0700)
committerWang Quanxian <quanxian.wang@intel.com>
Fri, 1 Mar 2013 06:23:56 +0000 (14:23 +0800)
packaging/libdrm.changes [new file with mode: 0644]
packaging/libdrm.spec [new file with mode: 0644]

diff --git a/packaging/libdrm.changes b/packaging/libdrm.changes
new file mode 100644 (file)
index 0000000..830ba3f
--- /dev/null
@@ -0,0 +1,5 @@
+* Tue Jun 12 2012 Rusty Lynch <rusty.lynch@intel.com> - 2.4.34-3-gc563db0
+- Updating to new git master snapshot
+
+* Fri May 04 2012 Lin Yang <lin.a.yang@intel.com>
+- test release infrastructure
diff --git a/packaging/libdrm.spec b/packaging/libdrm.spec
new file mode 100644 (file)
index 0000000..44c7017
--- /dev/null
@@ -0,0 +1,96 @@
+Name:       libdrm
+Summary:    Userspace interface to kernel DRM services -- runtime
+Version:    2.4.34+3+gc563db0
+Release:    1
+Group:      libs
+License:    MIT 
+Source0:    libdrm-%{version}.tar.bz2
+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 -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}
+
+%build
+%autogen --disable-static --enable-nouveau-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_intel.so.*
+%{_libdir}/libdrm_radeon.so.*
+%{_libdir}/libdrm_nouveau.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/libdrm/*
+%{_includedir}/xf86drmMode.h
+%{_includedir}/xf86drm.h
+%{_includedir}/libkms/*
+
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*
+
+%files -n libkms
+%defattr(-,root,root,-)
+%{_libdir}/libkms.so.*
+