intel-gpu-tools/intel-gpu-tools.spec
Tejas Guruswamy 9896876b76 - Update to version 1.27.1:
* Support for Intel discrete graphics and other new platforms (Andrzej
    Turko, Matt Roper, Clint Taylor, Tejas Upadhyay, et al)
  * Support for MSM driver. (Mark Yacoub, Rob Clark)
  * Support for SRIOV device selection. (Łukasz Łaguna)
  * Tiled display emulation support with chamelium. (Kunal Joshi)
  * Support for Chamelium v3. (Mark Yacoub)
  * Initial FreeBSD support. (Jake Freeland)
  * Structured communication from tests to igt_runner. (Petri Latvala)
  * Removed last remaining uses of libdrm_intel in tests and
    tools. (Zbigniew Kempczyński)
  * Automatic kernel code coverage collection during testing. (Mauro
    Carvalho Chehab)
- Remove intel-gpu-tools_fix-meson.patch

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/intel-gpu-tools?expand=0&rev=6
2023-03-04 04:43:55 +00:00

111 lines
3.2 KiB
RPMSpec

#
# spec file for package intel-gpu-tools
#
# Copyright (c) 2023 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: intel-gpu-tools
Version: 1.27.1
Release: 0
Summary: Collection of tools for development and testing of the Intel DRM driver
License: MIT
Group: Development/Tools/Other
URL: https://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/app/igt-gpu-tools-%{version}.tar.xz
Source1: http://xorg.freedesktop.org/releases/individual/app/igt-gpu-tools-%{version}.tar.xz.sig
Patch0: u_%{name}-1.7-fix-bashisms.patch
BuildRequires: bison
BuildRequires: flex
BuildRequires: meson
BuildRequires: peg
BuildRequires: pkgconfig
BuildRequires: python3-docutils
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(gsl)
BuildRequires: pkgconfig(gtk-doc)
BuildRequires: pkgconfig(json-c)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libdrm_intel) >= 2.4.82
BuildRequires: pkgconfig(libdw)
BuildRequires: pkgconfig(libkmod)
BuildRequires: pkgconfig(liboping)
BuildRequires: pkgconfig(libprocps)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libunwind)
BuildRequires: pkgconfig(pciaccess) >= 0.10
BuildRequires: pkgconfig(valgrind)
BuildRequires: pkgconfig(xmlrpc)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xv)
# This was part of the xorg-x11-driver-video package up to version 7.6
Conflicts: xorg-x11-driver-video <= 7.6
# Intel GPU is only available on x86 and x86-64
ExclusiveArch: %{ix86} x86_64
%description
This is a collection of tools for development and testing of the Intel
DRM driver.
%package devel
Summary: Development files for %{name}
Group: Development/Tools/Other
Requires: %{name} = %{version}
%description devel
Development files and library headers for %{name}
%prep
%setup -q -n igt-gpu-tools-%{version}
%patch0
%build
#Tests fail on x86_64 with -z now
#https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/102
export SUSE_ZNOW=0
%meson
%meson_build
%install
%meson_install
sed -i 's#/usr/bin/env python3#/usr/bin/python3#' %{buildroot}%{_bindir}/code_cov_gather_on_test
%check
%meson_test
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc README.md
%license COPYING
%{_bindir}/*
%{_libexecdir}/igt-gpu-tools/
%{_datadir}/igt-gpu-tools/
%{_libdir}/libigt.so.0
%{_libdir}/libi915_perf.so.1.5
%{_mandir}/man1/intel_*
%doc %{_datadir}/gtk-doc/html/igt-gpu-tools/
%files devel
%{_libdir}/libigt.so
%{_libdir}/libi915_perf.so
%{_libdir}/pkgconfig/i915-perf.pc
%{_libdir}/pkgconfig/intel-gen4asm.pc
%{_includedir}/i915-perf/
%changelog