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