2007-01-16 00:21:38 +01:00
|
|
|
#
|
2011-05-26 10:06:06 +02:00
|
|
|
# spec file for package libdrm
|
2007-01-16 00:21:38 +01:00
|
|
|
#
|
2024-01-06 22:11:05 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-16 00:21:38 +01:00
|
|
|
#
|
2008-08-24 11:03:52 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-07-03 14:43:07 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:21:38 +01:00
|
|
|
#
|
|
|
|
|
2012-03-07 10:47:56 +01:00
|
|
|
|
2023-11-15 12:13:42 +01:00
|
|
|
%ifarch aarch64 x86_64 ppc64le s390x
|
2022-09-13 11:52:01 +02:00
|
|
|
%bcond_without valgrind_support
|
|
|
|
%else
|
|
|
|
%bcond_with valgrind_support
|
|
|
|
%endif
|
|
|
|
|
2007-01-16 00:21:38 +01:00
|
|
|
Name: libdrm
|
2023-02-13 11:59:48 +01:00
|
|
|
# Please remember to adjust the version in the n_libdrm-drop-valgrind* patches
|
2024-06-03 02:52:46 +02:00
|
|
|
Version: 2.4.121
|
2012-02-13 11:09:00 +01:00
|
|
|
Release: 0
|
2007-01-16 00:21:38 +01:00
|
|
|
Summary: Userspace Interface for Kernel DRM Services
|
2012-02-13 11:09:00 +01:00
|
|
|
License: MIT
|
2017-09-30 12:51:30 +02:00
|
|
|
Group: Development/Libraries/X11
|
2021-01-06 21:55:27 +01:00
|
|
|
URL: https://dri.freedesktop.org/
|
2019-01-30 17:33:33 +01:00
|
|
|
# Git-Clone: https://gitlab.freedesktop.org/mesa/drm.git
|
|
|
|
# Git-Web: https://gitlab.freedesktop.org/mesa/drm
|
|
|
|
# Source URL: https://dri.freedesktop.org/libdrm/
|
2020-04-20 19:11:30 +02:00
|
|
|
Source: https://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.xz
|
2009-12-16 09:20:45 +01:00
|
|
|
Source2: baselibs.conf
|
2022-11-22 12:09:00 +01:00
|
|
|
Source3: n_libdrm-drop-valgrind-dep-generic.patch
|
|
|
|
Source4: n_libdrm-drop-valgrind-dep-intel.patch
|
2019-01-30 17:33:33 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: meson >= 0.43
|
|
|
|
BuildRequires: pkgconfig
|
2021-01-24 12:46:34 +01:00
|
|
|
# needed for rst2man to create manual pages
|
|
|
|
BuildRequires: python3-docutils
|
2019-01-30 17:33:33 +01:00
|
|
|
BuildRequires: pkgconfig(pciaccess) >= 0.10
|
2021-04-08 11:24:53 +02:00
|
|
|
Provides: libdrm23 = %{version}
|
|
|
|
Obsoletes: libdrm23 < %{version}
|
2022-09-13 11:52:01 +02:00
|
|
|
%if %{with valgrind_support}
|
2019-01-30 17:33:33 +01:00
|
|
|
BuildRequires: pkgconfig(valgrind)
|
|
|
|
%endif
|
2007-01-16 00:21:38 +01:00
|
|
|
|
|
|
|
%description
|
2010-03-18 23:02:42 +01:00
|
|
|
The package contains the userspace interface to the kernel DRM
|
2007-01-16 00:21:38 +01:00
|
|
|
services.
|
|
|
|
|
2019-02-11 22:12:42 +01:00
|
|
|
%package tools
|
2012-02-13 11:09:00 +01:00
|
|
|
Summary: Diagnostic utilities for DRI and DRM
|
|
|
|
Group: System/Base
|
2016-10-04 12:49:05 +02:00
|
|
|
Obsoletes: libdrm < %{version}-%{release}
|
|
|
|
Provides: libdrm = %{version}-%{release}
|
2012-02-13 11:09:00 +01:00
|
|
|
|
2019-02-11 22:12:42 +01:00
|
|
|
%description tools
|
2019-01-30 17:33:33 +01:00
|
|
|
libdrm is a library for accessing the Direct Rendering Manager on
|
|
|
|
Linux, BSD and other operating systems that support the ioctl
|
|
|
|
interface, and for chipsets with DRM memory manager, support for
|
|
|
|
tracking relocations and buffers. libdrm is a low-level library,
|
|
|
|
typically used by graphics drivers such as the Mesa DRI and X
|
|
|
|
drivers.
|
|
|
|
|
|
|
|
This package contains diagnostic utilities for DRI and DRM.
|
2010-03-20 03:43:30 +01:00
|
|
|
|
2007-01-16 00:21:38 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Libraries, includes and more to develop libdrm applications
|
2010-07-19 13:29:11 +02:00
|
|
|
Group: Development/Libraries/X11
|
2016-10-04 12:49:05 +02:00
|
|
|
Requires: libdrm2 = %{version}
|
|
|
|
Requires: libdrm_amdgpu1 = %{version}
|
|
|
|
Requires: libdrm_nouveau2 = %{version}
|
|
|
|
Requires: libdrm_radeon1 = %{version}
|
|
|
|
%ifarch %{arm} aarch64
|
2019-01-05 14:58:04 +01:00
|
|
|
Requires: libdrm_etnaviv1 = %{version}
|
|
|
|
Requires: libdrm_exynos1 = %{version}
|
2016-10-04 12:49:05 +02:00
|
|
|
Requires: libdrm_freedreno1 = %{version}
|
2019-01-05 14:58:04 +01:00
|
|
|
Requires: libdrm_tegra0 = %{version}
|
2015-04-08 18:28:20 +02:00
|
|
|
%endif
|
2016-10-04 12:49:05 +02:00
|
|
|
%ifarch %{arm}
|
|
|
|
Requires: libdrm_omap1 = %{version}
|
2012-06-29 14:49:09 +02:00
|
|
|
%endif
|
2022-09-13 12:50:25 +02:00
|
|
|
%ifnarch s390x
|
2016-10-04 12:49:05 +02:00
|
|
|
Requires: libdrm_intel1 = %{version}
|
2022-09-13 12:50:25 +02:00
|
|
|
%endif
|
2009-01-08 18:33:58 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
2010-07-19 13:29:11 +02:00
|
|
|
Obsoletes: libdrm-devel-64bit < %{version}
|
|
|
|
Provides: libdrm-devel-64bit = %{version}
|
2009-01-08 18:33:58 +01:00
|
|
|
%endif
|
2023-09-21 10:32:55 +02:00
|
|
|
# bsc#1215526
|
2023-09-21 12:38:06 +02:00
|
|
|
Obsoletes: libkms-devel < %{version}-%{release}
|
|
|
|
Provides: libkms-devel = %{version}-%{release}
|
2007-01-16 00:21:38 +01:00
|
|
|
|
|
|
|
%description devel
|
2012-02-13 11:09:00 +01:00
|
|
|
libdrm is a library for accessing the Direct Rendering Manager on
|
2014-05-05 10:05:12 +02:00
|
|
|
Linux, BSD and other operating systems that support the ioctl
|
2012-02-13 11:09:00 +01:00
|
|
|
interface, and for chipsets with DRM memory manager, support for
|
|
|
|
tracking relocations and buffers. libdrm is a low-level library,
|
|
|
|
typically used by graphics drivers such as the Mesa DRI and X
|
|
|
|
drivers.
|
|
|
|
|
|
|
|
This package contains the development headers for the library found
|
|
|
|
in libdrm2.
|
|
|
|
|
|
|
|
%package -n libdrm2
|
|
|
|
Summary: Userspace Interface for Kernel DRM Services
|
|
|
|
Group: System/Libraries
|
2023-09-21 10:32:55 +02:00
|
|
|
# bsc#1215526
|
2023-09-21 12:38:06 +02:00
|
|
|
Obsoletes: libkms1 < %{version}-%{release}
|
|
|
|
Provides: libkms1 = %{version}-%{release}
|
2012-02-13 11:09:00 +01:00
|
|
|
|
|
|
|
%description -n libdrm2
|
|
|
|
libdrm is a library for accessing the Direct Rendering Manager on
|
2014-05-05 10:05:12 +02:00
|
|
|
Linux, BSD and other operating systems that support the ioctl
|
2012-02-13 11:09:00 +01:00
|
|
|
interface, and for chipsets with DRM memory manager, support for
|
|
|
|
tracking relocations and buffers. libdrm is a low-level library,
|
|
|
|
typically used by graphics drivers such as the Mesa DRI and X
|
|
|
|
drivers.
|
|
|
|
|
|
|
|
%package -n libdrm_intel1
|
|
|
|
Summary: Userspace interface for Kernel DRM services for Intel chips
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libdrm_intel1
|
2019-01-30 17:33:33 +01:00
|
|
|
libdrm is a library for accessing the Direct Rendering Manager on
|
|
|
|
Linux, BSD and other operating systems.
|
|
|
|
|
|
|
|
This package provides userspace interface for Kernel DRM services
|
|
|
|
for Intel chips.
|
2012-02-13 11:09:00 +01:00
|
|
|
|
2012-08-27 15:49:35 +02:00
|
|
|
%package -n libdrm_nouveau2
|
2012-02-13 11:09:00 +01:00
|
|
|
Summary: Userspace interface for Kernel DRM services for NVIDIA chips
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2012-08-27 15:49:35 +02:00
|
|
|
%description -n libdrm_nouveau2
|
2019-01-30 17:33:33 +01:00
|
|
|
libdrm is a library for accessing the Direct Rendering Manager on
|
|
|
|
Linux, BSD and other operating systems.
|
|
|
|
|
|
|
|
This package provides userspace interface for Kernel DRM services
|
|
|
|
for NVIDIA chips.
|
2012-02-13 11:09:00 +01:00
|
|
|
|
|
|
|
%package -n libdrm_radeon1
|
|
|
|
Summary: Userspace interface for Kernel DRM services for AMD Radeon chips
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libdrm_radeon1
|
2019-01-30 17:33:33 +01:00
|
|
|
libdrm is a library for accessing the Direct Rendering Manager on
|
|
|
|
Linux, BSD and other operating systems.
|
|
|
|
|
|
|
|
This package provides userspace interface for Kernel DRM services
|
|
|
|
for AMD Radeon chips.
|
2012-02-13 11:09:00 +01:00
|
|
|
|
2015-08-14 16:46:19 +02:00
|
|
|
%package -n libdrm_amdgpu1
|
|
|
|
Summary: Userspace interface for Kernel DRM services for AMD Radeon chips
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libdrm_amdgpu1
|
2019-01-30 17:33:33 +01:00
|
|
|
libdrm is a library for accessing the Direct Rendering Manager on
|
|
|
|
Linux, BSD and other operating systems.
|
|
|
|
|
|
|
|
This package provides userspace interface for Kernel DRM services
|
|
|
|
for AMD Radeon chips.
|
2015-08-14 16:46:19 +02:00
|
|
|
|
2012-06-29 14:49:09 +02:00
|
|
|
%package -n libdrm_omap1
|
|
|
|
Summary: Userspace interface to kernel DRM services for omap chips
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libdrm_omap1
|
2019-01-30 17:33:33 +01:00
|
|
|
libdrm is a library for accessing the Direct Rendering Manager on
|
|
|
|
Linux, BSD and other operating systems.
|
|
|
|
|
|
|
|
This package provides userspace interface to kernel DRM services
|
|
|
|
for omap chips.
|
2014-01-15 12:53:49 +01:00
|
|
|
|
2018-12-19 11:03:39 +01:00
|
|
|
%package -n libdrm_etnaviv1
|
|
|
|
Summary: Userspace interface to kernel DRM services for Vivante chips
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libdrm_etnaviv1
|
2019-01-30 17:33:33 +01:00
|
|
|
libdrm is a library for accessing the Direct Rendering Manager on
|
|
|
|
Linux, BSD and other operating systems.
|
|
|
|
|
|
|
|
This package provides userspace interface to kernel DRM services
|
|
|
|
for Vivante chips.
|
2018-12-19 11:03:39 +01:00
|
|
|
|
|
|
|
%package -n libdrm_exynos1
|
|
|
|
Summary: Userspace interface to kernel DRM services for Samsung Exynos chips
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libdrm_exynos1
|
2019-01-30 17:33:33 +01:00
|
|
|
libdrm is a library for accessing the Direct Rendering Manager on
|
|
|
|
Linux, BSD and other operating systems.
|
|
|
|
|
|
|
|
This package provides userspace interface to kernel DRM services
|
|
|
|
for Samsung Exynos chips.
|
2018-12-19 11:03:39 +01:00
|
|
|
|
2014-01-15 12:53:49 +01:00
|
|
|
%package -n libdrm_freedreno1
|
|
|
|
Summary: Userspace interface to kernel DRM services for Qualcomm Adreno chips
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libdrm_freedreno1
|
2019-01-30 17:33:33 +01:00
|
|
|
libdrm is a library for accessing the Direct Rendering Manager on
|
|
|
|
Linux, BSD and other operating systems.
|
|
|
|
|
|
|
|
This package provides userspace interface to kernel DRM services
|
|
|
|
for Qualcomm Adreno chips.
|
2015-02-23 10:48:19 +01:00
|
|
|
|
|
|
|
%package -n libdrm_tegra0
|
|
|
|
Summary: Userspace interface to kernel DRM services for Nvidia Tegra chips
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libdrm_tegra0
|
2019-01-30 17:33:33 +01:00
|
|
|
libdrm is a library for accessing the Direct Rendering Manager on
|
|
|
|
Linux, BSD and other operating systems.
|
|
|
|
|
|
|
|
This package provides userspace interface to kernel DRM services
|
|
|
|
for Nvidia Tegra chips.
|
2012-06-29 14:49:09 +02:00
|
|
|
|
2007-01-16 00:21:38 +01:00
|
|
|
%prep
|
2019-01-30 17:33:33 +01:00
|
|
|
%autosetup -p1
|
2011-06-20 10:59:35 +02:00
|
|
|
|
2007-01-16 00:21:38 +01:00
|
|
|
%build
|
2016-10-04 12:49:05 +02:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
2019-01-30 17:33:33 +01:00
|
|
|
%meson \
|
|
|
|
--default-library=shared \
|
|
|
|
-Dinstall-test-programs=true \
|
|
|
|
-Dudev=true \
|
2022-09-13 11:52:01 +02:00
|
|
|
-Dcairo-tests=disabled \
|
2019-01-30 17:33:33 +01:00
|
|
|
%ifarch %{arm}
|
2022-09-13 11:52:01 +02:00
|
|
|
-Domap=enabled \
|
2019-01-30 17:33:33 +01:00
|
|
|
%endif
|
|
|
|
%ifarch %{arm} aarch64
|
2022-09-13 11:52:01 +02:00
|
|
|
-Detnaviv=enabled \
|
|
|
|
-Dexynos=enabled \
|
|
|
|
-Dfreedreno=enabled \
|
|
|
|
-Dvc4=enabled \
|
|
|
|
-Dtegra=enabled \
|
2016-02-03 19:55:08 +01:00
|
|
|
%else
|
2022-09-13 11:52:01 +02:00
|
|
|
-Detnaviv=disabled \
|
|
|
|
-Dfreedreno=disabled \
|
|
|
|
-Dvc4=disabled \
|
2015-07-27 20:06:08 +02:00
|
|
|
%endif
|
2022-09-13 12:34:26 +02:00
|
|
|
%ifarch s390x
|
2022-09-13 12:39:59 +02:00
|
|
|
-Dintel=disabled \
|
2022-09-13 12:34:26 +02:00
|
|
|
%endif
|
2022-09-13 11:52:01 +02:00
|
|
|
%if %{with valgrind_support}
|
|
|
|
-Dvalgrind=enabled \
|
|
|
|
%else
|
|
|
|
-Dvalgrind=disabled \
|
2019-01-05 14:58:04 +01:00
|
|
|
%endif
|
2019-01-30 17:33:33 +01:00
|
|
|
%{nil}
|
|
|
|
%meson_build
|
2011-10-05 18:20:54 +02:00
|
|
|
|
|
|
|
%check
|
2019-01-30 17:33:33 +01:00
|
|
|
### FIXME ### Tests fail on arm, so lets not run them there for now.
|
|
|
|
%ifnarch %{arm}
|
|
|
|
%meson_test
|
|
|
|
%endif
|
2007-01-16 00:21:38 +01:00
|
|
|
|
|
|
|
%install
|
2019-01-30 17:33:33 +01:00
|
|
|
%meson_install
|
2022-11-23 15:41:06 +01:00
|
|
|
%if %{pkg_vcmp meson < 0.64}
|
2022-11-22 11:47:46 +01:00
|
|
|
%if %{with valgrind_support}
|
2022-11-22 11:17:42 +01:00
|
|
|
# patch the generated pkgconfig files to not have a dependency on valgrind
|
|
|
|
# intentionally using a patch file to catch if we need to adjust
|
2022-11-22 12:09:00 +01:00
|
|
|
pushd %{buildroot}%{_libdir}/pkgconfig
|
2022-11-22 13:08:33 +01:00
|
|
|
echo "arch: %_arch"
|
2022-11-22 13:52:12 +01:00
|
|
|
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x
|
2022-11-22 12:09:00 +01:00
|
|
|
patch -p1 --no-backup-if-mismatch < %{SOURCE3}
|
|
|
|
%ifnarch s390x
|
|
|
|
patch -p1 --no-backup-if-mismatch < %{SOURCE4}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
popd
|
2022-11-22 11:47:46 +01:00
|
|
|
%endif
|
2022-11-23 15:41:06 +01:00
|
|
|
%endif
|
2019-01-30 17:33:33 +01:00
|
|
|
%fdupes %{buildroot}/%{_prefix}
|
2007-01-16 00:21:38 +01:00
|
|
|
|
2012-02-13 11:09:00 +01:00
|
|
|
%post -n libdrm2 -p /sbin/ldconfig
|
|
|
|
%postun -n libdrm2 -p /sbin/ldconfig
|
2022-09-13 12:50:25 +02:00
|
|
|
%ifnarch s390x
|
2012-02-13 11:09:00 +01:00
|
|
|
%post -n libdrm_intel1 -p /sbin/ldconfig
|
|
|
|
%postun -n libdrm_intel1 -p /sbin/ldconfig
|
2022-09-13 12:50:25 +02:00
|
|
|
%endif
|
2012-08-27 15:49:35 +02:00
|
|
|
%post -n libdrm_nouveau2 -p /sbin/ldconfig
|
|
|
|
%postun -n libdrm_nouveau2 -p /sbin/ldconfig
|
2012-02-13 11:09:00 +01:00
|
|
|
%post -n libdrm_radeon1 -p /sbin/ldconfig
|
|
|
|
%postun -n libdrm_radeon1 -p /sbin/ldconfig
|
2015-08-14 16:46:19 +02:00
|
|
|
%post -n libdrm_amdgpu1 -p /sbin/ldconfig
|
|
|
|
%postun -n libdrm_amdgpu1 -p /sbin/ldconfig
|
2012-02-13 11:09:00 +01:00
|
|
|
|
2016-10-04 12:49:05 +02:00
|
|
|
%ifarch %{arm}
|
2012-06-29 14:49:09 +02:00
|
|
|
%post -n libdrm_omap1 -p /sbin/ldconfig
|
|
|
|
%postun -n libdrm_omap1 -p /sbin/ldconfig
|
2012-07-05 14:40:01 +02:00
|
|
|
%endif
|
2012-06-29 14:49:09 +02:00
|
|
|
|
2016-10-04 12:49:05 +02:00
|
|
|
%ifarch %{arm} aarch64
|
2019-01-05 14:58:04 +01:00
|
|
|
%post -n libdrm_etnaviv1 -p /sbin/ldconfig
|
|
|
|
%postun -n libdrm_etnaviv1 -p /sbin/ldconfig
|
|
|
|
%post -n libdrm_exynos1 -p /sbin/ldconfig
|
|
|
|
%postun -n libdrm_exynos1 -p /sbin/ldconfig
|
2015-04-08 18:28:20 +02:00
|
|
|
%post -n libdrm_freedreno1 -p /sbin/ldconfig
|
|
|
|
%postun -n libdrm_freedreno1 -p /sbin/ldconfig
|
2019-01-05 14:58:04 +01:00
|
|
|
%post -n libdrm_tegra0 -p /sbin/ldconfig
|
|
|
|
%postun -n libdrm_tegra0 -p /sbin/ldconfig
|
2015-04-08 18:28:20 +02:00
|
|
|
%endif
|
|
|
|
|
2019-02-11 22:12:42 +01:00
|
|
|
%files tools
|
2020-05-27 15:05:30 +02:00
|
|
|
%{_bindir}/drmdevice
|
2021-04-08 11:24:53 +02:00
|
|
|
%ifarch %{arm} aarch64
|
2019-01-30 17:33:33 +01:00
|
|
|
%{_bindir}/etnaviv_2d_test
|
|
|
|
%{_bindir}/etnaviv_bo_cache_test
|
|
|
|
%{_bindir}/etnaviv_cmd_stream_test
|
2018-12-19 11:03:39 +01:00
|
|
|
%{_bindir}/exynos_fimg2d_test
|
2019-01-30 17:33:33 +01:00
|
|
|
%{_bindir}/exynos_fimg2d_event
|
|
|
|
%{_bindir}/exynos_fimg2d_perf
|
2022-06-04 00:08:42 +02:00
|
|
|
%{_bindir}/tegra-*
|
2018-12-19 11:03:39 +01:00
|
|
|
%endif
|
2021-11-25 00:06:16 +01:00
|
|
|
%{_bindir}/amdgpu_stress
|
2016-10-04 12:49:05 +02:00
|
|
|
%{_bindir}/modeprint
|
|
|
|
%{_bindir}/modetest
|
2019-01-30 17:33:33 +01:00
|
|
|
%{_bindir}/proptest
|
|
|
|
%{_bindir}/vbltest
|
2012-02-13 11:09:00 +01:00
|
|
|
|
|
|
|
%files devel
|
2021-01-24 12:46:34 +01:00
|
|
|
%{_mandir}/man?/drm*?%{ext_man}
|
2016-10-04 12:49:05 +02:00
|
|
|
%{_includedir}/libdrm
|
|
|
|
%ifarch %{arm}
|
|
|
|
%{_includedir}/omap
|
2015-04-08 18:28:20 +02:00
|
|
|
%endif
|
2016-10-04 12:49:05 +02:00
|
|
|
%ifarch %{arm} aarch64
|
2019-01-05 14:58:04 +01:00
|
|
|
%{_includedir}/exynos
|
2016-10-04 12:49:05 +02:00
|
|
|
%{_includedir}/freedreno
|
2012-07-05 14:40:01 +02:00
|
|
|
%endif
|
2016-10-04 12:49:05 +02:00
|
|
|
%{_includedir}/xf86drm.h
|
|
|
|
%{_includedir}/xf86drmMode.h
|
2016-11-15 14:44:07 +01:00
|
|
|
%{_includedir}/libsync.h
|
2016-10-04 12:49:05 +02:00
|
|
|
%{_libdir}/libdrm*.so
|
|
|
|
%{_libdir}/pkgconfig/libdrm*.pc
|
2012-02-13 11:09:00 +01:00
|
|
|
|
|
|
|
%files -n libdrm2
|
2016-10-04 12:49:05 +02:00
|
|
|
%{_libdir}/libdrm.so.2*
|
2017-07-21 08:56:55 +02:00
|
|
|
%dir %{_datarootdir}/libdrm
|
2012-03-07 10:47:56 +01:00
|
|
|
|
2022-09-13 12:50:25 +02:00
|
|
|
%ifnarch s390x
|
2012-02-13 11:09:00 +01:00
|
|
|
%files -n libdrm_intel1
|
2016-10-04 12:49:05 +02:00
|
|
|
%{_libdir}/libdrm_intel.so.1*
|
2022-09-13 12:50:25 +02:00
|
|
|
%endif
|
2007-01-16 00:21:38 +01:00
|
|
|
|
2012-08-27 15:49:35 +02:00
|
|
|
%files -n libdrm_nouveau2
|
2016-10-04 12:49:05 +02:00
|
|
|
%{_libdir}/libdrm_nouveau.so.2*
|
2007-12-31 22:25:50 +01:00
|
|
|
|
2012-02-13 11:09:00 +01:00
|
|
|
%files -n libdrm_radeon1
|
2016-10-04 12:49:05 +02:00
|
|
|
%{_libdir}/libdrm_radeon.so.1*
|
2007-01-16 00:21:38 +01:00
|
|
|
|
2015-08-14 16:46:19 +02:00
|
|
|
%files -n libdrm_amdgpu1
|
2016-10-04 12:49:05 +02:00
|
|
|
%{_libdir}/libdrm_amdgpu.so.1*
|
2017-07-21 08:56:55 +02:00
|
|
|
%{_datarootdir}/libdrm/amdgpu.ids
|
2015-08-14 16:46:19 +02:00
|
|
|
|
2016-10-04 12:49:05 +02:00
|
|
|
%ifarch %{arm}
|
2019-01-05 14:58:04 +01:00
|
|
|
%files -n libdrm_omap1
|
|
|
|
%{_libdir}/libdrm_omap.so.1*
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch %{arm} aarch64
|
2018-12-19 11:03:39 +01:00
|
|
|
%files -n libdrm_etnaviv1
|
2021-04-08 11:24:53 +02:00
|
|
|
%{_libdir}/libdrm_etnaviv.so.1*
|
2018-12-19 11:03:39 +01:00
|
|
|
|
|
|
|
%files -n libdrm_exynos1
|
2021-04-08 11:24:53 +02:00
|
|
|
%{_libdir}/libdrm_exynos.so.1*
|
2018-12-19 11:03:39 +01:00
|
|
|
|
2019-01-05 14:58:04 +01:00
|
|
|
%files -n libdrm_freedreno1
|
|
|
|
%{_libdir}/libdrm_freedreno.so.1*
|
2014-01-15 12:53:49 +01:00
|
|
|
|
2015-02-23 10:48:19 +01:00
|
|
|
%files -n libdrm_tegra0
|
2016-10-04 12:49:05 +02:00
|
|
|
%{_libdir}/libdrm_tegra.so.0*
|
2012-07-05 14:40:01 +02:00
|
|
|
%endif
|
2012-06-29 14:49:09 +02:00
|
|
|
|
2007-12-31 22:25:50 +01:00
|
|
|
%changelog
|