libdrm/libdrm.spec

189 lines
5.7 KiB
RPMSpec

#
# spec file for package libdrm (Version 2.4.0)
#
# Copyright (c) 2008 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
Url: http://dri.sf.net
License: X11/MIT
Group: System/Libraries
AutoReqProv: on
Version: 2.4.0
Release: 10
Summary: Userspace Interface for Kernel DRM Services
Source: %{name}-%{version}-2db8e0c.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}
%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 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)
* Sat Jul 05 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
* Thu Jun 22 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
* Thu Dec 01 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