libdrm/libdrm.spec

238 lines
7.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libdrm (Version 2.4.1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libdrm
BuildRequires: glibc-devel pkgconfig xorg-x11-proto-devel
Url: http://dri.sf.net
License: X11/MIT
Group: System/Libraries
AutoReqProv: on
Provides: libdrm23
Obsoletes: libdrm23
# bug437293
%ifarch ppc64
Obsoletes: libdrm-64bit
%endif
#
Version: 2.4.1
Release: 5
Summary: Userspace Interface for Kernel DRM Services
Source: %{name}-%{version}.tar.bz2
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
License: X11/MIT
Summary: Libraries, includes and more to develop libdrm applications
Group: System/Libraries
Requires: libdrm = %{version}
# bug437293
%ifarch ppc64
Obsoletes: libdrm-devel-64bit
%endif
#
%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
%setup -q
%build
autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --with-pic
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
/usr/%{_lib}/libdrm.so.2
/usr/%{_lib}/libdrm.so.2.3.0
/usr/%{_lib}/libdrm_intel.so.1
/usr/%{_lib}/libdrm_intel.so.1.0.0
%files devel
%defattr(-,root,root)
/usr/include/drm/
/usr/include/xf86drm.h
/usr/include/intel_bufmgr.h
/usr/%{_lib}/libdrm.so
/usr/%{_lib}/libdrm_intel.so
/usr/%{_lib}/pkgconfig/libdrm.pc
%exclude %{_libdir}/libdrm.la
%exclude %{_libdir}/libdrm_intel.la
%changelog
* Fri Jan 23 2009 sndirsch@suse.de
- Provides/Obsolete: libdrm23, i.e. get rid of confusing SLE10
packages (bnc #468796)
* Wed Jan 07 2009 olh@suse.de
- obsolete old -XXbit packages (bnc#437293)
* 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.
* 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.
* Sun Oct 19 2008 sndirsch@suse.de
- libdrm 2.4.0 finally available
* 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)
* 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)
* 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)
* Sun Aug 17 2008 sndirsch@suse.de
- updated to 2.4.0 prerelease (git commit a5381ca)
* Fri Jul 04 2008 sndirsch@suse.de
- updated to release 2.3.1
* 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
- fix library-without-ldconfig-postun warning
- libdrm.la had an empty dependency_libs, removed.
* Sat Dec 02 2006 sndirsch@suse.de
- updated to 2.3.0 (required by X.Org (Server) 7.2 RC3)
* Fri Jul 28 2006 sndirsch@suse.de
- use "-fno-strict-aliasing"
* Thu Jul 27 2006 sndirsch@suse.de
- use $RPM_OPT_FLAGS
* Wed Jun 28 2006 sndirsch@suse.de
- updated to 2.0.2
* various bugfixes in libdrm
* Wed Jun 21 2006 sndirsch@suse.de
- updated to current CVS (2006-06-21)
* Sat Apr 15 2006 sndirsch@suse.de
- updated to 2.0.1
* various bugfixes in libdrm
* Sat Feb 04 2006 aj@suse.de
- xorg-x11-devel is not needed for build.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Dec 23 2005 mls@suse.de
- Require main package in devel subpackage
* Wed Nov 30 2005 sndirsch@suse.de
- update to 2.0 branch (2005-11-30)
* Tue Nov 01 2005 sndirsch@suse.de
- updated to 1.0.5 (version Bump for new via header)
* Sat Oct 29 2005 sndirsch@suse.de
- call ldconfig in %%post
* Tue Oct 25 2005 sndirsch@suse.de
- updated to CVS 051025 (required for Mesa 6.4)
* Tue Oct 04 2005 sndirsch@suse.de
- added libdrm.so to filelist
* Sun Oct 02 2005 sndirsch@suse.de
- created package