|
|
|
|
@@ -1,81 +1,143 @@
|
|
|
|
|
Name: intel-gpu-tools
|
|
|
|
|
Version: 1.22
|
|
|
|
|
Version: 2.0
|
|
|
|
|
Release: 1mamba
|
|
|
|
|
Summary: A collection of tools for development and testing of the Intel DRM driver
|
|
|
|
|
Group: System/X11
|
|
|
|
|
Vendor: openmamba
|
|
|
|
|
Distribution: openmamba
|
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
|
URL: http://x.org
|
|
|
|
|
Source: ftp://x.org/pub/individual/app/intel-gpu-tools-%{version}.tar.xz
|
|
|
|
|
Patch0: intel-gpu-tools-1.3-libcairo.patch
|
|
|
|
|
Patch1: intel-gpu-tools-1.7-unicode.patch
|
|
|
|
|
Patch2: intel-gpu-tools-1.10-fix-32bit-pointer-to-int-cast.patch
|
|
|
|
|
Patch3: intel-gpu-tools-1.20-x86-ftbfs.patch
|
|
|
|
|
URL: https://x.org/wiki/
|
|
|
|
|
Source: https://gitlab.freedesktop.org/drm/igt-gpu-tools.git/v%{version}/igt-gpu-tools-%{version}.tar.bz2
|
|
|
|
|
License: MIT
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
|
BuildRequires: libdrm-devel
|
|
|
|
|
BuildRequires: libdw-devel
|
|
|
|
|
BuildRequires: libgcc
|
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
|
BuildRequires: libgsl-devel
|
|
|
|
|
BuildRequires: libjson-c-devel
|
|
|
|
|
BuildRequires: libkmod-devel
|
|
|
|
|
BuildRequires: libpciaccess-devel
|
|
|
|
|
BuildRequires: libperl
|
|
|
|
|
BuildRequires: libpixman-devel
|
|
|
|
|
BuildRequires: libprocps3-devel
|
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
|
BuildRequires: libunwind-devel
|
|
|
|
|
BuildRequires: libxmlrpc-c-devel
|
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
BuildRequires: xorg-server-devel >= 1.1.0
|
|
|
|
|
BuildRequires: xorg-proto-devel >= %{xorg_ver}
|
|
|
|
|
BuildRequires: xbitmaps-devel >= 1.0.1
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This is a collection of tools for development and testing of the Intel DRM driver.
|
|
|
|
|
There are many macro-level test suites that get used against our driver, including xtest, rendercheck, piglit, and oglconform, but failures from those can be difficult to track down to kernel changes, and many require complicated build procedures or specific testing environments to get useful results.
|
|
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
|
Group: Documentation
|
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
|
This package contains the API documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
#% patch3 -p1
|
|
|
|
|
%setup -q -n igt-gpu-tools-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
./autogen.sh
|
|
|
|
|
%configure
|
|
|
|
|
%meson
|
|
|
|
|
|
|
|
|
|
# PYTHON_CPPFLAGS="`pkg-config --cflags python3`"
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%make -j1
|
|
|
|
|
ninja -C build igt-gpu-tools-doc
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%makeinstall
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
#%{_bindir}/chipset.py
|
|
|
|
|
# %ifnarch %{ix86}
|
|
|
|
|
#%{_bindir}/eudb
|
|
|
|
|
%{_bindir}/intel-gen4asm
|
|
|
|
|
%{_bindir}/intel-gen4disasm
|
|
|
|
|
#%{_bindir}/intel-gpu-overlay
|
|
|
|
|
#% endif
|
|
|
|
|
#%{_bindir}/gem_userptr_benchmark
|
|
|
|
|
%{_bindir}/igt_stats
|
|
|
|
|
%{_bindir}/amd_hdmi_compliance
|
|
|
|
|
%{_bindir}/code_cov_*
|
|
|
|
|
%{_bindir}/dpcd_reg
|
|
|
|
|
%{_bindir}/gputop
|
|
|
|
|
%{_bindir}/igt_*
|
|
|
|
|
%{_bindir}/intel-*
|
|
|
|
|
%{_bindir}/msm_dp_compliance
|
|
|
|
|
%{_bindir}/intel_*
|
|
|
|
|
#%{_bindir}/quick_dump.py
|
|
|
|
|
#%{_bindir}/reg_access.py
|
|
|
|
|
#%{_libdir}/I915ChipsetPython.la
|
|
|
|
|
#%{_libdir}/I915ChipsetPython.so
|
|
|
|
|
%{_libdir}/intel_aubdump.la
|
|
|
|
|
%{_libdir}/intel_aubdump.so
|
|
|
|
|
%dir %{_libexecdir}/intel-gpu-tools
|
|
|
|
|
%{_libexecdir}/intel-gpu-tools/*
|
|
|
|
|
%dir %{_datadir}/intel-gpu-tools
|
|
|
|
|
%{_datadir}/intel-gpu-tools/*
|
|
|
|
|
#%ifnarch %{ix86}
|
|
|
|
|
%{_libdir}/pkgconfig/intel-gen4asm.pc
|
|
|
|
|
#%endif
|
|
|
|
|
#%dir %{_datadir}/gtk-doc/html/intel-gpu-tools/
|
|
|
|
|
#%{_datadir}/gtk-doc/html/intel-gpu-tools/*
|
|
|
|
|
%{_bindir}/i915-*
|
|
|
|
|
%{_bindir}/lsgpu
|
|
|
|
|
%{_bindir}/xe-perf-*
|
|
|
|
|
%dir %{_datadir}/igt-gpu-tools
|
|
|
|
|
%{_datadir}/igt-gpu-tools/*
|
|
|
|
|
%{_mandir}/man1/intel_*.1*
|
|
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_libdir}/libigt.so.*
|
|
|
|
|
%{_libdir}/libi915_perf.so.*
|
|
|
|
|
%{_libdir}/libxe_oa.so.*
|
|
|
|
|
%dir %{_libexecdir}/igt-gpu-tools
|
|
|
|
|
%{_libexecdir}/igt-gpu-tools/*
|
|
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%dir %{_includedir}/i915-perf
|
|
|
|
|
%{_includedir}/i915-perf/*.h
|
|
|
|
|
%dir %{_includedir}/xe-oa
|
|
|
|
|
%{_includedir}/xe-oa/*.h
|
|
|
|
|
%{_libdir}/libigt.so
|
|
|
|
|
%{_libdir}/libi915_perf.so
|
|
|
|
|
%{_libdir}/libxe_oa.so
|
|
|
|
|
%{_libdir}/pkgconfig/i915-perf.pc
|
|
|
|
|
%{_libdir}/pkgconfig/intel-gen4asm.pc
|
|
|
|
|
%{_libdir}/pkgconfig/xe-oa.pc
|
|
|
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%dir %{_datadir}/gtk-doc/html/igt-gpu-tools/
|
|
|
|
|
%{_datadir}/gtk-doc/html/igt-gpu-tools/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun May 25 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-1mamba
|
|
|
|
|
- update to 2.0
|
|
|
|
|
|
|
|
|
|
* Thu Sep 21 2023 Automatic Build System <autodist@mambasoft.it> 1.28-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Wed Jan 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.27.1-1mamba
|
|
|
|
|
- update to 1.27.1
|
|
|
|
|
|
|
|
|
|
* Thu May 13 2021 Automatic Build System <autodist@mambasoft.it> 1.26-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sun Mar 29 2020 Automatic Build System <autodist@mambasoft.it> 1.25-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sat Aug 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.24-1mamba
|
|
|
|
|
- update to 1.24
|
|
|
|
|
|
|
|
|
|
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22-1mamba
|
|
|
|
|
- update to 1.22
|
|
|
|
|
|
|
|
|
|
|