update to 2.4.101 [release 2.4.101-1mamba;Wed Apr 15 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:08:03 +01:00
parent 228c3c6d7a
commit 58e8adcd5e

View File

@ -1,6 +1,6 @@
Name: libdrm
Epoch: 1
Version: 2.4.100
Version: 2.4.101
Release: 1mamba
Summary: A library interface to Linux DRM (Direct Rendering Manager)
Group: System/Libraries
@ -8,7 +8,7 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://dri.freedesktop.org
Source: http://dri.freedesktop.org/libdrm/libdrm-%{version}.tar.bz2
Source: http://dri.freedesktop.org/libdrm/libdrm-%{version}.tar.xz
Patch0: %{name}-2.4.37-nouveau-1.patch
License: MIT
## AUTOBUILDREQ-BEGIN
@ -31,26 +31,33 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
A library interface to Linux DRM (Direct Rendering Manager).
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
#autoreconf
%configure \
--enable-udev \
--enable-vmwgfx-experimental-api \
--enable-omap-experimental-api \
--enable-exynos-experimental-api \
--enable-intel \
--enable-radeon \
--enable-nouveau
%meson \
-Dudev=true \
-Domap=true \
-Dexynos=true \
%make
#% configure \
# --enable-udev \
# --enable-vmwgfx-experimental-api \
# --enable-omap-experimental-api \
# --enable-exynos-experimental-api \
# --enable-intel \
# --enable-radeon \
# --enable-nouveau
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -59,7 +66,9 @@ This package contains static libraries and header files need for development.
%defattr(-,root,root)
%{_libdir}/libdrm.so.*
%{_libdir}/libdrm_amdgpu.so.*
%ifnarch arm
%{_libdir}/libdrm_intel.so.*
%endif
%{_libdir}/libdrm_nouveau.so.*
%{_libdir}/libdrm_radeon.so.*
%{_libdir}/libdrm_exynos.so.*
@ -85,28 +94,21 @@ This package contains static libraries and header files need for development.
%dir %{_includedir}/omap
%{_includedir}/omap/omap_drm.h
%{_includedir}/*.h
%{_libdir}/libdrm.la
%{_libdir}/libdrm.so
%ifarch arm
%dir %{_includedir}/freedreno
%{_includedir}/freedreno/freedreno_drmif.h
%{_includedir}/freedreno/freedreno_ringbuffer.h
%{_libdir}/libdrm_freedreno.la
%{_libdir}/libdrm_freedreno.so
%endif
%{_libdir}/libdrm_amdgpu.la
%{_libdir}/libdrm_amdgpu.so
%{_libdir}/libdrm_exynos.la
%{_libdir}/libdrm_exynos.so
%{_libdir}/libdrm_intel.la
%ifnarch arm
%{_libdir}/libdrm_intel.so
%{_libdir}/libdrm_nouveau.la
%endif
%{_libdir}/libdrm_nouveau.so
%{_libdir}/libdrm_omap.la
%{_libdir}/libdrm_omap.so
%{_libdir}/libdrm_radeon.la
%{_libdir}/libdrm_radeon.so
%{_libdir}/libkms.la
%{_libdir}/libkms.so
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/drmAvailable.3*
@ -121,6 +123,9 @@ This package contains static libraries and header files need for development.
#%doc README
%changelog
* Wed Apr 15 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.101-1mamba
- update to 2.4.101
* Sat Oct 19 2019 Automatic Build System <autodist@mambasoft.it> 2.4.100-1mamba
- automatic version update by autodist