diff --git a/intel-gpu-tools.spec b/intel-gpu-tools.spec index fbfae1d..a23a5f1 100644 --- a/intel-gpu-tools.spec +++ b/intel-gpu-tools.spec @@ -1,28 +1,39 @@ Name: intel-gpu-tools -Version: 1.25 +Version: 1.26 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 -URL: http://x.org +URL: https://x.org Source: https://gitlab.freedesktop.org/drm/igt-gpu-tools.git/igt-gpu-tools-%{version}/igt-gpu-tools-%{version}.tar.bz2 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 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: libglib-devel +BuildRequires: libgsl-devel +BuildRequires: libjson-c-devel +BuildRequires: libkmod-devel BuildRequires: libpciaccess-devel +BuildRequires: libpixman-devel +BuildRequires: libprocps-devel +BuildRequires: libudev-devel +BuildRequires: libunwind-devel +BuildRequires: libxmlrpc-c-devel +BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: xorg-server-devel >= 1.1.0 BuildRequires: xorg-proto-devel BuildRequires: xbitmaps-devel >= 1.0.1 -BuildRequires: python3-devel Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description @@ -45,6 +56,12 @@ 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}. %debug_package @@ -52,17 +69,14 @@ This package contains libraries and header files for developing applications tha %setup -q -n igt-gpu-tools-%{version} #% patch3 -p1 -./autogen.sh - %build -%configure +%meson -# PYTHON_CPPFLAGS="`pkg-config --cflags python3`" - -%make -j1 +%meson_build %install -%makeinstall +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -74,15 +88,19 @@ This package contains libraries and header files for developing applications tha %defattr(-,root,root) %{_bindir}/amd_hdmi_compliance %{_bindir}/dpcd_reg -%{_bindir}/igt_stats +%{_bindir}/igt_* +%{_bindir}/intel-* +%{_bindir}/msm_dp_compliance %{_bindir}/intel_* %{_bindir}/i915-* %{_bindir}/lsgpu %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.* %dir %{_libexecdir}/igt-gpu-tools %{_libexecdir}/igt-gpu-tools/* @@ -91,12 +109,20 @@ This package contains libraries and header files for developing applications tha %defattr(-,root,root) %dir %{_includedir}/i915-perf %{_includedir}/i915-perf/*.h -%{_libdir}/libi915_perf.la +%{_libdir}/libigt.so %{_libdir}/libi915_perf.so %{_libdir}/pkgconfig/i915-perf.pc -%{_prefix}/lib/.build-id/*/* +%{_libdir}/pkgconfig/intel-gen4asm.pc + +%files apidocs +%defattr(-,root,root) +%dir %{_datadir}/gtk-doc/html/igt-gpu-tools/ +%{_datadir}/gtk-doc/html/igt-gpu-tools/* %changelog +* Thu May 13 2021 Automatic Build System 1.26-1mamba +- automatic version update by autodist + * Sun Mar 29 2020 Automatic Build System 1.25-1mamba - automatic version update by autodist