158 lines
4.8 KiB
RPMSpec
158 lines
4.8 KiB
RPMSpec
Summary: Direct Rendering Manager runtime library
|
|
Name: libdrm
|
|
Version: 2.3.0
|
|
Release: 5%{?dist}
|
|
License: MIT
|
|
Group: System Environment/Libraries
|
|
URL: http://dri.sourceforge.net
|
|
Source0: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: pkgconfig automake autoconf libtool
|
|
|
|
Patch0: nouveau.patch
|
|
Patch1: libdrm-2.3.0-default-mode.patch
|
|
|
|
%description
|
|
Direct Rendering Manager runtime library
|
|
|
|
%package devel
|
|
Summary: Direct Rendering Manager development package
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Direct Rendering Manager development package
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -b .nouveau
|
|
%patch1 -p1 -b .666
|
|
|
|
%build
|
|
aclocal ; automake ; autoconf
|
|
%configure
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
# NOTE: We intentionally don't ship *.la files
|
|
find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc README
|
|
%{_libdir}/libdrm.so.2
|
|
%{_libdir}/libdrm.so.2.3.0
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%dir %{_includedir}/drm
|
|
# NOTE: Headers are listed explicitly, so we can monitor additions/removals.
|
|
%{_includedir}/drm/drm.h
|
|
%{_includedir}/drm/drm_sarea.h
|
|
%{_includedir}/drm/i915_drm.h
|
|
%{_includedir}/drm/nouveau_drm.h
|
|
%{_includedir}/drm/mach64_drm.h
|
|
%{_includedir}/drm/mga_drm.h
|
|
%{_includedir}/drm/r128_drm.h
|
|
%{_includedir}/drm/r300_reg.h
|
|
%{_includedir}/drm/radeon_drm.h
|
|
%{_includedir}/drm/savage_drm.h
|
|
%{_includedir}/drm/sis_drm.h
|
|
%{_includedir}/drm/via_3d_reg.h
|
|
%{_includedir}/drm/via_drm.h
|
|
# FIXME should be in drm/ too
|
|
%{_includedir}/xf86drm.h
|
|
%{_includedir}/xf86mm.h
|
|
%{_libdir}/libdrm.so
|
|
%{_libdir}/pkgconfig/libdrm.pc
|
|
|
|
%changelog
|
|
* Fri Mar 30 2007 Kristian Høgsberg <krh@redhat.com> - 2.3.0-5
|
|
- Update nouveau patch.
|
|
|
|
* Tue Feb 19 2007 Adam Jackson <ajax@redhat.com> 2.3.0-4
|
|
- Update nouveau patch
|
|
- Fix License tag and other rpmlint noise
|
|
|
|
* Fri Feb 02 2007 Adam Jackson <ajax@redhat.com> 2.3.0-3
|
|
- Remove ExclusiveArch.
|
|
|
|
* Mon Jan 29 2007 Adam Jackson <ajax@redhat.com> 2.3.0-2
|
|
- Change default device mode to 0666. (#221545)
|
|
|
|
* Fri Nov 17 2006 Adam Jackson <ajax@redhat.com> 2.3.0-1.fc7
|
|
- Update to 2.3.0 from upstream.
|
|
- Add nouveau userspace header.
|
|
|
|
* Wed Jul 26 2006 Kristian Høgsberg <krh@redhat.com> - 2.0.2-3.fc6
|
|
- Build for rawhide.
|
|
|
|
* Wed Jul 26 2006 Kristian Høgsberg <krh@redhat.com> - 2.0.2-2.fc5.aiglx
|
|
- Build for fc5 aiglx repo.
|
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 2.0.2-2.1
|
|
- rebuild
|
|
|
|
* Tue Jun 27 2006 Adam Jackson <ajackson@redhat.com> 2.0.2-2
|
|
- Bump to 2.0.2 for header updates. Fix BuildRequires. Minor spec cleanups.
|
|
|
|
* Mon Jun 09 2006 Mike A. Harris <mharris@redhat.com> 2.0.1-4
|
|
- Added "Exclusivearch: ix86, x86_64, ia64, ppc, alpha, sparc, sparc64" to
|
|
restrict build to DRI-enabled architectures.
|
|
|
|
* Thu Jun 08 2006 Mike A. Harris <mharris@redhat.com> 2.0.1-3
|
|
- Remove package ownership of mandir/libdir/etc.
|
|
|
|
* Mon Apr 10 2006 Kristian Høgsberg <krh@redhat.com> 2.0.1-2
|
|
- Bump for fc5 build.
|
|
|
|
* Thu Mar 30 2006 Adam Jackson <ajackson@redhat.com> 2.0.1-1
|
|
- Bump to libdrm 2.0.1 from upstream.
|
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 2.0-2.2
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 2.0-2.1
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
* Wed Jan 11 2006 Mike A. Harris <mharris@redhat.com> 2.0-2
|
|
- Replaced the temporary tongue-in-cheek humourous package summary and
|
|
description with the proper package descriptions, as many people didn't get
|
|
the joke, while others felt it was getting old. Ah well, I had my fun for
|
|
a while anyway. ;o)
|
|
|
|
* Wed Nov 30 2005 Mike A. Harris <mharris@redhat.com> 2.0-1
|
|
- Updated libdrm to version 2.0 from dri.sf.net. This is an ABI incompatible
|
|
release, meaning everything linked to it needs to be recompiled.
|
|
|
|
* Tue Nov 01 2005 Mike A. Harris <mharris@redhat.com> 1.0.5-1
|
|
- Updated libdrm to version 1.0.5 from dri.sf.net upstream to work around
|
|
mesa unichrome dri driver compile failure.
|
|
|
|
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 1.0.4-1
|
|
- Updated libdrm to version 1.0.4 from X11R7 RC1
|
|
- Remove i915_drv.h, imagine_drv.h, mach64_drv.h, mga_drv.h, mga_ucode.h,
|
|
r128_drv.h, radeon_drv.h, savage_drv.h, sis_drv.h, sis_ds.h, tdfx_drv.h,
|
|
via_drv.h, via_ds.h, via_mm.h, via_verifier.h from file manifest.
|
|
|
|
* Tue Oct 04 2005 Mike A. Harris <mharris@redhat.com> 1.0.3-3
|
|
- Update BuildRoot to use Fedora Packaging Guidelines.
|
|
- Add missing "BuildRequires: libX11-devel, pkgconfig"
|
|
|
|
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 1.0.3-2
|
|
- Add missing documentation to doc macro
|
|
- Fix spec file project URL
|
|
|
|
* Sat Sep 03 2005 Mike A. Harris <mharris@redhat.com> 1.0.3-1
|
|
- Initial build.
|