2007-01-16 00:21:38 +01:00
|
|
|
#
|
2008-11-03 12:21:48 +01:00
|
|
|
# spec file for package libdrm (Version 2.4.1)
|
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
|
2008-10-22 18:56:57 +02:00
|
|
|
BuildRequires: glibc-devel pkgconfig xorg-x11-proto-devel
|
2007-12-31 22:25:50 +01:00
|
|
|
Url: http://dri.sf.net
|
2007-01-16 00:21:38 +01:00
|
|
|
License: X11/MIT
|
|
|
|
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
|
|
|
|
#
|
2008-11-03 12:21:48 +01:00
|
|
|
Version: 2.4.1
|
2009-01-23 23:29:35 +01:00
|
|
|
Release: 5
|
2007-01-16 00:21:38 +01:00
|
|
|
Summary: Userspace Interface for Kernel DRM Services
|
2008-11-03 12:21:48 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
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
|
2008-04-10 14:24:47 +02:00
|
|
|
License: X11/MIT
|
2007-01-16 00:21:38 +01:00
|
|
|
Summary: Libraries, includes and more to develop libdrm applications
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: libdrm = %{version}
|
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
|
2007-12-31 22:25:50 +01:00
|
|
|
%setup -q
|
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"
|
|
|
|
%configure --with-pic
|
2007-01-16 00:21:38 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%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
|
2008-08-24 11:03:52 +02:00
|
|
|
/usr/%{_lib}/libdrm.so.2.3.0
|
2008-09-24 17:09:36 +02:00
|
|
|
/usr/%{_lib}/libdrm_intel.so.1
|
|
|
|
/usr/%{_lib}/libdrm_intel.so.1.0.0
|
2007-01-16 00:21:38 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/include/drm/
|
|
|
|
/usr/include/xf86drm.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
|
2007-01-16 00:21:38 +01:00
|
|
|
/usr/%{_lib}/pkgconfig/libdrm.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
|
2007-01-16 00:21:38 +01:00
|
|
|
|
2007-12-31 22:25:50 +01:00
|
|
|
%changelog
|
2009-01-23 23:29:35 +01:00
|
|
|
* Fri Jan 23 2009 sndirsch@suse.de
|
|
|
|
- Provides/Obsolete: libdrm23, i.e. get rid of confusing SLE10
|
|
|
|
packages (bnc #468796)
|
2009-01-08 18:33:58 +01:00
|
|
|
* Wed Jan 07 2009 olh@suse.de
|
|
|
|
- obsolete old -XXbit packages (bnc#437293)
|
2008-11-03 12:21:48 +01:00
|
|
|
* Fri Oct 31 2008 sndirsch@suse.de
|
|
|
|
- libdrm 2.4.1
|
|
|
|
* New libdrm release to fix the symbol name collision between
|
|
|
|
Mesa 7.2 and libdrm_intel. Also includes a fix for deadlock
|
|
|
|
in non-GEM 2D, and support for aperture size checking in GEM.
|
|
|
|
* Changes since commit a59ea02
|
|
|
|
- intel: Rename dri_ and intel_ symbols to drm_intel_.
|
|
|
|
- intel: Add dri_bufmgr_check_aperture support for bufmgr_gem.
|
|
|
|
- nv50: symlink nv50_grctx.h to linux-core...
|
|
|
|
- nv50: move context-related tables a separate header file
|
|
|
|
- drm: missing init_mm symbol, compatibility fix
|
|
|
|
- i915: Since FreeBSD doesn't have gem support yet, don't
|
|
|
|
advertise it.
|
|
|
|
- radeon: fix error in busmaster enable logic
|
|
|
|
- radeon: fix some fallout from the busmaster disable cleanup
|
|
|
|
- drm/i915: fix ioremap of a user address for non-root
|
|
|
|
(CVE-2008-3831)
|
|
|
|
- intel: Also total child_size of the target_bos. Partial fix
|
|
|
|
[#17964].
|
|
|
|
- [FreeBSD] We should use dev2unit() rather than minor()
|
|
|
|
- [FreeBSD] This check isn't correct and causes at least mga
|
|
|
|
to lockup.
|
2008-10-22 18:56:57 +02:00
|
|
|
* Tue Oct 21 2008 sndirsch@suse.de
|
|
|
|
- update to git commit a59ea02 (=2.4.1, Intel-2008-Q3-RC5)
|
|
|
|
* avoid deadlock in intel_bufmgr_fake.
|
|
|
|
* ioctl is not defined to return -errno. Don't count on ioctl
|
|
|
|
returning -errno; use errno directly.
|
2008-11-03 12:21:48 +01:00
|
|
|
* Sun Oct 19 2008 sndirsch@suse.de
|
2008-10-22 18:56:57 +02:00
|
|
|
- libdrm 2.4.0 finally available
|
2008-10-11 17:55:19 +02:00
|
|
|
* Thu Oct 09 2008 sndirsch@suse.de
|
|
|
|
- updated to git commit ce40261, which is required by latest
|
|
|
|
xf86-video-intel driver (Intel-2008-Q3-RC3)
|
2008-09-26 14:58:15 +02:00
|
|
|
* Fri Sep 26 2008 sndirsch@suse.de
|
|
|
|
- updated to git commit 2db8e0c, which is required by latest
|
|
|
|
xf86-video-intel driver (Intel-2008-Q3-RC2)
|
2008-09-24 17:09:36 +02:00
|
|
|
* Wed Sep 24 2008 sndirsch@suse.de
|
|
|
|
- updated to git commit 973c634, which is required by latest
|
|
|
|
xf86-video-intel driver (Intel-2008-Q3-RC1)
|
2008-08-24 11:03:52 +02:00
|
|
|
* Sun Aug 17 2008 sndirsch@suse.de
|
|
|
|
- updated to 2.4.0 prerelease (git commit a5381ca)
|
2008-11-03 12:21:48 +01:00
|
|
|
* Fri Jul 04 2008 sndirsch@suse.de
|
2008-07-08 21:34:09 +02:00
|
|
|
- updated to release 2.3.1
|
2008-04-10 14:24:47 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
|
|
|
* Thu Dec 27 2007 crrodriguez@suse.de
|
2007-12-31 22:25:50 +01:00
|
|
|
- fix library-without-ldconfig-postun warning
|
|
|
|
- libdrm.la had an empty dependency_libs, removed.
|
2008-04-10 14:24:47 +02:00
|
|
|
* Sat Dec 02 2006 sndirsch@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- updated to 2.3.0 (required by X.Org (Server) 7.2 RC3)
|
2008-04-10 14:24:47 +02:00
|
|
|
* Fri Jul 28 2006 sndirsch@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- use "-fno-strict-aliasing"
|
2008-04-10 14:24:47 +02:00
|
|
|
* Thu Jul 27 2006 sndirsch@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- use $RPM_OPT_FLAGS
|
2008-04-10 14:24:47 +02:00
|
|
|
* Wed Jun 28 2006 sndirsch@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- updated to 2.0.2
|
|
|
|
* various bugfixes in libdrm
|
2008-11-03 12:21:48 +01:00
|
|
|
* Wed Jun 21 2006 sndirsch@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- updated to current CVS (2006-06-21)
|
2008-04-10 14:24:47 +02:00
|
|
|
* Sat Apr 15 2006 sndirsch@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- updated to 2.0.1
|
|
|
|
* various bugfixes in libdrm
|
2008-04-10 14:24:47 +02:00
|
|
|
* Sat Feb 04 2006 aj@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- xorg-x11-devel is not needed for build.
|
2008-04-10 14:24:47 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-10 14:24:47 +02:00
|
|
|
* Fri Dec 23 2005 mls@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- Require main package in devel subpackage
|
2008-11-03 12:21:48 +01:00
|
|
|
* Wed Nov 30 2005 sndirsch@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- update to 2.0 branch (2005-11-30)
|
2008-04-10 14:24:47 +02:00
|
|
|
* Tue Nov 01 2005 sndirsch@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- updated to 1.0.5 (version Bump for new via header)
|
2008-04-10 14:24:47 +02:00
|
|
|
* Sat Oct 29 2005 sndirsch@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- call ldconfig in %%post
|
2008-04-10 14:24:47 +02:00
|
|
|
* Tue Oct 25 2005 sndirsch@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- updated to CVS 051025 (required for Mesa 6.4)
|
2008-04-10 14:24:47 +02:00
|
|
|
* Tue Oct 04 2005 sndirsch@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- added libdrm.so to filelist
|
2008-04-10 14:24:47 +02:00
|
|
|
* Sun Oct 02 2005 sndirsch@suse.de
|
2007-01-16 00:21:38 +01:00
|
|
|
- created package
|