]>
Commit | Line | Data |
---|---|---|
abff7bf2 | 1 | Summary: Tools for Intel DRM driver |
0ab01dd9 | 2 | Summary(pl.UTF-8): Narzędzia do sterownika Intel DRM |
eff785c9 | 3 | Name: xorg-app-igt-gpu-tools |
34d21b0f | 4 | Version: 1.25 |
6991fbcc | 5 | Release: 3 |
abff7bf2 AM |
6 | License: MIT |
7 | Group: X11/Applications | |
eff785c9 | 8 | Source0: https://xorg.freedesktop.org/archive/individual/app/igt-gpu-tools-%{version}.tar.xz |
34d21b0f | 9 | # Source0-md5: 4c148d3be97607859168ed70b15e8b2f |
abff7bf2 | 10 | URL: http://intellinuxgraphics.org/ |
c149d7e0 | 11 | BuildRequires: alsa-lib-devel |
14df415a | 12 | BuildRequires: bison |
34d21b0f | 13 | # TODO: >= 1.17.2 when stable release available |
14df415a | 14 | BuildRequires: cairo-devel >= 1.12.0 |
a63c6ceb | 15 | BuildRequires: curl-devel |
746ff741 JB |
16 | # rst2man |
17 | BuildRequires: docutils | |
a63c6ceb JB |
18 | # libdw |
19 | BuildRequires: elfutils-devel | |
dc2b5b9f | 20 | BuildRequires: flex |
a63c6ceb JB |
21 | # -std=gnu11 |
22 | BuildRequires: gcc >= 6:4.7 | |
1e03682a | 23 | BuildRequires: glib2-devel >= 2.0 |
11922205 | 24 | %if %(locale -a | grep -q '^C\.utf8$'; echo $?) |
d5f454b6 JB |
25 | BuildRequires: glibc-localedb-all |
26 | %endif | |
c149d7e0 | 27 | BuildRequires: gsl-devel |
d5f454b6 | 28 | BuildRequires: gtk-doc >= 1.14 |
a63c6ceb | 29 | BuildRequires: json-c-devel |
dc2b5b9f | 30 | BuildRequires: kmod-devel |
34d21b0f | 31 | BuildRequires: libdrm-devel >= 2.4.92 |
5dbf753a | 32 | BuildRequires: libunwind-devel |
34d21b0f | 33 | BuildRequires: meson >= 0.47.2 |
a63c6ceb | 34 | BuildRequires: ninja >= 1.5 |
39c9beb8 | 35 | BuildRequires: peg |
a63c6ceb | 36 | BuildRequires: pixman-devel >= 0.36.0 |
14df415a | 37 | BuildRequires: pkgconfig |
dc2b5b9f | 38 | BuildRequires: procps-devel >= 1:3.3 |
746ff741 | 39 | BuildRequires: python3-devel >= 1:3.0 |
7fcb510b | 40 | BuildRequires: rpmbuild(macros) >= 1.736 |
14df415a | 41 | BuildRequires: sed >= 4.0 |
39c9beb8 | 42 | BuildRequires: tar >= 1:1.22 |
1e03682a | 43 | BuildRequires: udev-devel |
1df0d90e | 44 | BuildRequires: xmlrpc-c-client-devel |
14df415a JB |
45 | BuildRequires: xorg-lib-libX11-devel |
46 | BuildRequires: xorg-lib-libXext-devel | |
47 | BuildRequires: xorg-lib-libXrandr-devel >= 1.3 | |
48 | BuildRequires: xorg-lib-libXv-devel | |
0ab01dd9 | 49 | BuildRequires: xorg-lib-libpciaccess-devel >= 0.10 |
d5f454b6 | 50 | BuildRequires: xorg-proto-dri2proto-devel >= 2.6 |
33877c01 | 51 | BuildRequires: xorg-util-util-macros >= 1.16 |
39c9beb8 | 52 | BuildRequires: xz |
b8655ab3 | 53 | Requires: cairo >= 1.12.0 |
34d21b0f | 54 | Requires: libdrm >= 2.4.92 |
b8655ab3 | 55 | Requires: xorg-lib-libXrandr >= 1.3 |
33877c01 | 56 | Requires: xorg-lib-libpciaccess >= 0.10 |
eff785c9 | 57 | Obsoletes: xorg-app-intel-gpu-tools < 1.23 |
5dbf753a | 58 | # libunwind is required |
a63c6ceb | 59 | ExclusiveArch: %{ix86} %{x8664} x32 %{arm} aarch64 hppa ia64 mips ppc ppc64 sh tilegx |
abff7bf2 AM |
60 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
61 | ||
62 | %description | |
63 | This is a collection of tools for development and testing of the Intel | |
64 | DRM driver. | |
65 | ||
0ab01dd9 JB |
66 | %description -l pl.UTF-8 |
67 | Ten pakiet zawiera zestaw narzędzi do rozwijania i testowania | |
68 | sterownika Intel DRM. | |
69 | ||
34d21b0f JB |
70 | %package devel |
71 | Summary: Header files for i915 perf library | |
72 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki i915 perf | |
73 | Group: Development/Libraries | |
74 | Requires: %{name} = %{version}-%{release} | |
75 | Requires: libdrm-devel >= 2.4.92 | |
76 | ||
77 | %description devel | |
78 | Header files for i915 perf library. | |
79 | ||
80 | %description devel -l pl.UTF-8 | |
81 | Pliki nagłówkowe biblioteki i915 perf. | |
82 | ||
abff7bf2 | 83 | %prep |
eff785c9 | 84 | %setup -q -n igt-gpu-tools-%{version} |
14df415a | 85 | |
abff7bf2 | 86 | %build |
a63c6ceb JB |
87 | %meson build \ |
88 | -Dbuild_chamelium=enabled | |
abff7bf2 | 89 | |
a63c6ceb | 90 | %ninja_build -C build |
abff7bf2 AM |
91 | |
92 | %install | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
a63c6ceb | 95 | %ninja_install -C build |
14df415a | 96 | |
746ff741 | 97 | # tests |
eff785c9 | 98 | %{__rm} -r $RPM_BUILD_ROOT%{_libexecdir}/igt-gpu-tools \ |
a63c6ceb | 99 | $RPM_BUILD_ROOT%{_datadir}/igt-gpu-tools/{README,*.testlist} |
746ff741 | 100 | |
abff7bf2 AM |
101 | %clean |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
a63c6ceb JB |
104 | %post -p /sbin/ldconfig |
105 | %postun -p /sbin/ldconfig | |
106 | ||
abff7bf2 AM |
107 | %files |
108 | %defattr(644,root,root,755) | |
34d21b0f JB |
109 | %doc COPYING MAINTAINERS NEWS README.md |
110 | %attr(755,root,root) %{_bindir}/amd_hdmi_compliance | |
a63c6ceb | 111 | %attr(755,root,root) %{_bindir}/dpcd_reg |
34d21b0f | 112 | %attr(755,root,root) %{_bindir}/i915-perf-* |
a63c6ceb JB |
113 | %attr(755,root,root) %{_bindir}/igt_results |
114 | %attr(755,root,root) %{_bindir}/igt_resume | |
115 | %attr(755,root,root) %{_bindir}/igt_runner | |
a3bc999c | 116 | %attr(755,root,root) %{_bindir}/igt_stats |
ac02e969 | 117 | %attr(755,root,root) %{_bindir}/intel_* |
34d21b0f JB |
118 | %attr(755,root,root) %{_bindir}/lsgpu |
119 | %attr(755,root,root) %{_libdir}/libi915_perf.so.0 | |
120 | %attr(755,root,root) %{_libdir}/libigt.so.0 | |
ac02e969 | 121 | %ifarch %{ix86} %{x8664} x32 |
14df415a JB |
122 | %attr(755,root,root) %{_bindir}/intel-gen4asm |
123 | %attr(755,root,root) %{_bindir}/intel-gen4disasm | |
124 | %attr(755,root,root) %{_bindir}/intel-gpu-overlay | |
14df415a | 125 | %{_pkgconfigdir}/intel-gen4asm.pc |
ac02e969 | 126 | %endif |
a63c6ceb JB |
127 | %dir %{_datadir}/igt-gpu-tools |
128 | %{_datadir}/igt-gpu-tools/registers | |
34d21b0f | 129 | %{_datadir}/igt-gpu-tools/blacklist*.txt |
a63c6ceb | 130 | %{_datadir}/igt-gpu-tools/*.png |
eff785c9 | 131 | %{_gtkdocdir}/igt-gpu-tools |
0ab01dd9 | 132 | %{_mandir}/man1/intel_*.1* |
34d21b0f JB |
133 | |
134 | %files devel | |
135 | %defattr(644,root,root,755) | |
136 | %attr(755,root,root) %{_libdir}/libi915_perf.so | |
137 | %attr(755,root,root) %{_libdir}/libigt.so | |
138 | %{_includedir}/i915-perf | |
139 | %{_pkgconfigdir}/i915-perf.pc |