2005-09-12 18:13:08 +00:00
|
|
|
Summary: Digital Rights Managment library
|
|
|
|
Name: libdrm
|
2005-10-27 10:08:49 +00:00
|
|
|
Version: 1.0.4
|
|
|
|
Release: 1
|
2005-09-12 18:13:08 +00:00
|
|
|
License: MIT/X11
|
|
|
|
Group: System Environment/Libraries
|
2005-09-30 04:53:20 +00:00
|
|
|
URL: http://dri.sourceforge.net
|
2005-09-12 18:13:08 +00:00
|
|
|
# No .bz2 avail upstream
|
|
|
|
Source0: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.gz
|
2005-10-04 20:08:22 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2005-09-12 18:13:08 +00:00
|
|
|
|
|
|
|
#BuildRequires: xorg-x11-proto-devel
|
|
|
|
#BuildRequires: xorg-x11-xtrans-devel
|
|
|
|
|
2005-10-04 20:08:22 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
|
2005-09-12 18:13:08 +00:00
|
|
|
Conflicts: XFree86-libs, xorg-x11-libs
|
|
|
|
|
|
|
|
%description
|
|
|
|
Digital Rights Management runtime library
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: libdrm-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
Conflicts: XFree86-devel, xorg-x11-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Digital Rights Management development package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
# NOTE: We don't want to ship static libs.
|
|
|
|
%configure --disable-static
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
# FIXME: makeinstall doesn't work due to upstream bug
|
|
|
|
#%%makeinstall DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# We intentionally don't ship *.la files
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2005-09-30 04:53:20 +00:00
|
|
|
%doc README
|
2005-09-12 18:13:08 +00:00
|
|
|
%{_libdir}/libdrm.so.1
|
|
|
|
%{_libdir}/libdrm.so.1.0.0
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%dir %{_includedir}
|
|
|
|
%dir %{_includedir}/drm
|
2005-09-12 18:18:20 +00:00
|
|
|
# NOTE: Headers are listed explicitly, so we can monitor additions/removals.
|
2005-09-12 18:13:08 +00:00
|
|
|
%{_includedir}/drm/drm.h
|
|
|
|
%{_includedir}/drm/drm_sarea.h
|
|
|
|
%{_includedir}/drm/i915_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
|
|
|
|
%{_includedir}/xf86drm.h
|
|
|
|
%dir %{_libdir}
|
|
|
|
# NOTE: We don't want to ship static libs.
|
|
|
|
#%{_libdir}/libdrm.a
|
|
|
|
%{_libdir}/libdrm.so
|
|
|
|
%dir %{_libdir}/pkgconfig
|
|
|
|
%{_libdir}/pkgconfig/libdrm.pc
|
|
|
|
|
|
|
|
%changelog
|
2005-10-27 10:08:49 +00:00
|
|
|
* 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.
|
|
|
|
|
2005-10-04 20:08:22 +00:00
|
|
|
* Tue Oct 4 2005 Mike A. Harris <mharris@redhat.com> 1.0.3-3
|
|
|
|
- Update BuildRoot to use Fedora Packaging Guidelines.
|
|
|
|
- Add missing "BuildRequires: libX11-devel, pkgconfig"
|
|
|
|
|
2005-09-30 04:53:20 +00:00
|
|
|
* 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
|
|
|
|
|
2005-09-12 18:13:08 +00:00
|
|
|
* Sat Sep 3 2005 Mike A. Harris <mharris@redhat.com> 1.0.3-1
|
|
|
|
- Initial build.
|