libdrm/libdrm.spec

163 lines
4.6 KiB
RPMSpec

#
# spec file for package libdrm (Version 2.3.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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.3.0
Release: 54
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
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
%files devel
%defattr(-,root,root)
/usr/include/drm/
/usr/include/xf86drm.h
/usr/include/xf86mm.h
/usr/%{_lib}/libdrm.so
/usr/%{_lib}/pkgconfig/libdrm.pc
%exclude %{_libdir}/libdrm.la
%changelog
* 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