2007-01-16 00:21:38 +01:00
|
|
|
#
|
2009-12-08 11:50:40 +01:00
|
|
|
# spec file for package libdrm (Version 2.4.16)
|
2007-01-16 00:21:38 +01:00
|
|
|
#
|
2009-01-08 18:33:58 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:21:38 +01:00
|
|
|
#
|
2008-08-24 11:03:52 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:21:38 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 14:24:47 +02:00
|
|
|
|
2007-01-16 00:21:38 +01:00
|
|
|
Name: libdrm
|
2009-11-02 12:39:22 +01:00
|
|
|
BuildRequires: pkgconfig xorg-x11-proto-devel
|
2007-12-31 22:25:50 +01:00
|
|
|
Url: http://dri.sf.net
|
2009-10-02 23:31:18 +02:00
|
|
|
License: MIT License (or similar)
|
2007-01-16 00:21:38 +01:00
|
|
|
Group: System/Libraries
|
2007-12-31 22:25:50 +01:00
|
|
|
AutoReqProv: on
|
2009-01-23 23:29:35 +01:00
|
|
|
Provides: libdrm23
|
|
|
|
Obsoletes: libdrm23
|
2009-01-08 18:33:58 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libdrm-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2009-12-08 11:50:40 +01:00
|
|
|
Version: 2.4.16
|
2009-12-16 09:20:45 +01:00
|
|
|
Release: 2
|
2007-01-16 00:21:38 +01:00
|
|
|
Summary: Userspace Interface for Kernel DRM Services
|
2009-12-08 11:50:40 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2009-12-16 09:20:45 +01:00
|
|
|
Source2: baselibs.conf
|
2009-10-30 17:00:09 +01:00
|
|
|
Patch: enable_test_tools.diff
|
2007-01-16 00:21:38 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
The package containts the userspace interface to the kernel DRM
|
|
|
|
services.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Daryll Strauss <daryll@valinux.com>
|
|
|
|
Dave Airlie <airlied@linux.ie>
|
|
|
|
Eric Anholt <anholt@FreeBSD.org>
|
|
|
|
Frank C. Earl <fearl@airmail.net>
|
|
|
|
Gareth Hughes <gareth@valinux.com>
|
|
|
|
Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Jeff Hartmann <jhartmann@valinux.com>
|
|
|
|
Jens Owen <jens@tungstengraphics.com>
|
|
|
|
Jon Smirl <jonsmirl@gmail.com>
|
|
|
|
Jose Fonseca <jrfonseca@tungstengraphics.com>
|
|
|
|
Keith Whitwell <keith@tungstengraphics.com>
|
|
|
|
Kevin E. Martin <martin@valinux.com>
|
|
|
|
Leif Delgass <ldelgass@retinalburn.net>
|
|
|
|
Matthew J Sottek <matthew.j.sottek@intel.com>
|
|
|
|
Michel Daenzer <michel@daenzer.net>
|
|
|
|
Nicolai Haehnle <prefect_@gmx.net>
|
|
|
|
Paul Mackerras <paulus@samba.org>
|
|
|
|
Richard Henderson <rth@twiddle.net>
|
|
|
|
Rickard E. (Rik) Faith <faith@valinux.com>
|
|
|
|
Sung-Ching Lin <sclin@sis.com.tw>
|
|
|
|
Terry Barnaby <terry1@beam.ltd.uk>
|
|
|
|
Thomas Hellstrom <unichrome@shipmail.org>
|
|
|
|
Torsten Duwe <duwe@caldera.de>
|
|
|
|
|
|
|
|
%package devel
|
2009-10-02 23:31:18 +02:00
|
|
|
License: MIT License (or similar)
|
2007-01-16 00:21:38 +01:00
|
|
|
Summary: Libraries, includes and more to develop libdrm applications
|
|
|
|
Group: System/Libraries
|
2009-11-02 12:39:22 +01:00
|
|
|
Requires: libdrm = %{version} glibc-devel
|
2009-01-08 18:33:58 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libdrm-devel-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-16 00:21:38 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The package containts the userspace interface to the kernel DRM
|
|
|
|
services.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Daryll Strauss <daryll@valinux.com>
|
|
|
|
Dave Airlie <airlied@linux.ie>
|
|
|
|
Eric Anholt <anholt@FreeBSD.org>
|
|
|
|
Frank C. Earl <fearl@airmail.net>
|
|
|
|
Gareth Hughes <gareth@valinux.com>
|
|
|
|
Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Jeff Hartmann <jhartmann@valinux.com>
|
|
|
|
Jens Owen <jens@tungstengraphics.com>
|
|
|
|
Jon Smirl <jonsmirl@gmail.com>
|
|
|
|
Jose Fonseca <jrfonseca@tungstengraphics.com>
|
|
|
|
Keith Whitwell <keith@tungstengraphics.com>
|
|
|
|
Kevin E. Martin <martin@valinux.com>
|
|
|
|
Leif Delgass <ldelgass@retinalburn.net>
|
|
|
|
Matthew J Sottek <matthew.j.sottek@intel.com>
|
|
|
|
Michel Daenzer <michel@daenzer.net>
|
|
|
|
Nicolai Haehnle <prefect_@gmx.net>
|
|
|
|
Paul Mackerras <paulus@samba.org>
|
|
|
|
Richard Henderson <rth@twiddle.net>
|
|
|
|
Rickard E. (Rik) Faith <faith@valinux.com>
|
|
|
|
Sung-Ching Lin <sclin@sis.com.tw>
|
|
|
|
Terry Barnaby <terry1@beam.ltd.uk>
|
|
|
|
Thomas Hellstrom <unichrome@shipmail.org>
|
|
|
|
Torsten Duwe <duwe@caldera.de>
|
|
|
|
|
|
|
|
%prep
|
2009-12-08 11:50:40 +01:00
|
|
|
%setup -q
|
2009-10-30 17:00:09 +01:00
|
|
|
%patch
|
2007-01-16 00:21:38 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fi
|
2007-12-31 22:25:50 +01:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
2009-12-08 11:50:40 +01:00
|
|
|
%configure --with-pic --enable-nouveau-experimental-api --enable-radeon-experimental-api --enable-udev
|
2009-11-02 12:39:22 +01:00
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2009-12-08 11:50:40 +01:00
|
|
|
%{__make} %{?jobs:-j%jobs} -C tests/modeprint
|
|
|
|
%{__make} %{?jobs:-j%jobs} -C tests/modetest
|
2007-01-16 00:21:38 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2009-12-08 11:50:40 +01:00
|
|
|
make -C tests/modeprint install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
make -C tests/modetest install DESTDIR=$RPM_BUILD_ROOT
|
2007-01-16 00:21:38 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
2007-12-31 22:25:50 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2007-01-16 00:21:38 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/%{_lib}/libdrm.so.2
|
2009-02-26 12:16:33 +01:00
|
|
|
/usr/%{_lib}/libdrm.so.2.4.0
|
2008-09-24 17:09:36 +02:00
|
|
|
/usr/%{_lib}/libdrm_intel.so.1
|
|
|
|
/usr/%{_lib}/libdrm_intel.so.1.0.0
|
2009-05-19 00:47:59 +02:00
|
|
|
/usr/%{_lib}/libdrm_nouveau.so.1
|
|
|
|
/usr/%{_lib}/libdrm_nouveau.so.1.0.0
|
2009-12-08 11:50:40 +01:00
|
|
|
/usr/%{_lib}/libdrm_radeon.so.1
|
|
|
|
/usr/%{_lib}/libdrm_radeon.so.1.0.0
|
2009-10-30 17:00:09 +01:00
|
|
|
/usr/bin/dristat
|
|
|
|
/usr/bin/drmstat
|
2009-12-08 11:50:40 +01:00
|
|
|
/usr/bin/modeprint
|
|
|
|
/usr/bin/modetest
|
2007-01-16 00:21:38 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/include/drm/
|
2009-05-19 00:47:59 +02:00
|
|
|
/usr/include/nouveau/
|
2007-01-16 00:21:38 +01:00
|
|
|
/usr/include/xf86drm.h
|
2009-02-26 12:16:33 +01:00
|
|
|
/usr/include/xf86drmMode.h
|
2008-08-24 11:03:52 +02:00
|
|
|
/usr/include/intel_bufmgr.h
|
2007-01-16 00:21:38 +01:00
|
|
|
/usr/%{_lib}/libdrm.so
|
2008-09-24 17:09:36 +02:00
|
|
|
/usr/%{_lib}/libdrm_intel.so
|
2009-05-19 00:47:59 +02:00
|
|
|
/usr/%{_lib}/libdrm_nouveau.so
|
2009-12-08 11:50:40 +01:00
|
|
|
/usr/%{_lib}/libdrm_radeon.so
|
2007-01-16 00:21:38 +01:00
|
|
|
/usr/%{_lib}/pkgconfig/libdrm.pc
|
2009-02-26 12:16:33 +01:00
|
|
|
/usr/%{_lib}/pkgconfig/libdrm_intel.pc
|
2009-05-19 00:47:59 +02:00
|
|
|
/usr/%{_lib}/pkgconfig/libdrm_nouveau.pc
|
2009-12-08 11:50:40 +01:00
|
|
|
/usr/%{_lib}/pkgconfig/libdrm_radeon.pc
|
2007-12-31 22:25:50 +01:00
|
|
|
%exclude %{_libdir}/libdrm.la
|
2008-09-24 17:09:36 +02:00
|
|
|
%exclude %{_libdir}/libdrm_intel.la
|
2009-05-19 00:47:59 +02:00
|
|
|
%exclude %{_libdir}/libdrm_nouveau.la
|
2009-12-08 11:50:40 +01:00
|
|
|
%exclude %{_libdir}/libdrm_radeon.la
|
2007-01-16 00:21:38 +01:00
|
|
|
|
2007-12-31 22:25:50 +01:00
|
|
|
%changelog
|