|
@@ -1,9 +1,10 @@
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
+%define _unpackaged_files_terminate_build 1
|
|
|
|
|
|
Summary: Direct Rendering Manager runtime library
|
|
Summary: Direct Rendering Manager runtime library
|
|
Summary(ja): Direct Rendering Manager ランタイムライブラリ
|
|
Summary(ja): Direct Rendering Manager ランタイムライブラリ
|
|
Name: libdrm
|
|
Name: libdrm
|
|
-Version: 2.4.69
|
|
|
|
|
|
+Version: 2.4.88
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: MIT
|
|
License: MIT
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
@@ -12,12 +13,13 @@ URL: http://dri.sourceforge.net
|
|
Source0: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2
|
|
Source0: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2
|
|
Source2: 91-drm-modeset.rules
|
|
Source2: 91-drm-modeset.rules
|
|
Patch3: libdrm-make-dri-perms-okay.patch
|
|
Patch3: libdrm-make-dri-perms-okay.patch
|
|
-Patch5: libdrm-2.4.65-check-programs.patch
|
|
|
|
|
|
+Patch5: libdrm-2.4.25-check-programs.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: libxcb-devel >= 1.9-2
|
|
BuildRequires: libxcb-devel >= 1.9-2
|
|
BuildRequires: libpciaccess-devel
|
|
BuildRequires: libpciaccess-devel
|
|
|
|
+BuildRequires: libatomic_ops-devel
|
|
BuildRequires: eudev-libudev-devel
|
|
BuildRequires: eudev-libudev-devel
|
|
BuildRequires: kernel-headers >= 2.6.27-1
|
|
BuildRequires: kernel-headers >= 2.6.27-1
|
|
BuildRequires: automake autoconf libtool
|
|
BuildRequires: automake autoconf libtool
|
|
@@ -74,9 +76,10 @@ Direct Rendering Manager development package
|
|
%patch5 -p1 -b .check-program
|
|
%patch5 -p1 -b .check-program
|
|
|
|
|
|
%build
|
|
%build
|
|
-autoreconf -v --install || exit 1
|
|
|
|
|
|
+autoreconf -vfi
|
|
%configure \
|
|
%configure \
|
|
--enable-udev \
|
|
--enable-udev \
|
|
|
|
+ --enable-install-test-programs \
|
|
%ifarch %{ix86} x86_64 ia64
|
|
%ifarch %{ix86} x86_64 ia64
|
|
--enable-intel \
|
|
--enable-intel \
|
|
%endif
|
|
%endif
|
|
@@ -136,22 +139,22 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_libdir}/libdrm_radeon.so.*
|
|
%{_libdir}/libdrm_radeon.so.*
|
|
%{_libdir}/libdrm_nouveau.so.*
|
|
%{_libdir}/libdrm_nouveau.so.*
|
|
%{_libdir}/libkms.so.*
|
|
%{_libdir}/libkms.so.*
|
|
|
|
+%dir %{_datadir}/libdrm
|
|
|
|
+%{_datadir}/libdrm/amdgpu.ids
|
|
/lib/udev/rules.d/91-drm-modeset.rules
|
|
/lib/udev/rules.d/91-drm-modeset.rules
|
|
|
|
|
|
%files -n drm-utils
|
|
%files -n drm-utils
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%{_bindir}/dristat
|
|
|
|
%{_bindir}/drmdevice
|
|
%{_bindir}/drmdevice
|
|
-%{_bindir}/drmstat
|
|
|
|
-%{_bindir}/getclient
|
|
|
|
-%{_bindir}/getstats
|
|
|
|
-%{_bindir}/getversion
|
|
|
|
-%{_bindir}/name_from_fd
|
|
|
|
-%{_bindir}/openclose
|
|
|
|
-%{_bindir}/setversion
|
|
|
|
-%{_bindir}/updatedraw
|
|
|
|
|
|
+%{_bindir}/modetest
|
|
|
|
+%{_bindir}/modeprint
|
|
|
|
+%{_bindir}/vbltest
|
|
|
|
+%{_bindir}/kmstest
|
|
|
|
+%{_bindir}/kms-steal-crtc
|
|
|
|
+%{_bindir}/kms-universal-planes
|
|
%exclude %{_bindir}/drmsl
|
|
%exclude %{_bindir}/drmsl
|
|
%exclude %{_bindir}/hash
|
|
%exclude %{_bindir}/hash
|
|
|
|
+%exclude %{_bindir}/proptest
|
|
%exclude %{_bindir}/random
|
|
%exclude %{_bindir}/random
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
@@ -183,6 +186,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_includedir}/libdrm/*_drm.h
|
|
%{_includedir}/libdrm/*_drm.h
|
|
%dir %{_includedir}/libkms
|
|
%dir %{_includedir}/libkms
|
|
%{_includedir}/libkms/libkms.h
|
|
%{_includedir}/libkms/libkms.h
|
|
|
|
+%{_includedir}/libsync.h
|
|
%{_libdir}/libdrm.so
|
|
%{_libdir}/libdrm.so
|
|
%ifarch %{ix86} x86_64 ia64
|
|
%ifarch %{ix86} x86_64 ia64
|
|
%{_libdir}/libdrm_intel.so
|
|
%{_libdir}/libdrm_intel.so
|
|
@@ -231,6 +235,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Dec 17 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.88-1
|
|
|
|
+- updated to 2.4.88.
|
|
|
|
+- updated Patch5.
|
|
|
|
+
|
|
* Sat Jul 23 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.69-1
|
|
* Sat Jul 23 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.69-1
|
|
- update to 2.4.69
|
|
- update to 2.4.69
|
|
|
|
|