add a -common subpackage for multilib cohexistence [release 2.4.113-2mamba;Wed Sep 21 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 04:08:05 +01:00
parent 877d811ebf
commit b9d0b60eb9

View File

@ -1,7 +1,7 @@
Name: libdrm
Epoch: 1
Version: 2.4.113
Release: 1mamba
Release: 2mamba
Summary: A library interface to Linux DRM (Direct Rendering Manager)
Group: System/Libraries
Vendor: openmamba
@ -16,10 +16,19 @@ BuildRequires: glibc-devel
BuildRequires: libpciaccess-devel
BuildRequires: valgrind-devel
## AUTOBUILDREQ-END
Requires: %{name}-common = %{?epoch:%epoch:}%{version}-%{release}
%description
A library interface to Linux DRM (Direct Rendering Manager).
%package common
Summary: Common file provided with %{name}
Group: System/Libraries
%description common
A library interface to Linux DRM (Direct Rendering Manager).
This package contains common files provided with %{name}.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
@ -71,19 +80,19 @@ This package contains static libraries and header files needed for development.
%{_libdir}/libdrm_radeon.so.*
%{_libdir}/libdrm_exynos.so.*
%{_libdir}/libdrm_omap.so.*
#%{_libdir}/libkms.so.*
%ifarch arm aarch64
%{_libdir}/libdrm_freedreno.so.*
%{_libdir}/libdrm_etnaviv.so.*
%endif
%files common
%defattr(-,root,root)
%{_datadir}/libdrm/amdgpu.ids
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libdrm
%{_includedir}/libdrm/*.h
#%dir %{_includedir}/libkms
#%{_includedir}/libkms/libkms.h
%dir %{_includedir}/exynos
%{_includedir}/exynos/*.h
%dir %{_includedir}/libdrm/nouveau
@ -109,20 +118,19 @@ This package contains static libraries and header files needed for development.
%{_libdir}/libdrm_nouveau.so
%{_libdir}/libdrm_omap.so
%{_libdir}/libdrm_radeon.so
#%{_libdir}/libkms.so
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/drmAvailable.3*
%{_mandir}/man3/drmHandleEvent.3*
%{_mandir}/man3/drmModeGetResources.3*
#%{_mandir}/man7/drm-gem.7*
%{_mandir}/man7/drm-kms.7*
%{_mandir}/man7/drm-memory.7*
#%{_mandir}/man7/drm-mm.7*
#%{_mandir}/man7/drm-ttm.7*
%{_mandir}/man7/drm.7*
#%doc README
%changelog
* Wed Sep 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.113-2mamba
- add a -common subpackage for multilib cohexistence
* Fri Sep 16 2022 Automatic Build System <autodist@mambasoft.it> 2.4.113-1mamba
- automatic version update by autodist