]> git.pld-linux.org Git - packages/kernel-tools.git/blame - kernel-tools.spec
- updated to 4.7[.0]
[packages/kernel-tools.git] / kernel-tools.spec
CommitLineData
bb6b0f50
ER
1# TODO:
2# - redefine: PACKAGE_BUGREPORT=cpufreq@vger.kernel.org
b1f08c11 3# - add -n python-perf?
b1f08c11 4# - add bcond to disable building docs (perf docs)
a5af5310 5# - install of perf links perf binary again
bb6b0f50 6
49fba13a
ER
7# Conditional build:
8%bcond_without verbose # verbose build (V=1)
db5f9ac9 9%bcond_without perf # perf tools
ae4c1fd4 10%bcond_without gtk # GTK+ 2.x perf support
5a8bbd03 11%bcond_without libunwind # libunwind perf support
a5af5310 12%bcond_without multilib # multilib perf support
5a8bbd03
JR
13
14%ifarch x32
15%undefine with_libunwind
16%endif
a5af5310
JB
17%ifnarch %{x8664}
18%undefine with_multilib
19%endif
49fba13a 20
dbaf19f8 21%define basever 4.7
da4153c4 22%define postver .0
49fba13a 23Summary: Assortment of tools for the Linux kernel
bd620db3 24Summary(pl.UTF-8): Zestaw narzędzi dla jądra Linuksa
49fba13a
ER
25Name: kernel-tools
26Version: %{basever}%{postver}
dbaf19f8 27Release: 1
49fba13a 28License: GPL v2
fea1e605 29Group: Applications/System
3109d83e 30Source0: https://www.kernel.org/pub/linux/kernel/v4.x/linux-%{basever}.tar.xz
dbaf19f8 31# Source0-md5: 5276563eb1f39a048e4a8a887408c031
bedc6c43
JR
32Source1: cpupower.service
33Source2: cpupower.config
49fba13a 34%if "%{postver}" != ".0"
3109d83e 35Patch0: https://www.kernel.org/pub/linux/kernel/v4.x/patch-%{version}.xz
dcbcf21f 36# Patch0-md5: 3a465c7cf55ec9dbf2d72d9292aa5fde
49fba13a 37%endif
bedc6c43 38Patch1: x32.patch
52583efa 39URL: http://www.kernel.org/
4a7175d2 40BuildRequires: gettext-tools
9596c3d3 41BuildRequires: pciutils-devel
a8b28c3a 42BuildRequires: rpmbuild(macros) >= 1.647
49fba13a
ER
43BuildRequires: tar >= 1:1.22
44BuildRequires: xz
fea1e605
ER
45%if %{with perf}
46BuildRequires: asciidoc
52583efa 47BuildRequires: audit-libs-devel
db5f9ac9 48BuildRequires: binutils-devel
52583efa 49BuildRequires: bison
a8b28c3a 50BuildRequires: docbook-dtd45-xml
52583efa
JB
51BuildRequires: docbook-style-xsl
52BuildRequires: elfutils-devel
53BuildRequires: flex
a5af5310
JB
54%if %{with multilib}
55BuildRequires: gcc-multilib-32
56BuildRequires: gcc-multilib-x32
57%endif
5a8bbd03 58%{?with_libunwind:BuildRequires: libunwind-devel >= 0.99}
60ccbbd3 59BuildRequires: numactl-devel
52583efa 60BuildRequires: perl-devel >= 5.1
52583efa 61BuildRequires: python-devel
fea1e605 62BuildRequires: rpm-pythonprov
a1c57a8e 63BuildRequires: slang-devel
fea1e605 64BuildRequires: xmlto
a8b28c3a
ER
65%if %{with gtk}
66BuildRequires: gtk+2-devel >= 2.0
67BuildRequires: pkgconfig
68%endif
fea1e605 69%endif
49fba13a
ER
70BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
71
eb373af4
AM
72# otherwise /usr/lib/rpm/bin/debugedit: canonicalization unexpectedly shrank by one character
73%define _enable_debug_packages 0
74
60972f76
ER
75%define makeopts CC="%{__cc}" %{?with_verbose:V=1}
76
49fba13a 77%description
bd620db3
JB
78This package contains the software from tools/ subdirectory from Linux
79kernel source and the supporting documentation.
80
81%description -l pl.UTF-8
82Ten pakiet zawiera oprogramowanie z podkatalogu tools/ ze źródeł jądra
83Linuksa oraz związaną z nim dokumentację.
49fba13a 84
4bc5704a
JK
85%package cpupower
86Summary: cpupower - Shows and sets processor power related values
bd620db3 87Summary(pl.UTF-8): cpupower - wyświetlanie i ustawianie wartości związanych z zużyciem energii przez procesor
4bc5704a 88Group: Applications/System
f57fcd71 89Requires(post,preun,postun): systemd-units >= 38
91fd1f55 90Requires: %{name}-cpupower-libs = %{version}-%{release}
f57fcd71 91Requires: systemd-units >= 0.38
2bd21e06 92Provides: cpupowerutils = 1:009-0.6.p1
2bd21e06
ER
93Obsoletes: cpupowerutils < 1:009-0.6.p1
94Obsoletes: cpuspeed < 1:1.5-16
4bc5704a
JK
95
96%description cpupower
60972f76
ER
97cpupower is a collection of tools to examine and tune power saving
98related features of your processor.
4bc5704a 99
bd620db3
JB
100%description cpupower -l pl.UTF-8
101cpupower to zbiór narzędzi do sprawdzania i ustawiania opcji procesora
102związanych z oszczędzaniem energii.
103
4bc5704a 104%package cpupower-libs
bd620db3
JB
105Summary: cpupower library
106Summary(pl.UTF-8): Biblioteka cpupower
49fba13a
ER
107Group: Libraries
108
4bc5704a 109%description cpupower-libs
bd620db3
JB
110cpupower library.
111
112%description cpupower-libs -l pl.UTF-8
113Biblioteka cpupower.
49fba13a 114
4bc5704a 115%package cpupower-libs-devel
bd620db3
JB
116Summary: Development files for the cpupower library
117Summary(pl.UTF-8): Pliki programistyczne biblioteki cpupower
49fba13a 118Group: Development/Libraries
178c4b31 119Requires: %{name}-cpupower-libs = %{version}-%{release}
49fba13a 120Provides: cpupowerutils-devel = 1:009-0.6.p1
49fba13a 121Obsoletes: cpupowerutils-devel < 1:009-0.6.p1
08be99c5 122Conflicts: cpufrequtils-devel
49fba13a 123
4bc5704a 124%description cpupower-libs-devel
bd620db3
JB
125Development files for the cpupower library.
126
127%description cpupower-libs-devel -l pl.UTF-8
128Pliki programistyczne biblioteki cpupower.
49fba13a 129
ae4c1fd4
JB
130%package perf
131Summary: perf profiler tool
132Summary(pl.UTF-8): Narzędzie profilujące perf
fea1e605 133Group: Applications/System
9efc8fed 134Suggests: binutils
ae4c1fd4
JB
135Obsoletes: perf-core
136Obsoletes: perf-slang
fea1e605 137
ae4c1fd4 138%description perf
fea1e605
ER
139Perf is a profiler tool for Linux 2.6+ based systems that abstracts
140away CPU hardware differences in Linux performance measurements and
141presents a simple commandline interface. Perf is based on the
142perf_events interface exported by recent versions of the Linux kernel.
143
ae4c1fd4 144This package contains core files, scripts and text interface (TUI).
db5f9ac9 145
ae4c1fd4 146%description perf -l pl.UTF-8
db5f9ac9
JB
147Perf to narzędzie profilujące dla systemów opartych na Linuksie 2.6+,
148odseparowujące od różnic sprzętowych między pomiarami wydajności w
149zależności od procesora oraz udostępniające prosty interfejs linii
150poleceń. Perf jest oparty na interfejsie perf_events eksportowanym
151przez nowe wersje jądra Linuksa.
152
ae4c1fd4
JB
153Ten pakiet zawiera podstawowe pliki, skrypty oraz interfejs tekstowy
154(TUI).
db5f9ac9 155
0a3bb9dd 156%package perf-vdso32
dda20c35
JB
157Summary: perf profiler tool - VDSO 32-bit ABI reader
158Summary(pl.UTF-8): Narzędzie profilujące perf - odczyt VDSO dla ABI 32-bitowego
0a3bb9dd
JR
159Group: Applications/System
160Requires: %{name}-perf = %{version}-%{release}
161
162%description perf-vdso32
163Perf is a profiler tool for Linux 2.6+ based systems that abstracts
164away CPU hardware differences in Linux performance measurements and
165presents a simple commandline interface. Perf is based on the
166perf_events interface exported by recent versions of the Linux kernel.
167
168This package contains perf-read-vdso32 tool for reading the 32-bit
169compatibility VDSO in 64-bit mode.
170
dda20c35
JB
171%description perf-vdso32 -l pl.UTF-8
172Perf to narzędzie profilujące dla systemów opartych na Linuksie 2.6+,
173odseparowujące od różnic sprzętowych między pomiarami wydajności w
174zależności od procesora oraz udostępniające prosty interfejs linii
175poleceń. Perf jest oparty na interfejsie perf_events eksportowanym
176przez nowe wersje jądra Linuksa.
177
178Ten pakiet zawiera narzędzie perf-read-vdso32 do odczytu VDSO dla
179binariów 32-bitowych w trybie 64-bitowym.
180
0a3bb9dd 181%package perf-vdsox32
dda20c35
JB
182Summary: perf profiler tool - VDSO x32 ABI reader
183Summary(pl.UTF-8): Narzędzie profilujące perf - odczyt VDSO dla ABI x32
0a3bb9dd
JR
184Group: Applications/System
185Requires: %{name}-perf = %{version}-%{release}
186
187%description perf-vdsox32
188Perf is a profiler tool for Linux 2.6+ based systems that abstracts
189away CPU hardware differences in Linux performance measurements and
190presents a simple commandline interface. Perf is based on the
191perf_events interface exported by recent versions of the Linux kernel.
192
193This package contains perf-read-vdso32 tool for reading the x32 mode
19432-bit compatibility VDSO in 64-bit mode.
195
dda20c35
JB
196%description perf-vdsox32 -l pl.UTF-8
197Perf to narzędzie profilujące dla systemów opartych na Linuksie 2.6+,
198odseparowujące od różnic sprzętowych między pomiarami wydajności w
199zależności od procesora oraz udostępniające prosty interfejs linii
200poleceń. Perf jest oparty na interfejsie perf_events eksportowanym
201przez nowe wersje jądra Linuksa.
202
203Ten pakiet zawiera narzędzie perf-read-vdso32 do odczytu VDSO dla
204binariów ABI x32 w trybie 64-bitowym.
205
db5f9ac9 206%package perf-gtk
ae4c1fd4
JB
207Summary: perf profiler tool (GTK+ 2 GUI)
208Summary(pl.UTF-8): Narzędzie profilujące perf (interfejs graficzny GTK+ 2)
db5f9ac9 209Group: X11/Applications
dad8cd2d 210Requires: %{name}-perf = %{version}-%{release}
db5f9ac9
JB
211
212%description perf-gtk
213Perf is a profiler tool for Linux 2.6+ based systems that abstracts
214away CPU hardware differences in Linux performance measurements and
215presents a simple commandline interface. Perf is based on the
216perf_events interface exported by recent versions of the Linux kernel.
217
ae4c1fd4 218This package contains GTK+ 2 based GUI.
db5f9ac9
JB
219
220%description perf-gtk -l pl.UTF-8
221Perf to narzędzie profilujące dla systemów opartych na Linuksie 2.6+,
222odseparowujące od różnic sprzętowych między pomiarami wydajności w
223zależności od procesora oraz udostępniające prosty interfejs linii
224poleceń. Perf jest oparty na interfejsie perf_events eksportowanym
225przez nowe wersje jądra Linuksa.
226
ae4c1fd4 227Ten pakiet zawiera graficzny interfejs oparty na GTK+ 2.
db5f9ac9 228
db5f9ac9
JB
229%package -n bash-completion-perf
230Summary: Bash completion for perf command
231Summary(pl.UTF-8): Bashowe uzupełnianie parametrów dla polecenia perf
232Group: Applications/Shells
3385eb86 233Requires: %{name}-perf
db5f9ac9 234Requires: bash-completion
741b96de
ER
235%if "%{_rpmversion}" >= "5"
236BuildArch: noarch
237%endif
db5f9ac9
JB
238
239%description -n bash-completion-perf
240Bash completion for perf command.
241
242%description -n bash-completion-perf -l pl.UTF-8
243Bashowe uzupełnianie parametrów dla polecenia perf.
244
49fba13a
ER
245%prep
246%setup -qc
247cd linux-%{basever}
248
249%if "%{postver}" != ".0"
250%patch0 -p1
251%endif
252
bedc6c43
JR
253%patch1 -p1
254
eb373af4
AM
255sed -i -e 's#libexec/perf-core#%{_datadir}/perf-core#g' tools/perf/config/Makefile
256
49fba13a
ER
257%build
258cd linux-%{basever}
259
b1f08c11
ER
260# Simple Disk Sleep Monitor
261%{__cc} %{rpmcppflags} %{rpmcflags} %{rpmldflags} Documentation/laptops/dslm.c -o dslm
262
49fba13a
ER
263# cpupower
264%{__make} -C tools/power/cpupower \
60972f76 265 %{makeopts} \
fb1ff9fc
JB
266 CPUFREQ_BENCH=false \
267 OPTIMIZATION="%{rpmcflags}" \
268 STRIPCMD=true
49fba13a 269
bedc6c43 270%ifarch %{ix86} x32
49fba13a 271%{__make} -C tools/power/cpupower/debug/i386 centrino-decode powernow-k8-decode \
fb1ff9fc
JB
272 CC="%{__cc}" \
273 CFLAGS="%{rpmcflags}"
49fba13a
ER
274%endif
275
bedc6c43 276%ifarch %{x8664} x32
49fba13a 277%{__make} -C tools/power/cpupower/debug/x86_64 centrino-decode powernow-k8-decode \
fb1ff9fc
JB
278 CC="%{__cc}" \
279 CFLAGS="%{rpmcflags}"
49fba13a
ER
280%endif
281
bedc6c43 282%ifarch %{ix86} %{x8664} x32
49fba13a 283%{__make} -C tools/power/x86/x86_energy_perf_policy \
fb1ff9fc
JB
284 CC="%{__cc}" \
285 CFLAGS="%{rpmcflags}"
4b352448 286CFLAGS="%{rpmcflags}" \
49fba13a 287%{__make} -C tools/power/x86/turbostat \
4b352448 288 CC="%{__cc}"
49fba13a
ER
289%endif
290
dbaf19f8
JB
291%{__make} -C tools/lib/api \
292 CC="%{__cc}" \
293 EXTRA_CFLAGS="%{rpmcflags}"
294
f111fe43
JK
295# page-types, slabinfo
296%{__make} -C tools/vm page-types slabinfo \
701b458f 297 CC="%{__cc}" \
f111fe43 298 CFLAGS="%{rpmcflags} -Wall -Wextra -I../lib"
701b458f 299
fea1e605 300%if %{with perf}
52583efa 301%{__make} -C tools/perf all man \
4dfb9dde
JR
302%ifarch %{x8664}
303 IS_X86_64=1 \
a5af5310 304 %{!?with_multilib:NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1} \
4dfb9dde 305%endif
ae4c1fd4 306 %{!?with_gtk:NO_GTK2=1} \
5a8bbd03 307 %{!?with_libunwind:NO_LIBUNWIND=1} \
60972f76 308 %{makeopts} \
fb1ff9fc 309 CFLAGS_OPTIMIZE="%{rpmcflags}" \
d0e13ec9 310 WERROR=0 \
fea1e605
ER
311 prefix=%{_prefix} \
312 perfexecdir=%{_datadir}/perf-core \
4f4642fc 313 lib=%{_lib} \
fea1e605 314 template_dir=%{_datadir}/perf-core/templates
bc35d286 315%endif
fea1e605 316
dd28be58
JK
317# gen_init_cpio
318%{__make} -C usr gen_init_cpio \
60972f76 319 %{makeopts} \
fb1ff9fc 320 CFLAGS="%{rpmcflags}"
dd28be58 321
49fba13a
ER
322%install
323rm -rf $RPM_BUILD_ROOT
b1f08c11 324
49fba13a 325cd linux-%{basever}
b1f08c11 326install -d $RPM_BUILD_ROOT%{_sbindir}
49fba13a 327
bd620db3 328%{__make} -C tools/power/cpupower install \
49fba13a
ER
329 DESTDIR=$RPM_BUILD_ROOT \
330 libdir=%{_libdir} \
331 mandir=%{_mandir} \
332 CPUFREQ_BENCH=false
333
334%find_lang cpupower
335mv cpupower.lang ..
336
f57fcd71
ER
337install -d $RPM_BUILD_ROOT{/etc/sysconfig,%{systemdunitdir}}
338cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdunitdir}/cpupower.service
339cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/cpupower
340
bedc6c43 341%ifarch %{ix86} x32
701b458f 342install -p tools/power/cpupower/debug/i386/{centrino,powernow-k8}-decode $RPM_BUILD_ROOT%{_bindir}
49fba13a 343%endif
bedc6c43 344%ifarch %{x8664} x32
701b458f 345install -p tools/power/cpupower/debug/x86_64/{centrino,powernow-k8}-decode $RPM_BUILD_ROOT%{_bindir}
49fba13a
ER
346%endif
347
b1f08c11 348install -p tools/vm/slabinfo $RPM_BUILD_ROOT%{_bindir}
f111fe43 349install -p tools/vm/page-types $RPM_BUILD_ROOT%{_sbindir}
b1f08c11 350install -p dslm $RPM_BUILD_ROOT%{_sbindir}
701b458f 351
bedc6c43 352%ifarch %{ix86} %{x8664} x32
49fba13a 353install -d $RPM_BUILD_ROOT%{_mandir}/man8
a5af5310 354%{__make} -C tools/power/x86/x86_energy_perf_policy install \
49fba13a 355 DESTDIR=$RPM_BUILD_ROOT
49fba13a 356
a5af5310 357%{__make} -C tools/power/x86/turbostat install \
49fba13a 358 DESTDIR=$RPM_BUILD_ROOT
49fba13a 359%endif
fea1e605
ER
360
361%if %{with perf}
a5af5310 362%{__make} -C tools/perf -j1 install install-man \
4dfb9dde
JR
363%ifarch %{x8664}
364 IS_X86_64=1 \
a5af5310 365 %{!?with_multilib:NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1} \
4dfb9dde 366%endif
ae4c1fd4 367 %{!?with_gtk:NO_GTK2=1} \
5a8bbd03 368 %{!?with_libunwind:NO_LIBUNWIND=1} \
fea1e605 369 CC="%{__cc}" \
fb1ff9fc 370 CFLAGS_OPTIMIZE="%{rpmcflags}" \
6e9d46c8 371 WERROR=0 \
fea1e605
ER
372 %{?with_verbose:V=1} \
373 prefix=%{_prefix} \
374 perfexecdir=%{_datadir}/perf-core \
375 template_dir=%{_datadir}/perf-core/templates \
4f4642fc 376 lib=%{_lib} \
fea1e605 377 DESTDIR=$RPM_BUILD_ROOT
db5f9ac9
JB
378
379%py_comp $RPM_BUILD_ROOT%{_datadir}/perf-core/scripts/python
380%py_ocomp $RPM_BUILD_ROOT%{_datadir}/perf-core/scripts/python
a8b28c3a 381
4b352448 382%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/perf-core/tests
49fba13a
ER
383%endif
384
dd28be58 385# gen_init_cpio
60972f76 386install -p usr/gen_init_cpio $RPM_BUILD_ROOT%{_bindir}/gen_init_cpio
dd28be58 387
49fba13a
ER
388%clean
389rm -rf $RPM_BUILD_ROOT
390
4bc5704a
JK
391%post cpupower-libs -p /sbin/ldconfig
392%postun cpupower-libs -p /sbin/ldconfig
49fba13a 393
f57fcd71
ER
394%post cpupower
395%systemd_post cpupower.service
396
397%preun cpupower
398%systemd_preun cpupower.service
399
400%postun cpupower
401%systemd_reload
402
4bc5704a 403%files
49fba13a 404%defattr(644,root,root,755)
701b458f
JB
405%attr(755,root,root) %{_bindir}/gen_init_cpio
406%attr(755,root,root) %{_bindir}/slabinfo
b1f08c11 407%attr(755,root,root) %{_sbindir}/dslm
f111fe43 408%attr(755,root,root) %{_sbindir}/page-types
bedc6c43 409%ifarch %{ix86} %{x8664} x32
49fba13a
ER
410%attr(755,root,root) %{_bindir}/centrino-decode
411%attr(755,root,root) %{_bindir}/powernow-k8-decode
412%endif
bedc6c43 413%ifarch %{ix86} %{x8664} x32
49fba13a
ER
414%attr(755,root,root) %{_bindir}/turbostat
415%attr(755,root,root) %{_bindir}/x86_energy_perf_policy
bd620db3
JB
416%{_mandir}/man8/turbostat.8*
417%{_mandir}/man8/x86_energy_perf_policy.8*
49fba13a
ER
418%endif
419
4bc5704a
JK
420%files cpupower -f cpupower.lang
421%defattr(644,root,root,755)
422%attr(755,root,root) %{_bindir}/cpupower
bd620db3 423%{_mandir}/man1/cpupower*.1*
f57fcd71
ER
424%{systemdunitdir}/cpupower.service
425%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/cpupower
4bc5704a
JK
426
427%files cpupower-libs
49fba13a
ER
428%defattr(644,root,root,755)
429%attr(755,root,root) %{_libdir}/libcpupower.so.*.*.*
bd620db3 430%attr(755,root,root) %ghost %{_libdir}/libcpupower.so.0
49fba13a 431
4bc5704a 432%files cpupower-libs-devel
49fba13a 433%defattr(644,root,root,755)
bd620db3 434%attr(755,root,root) %{_libdir}/libcpupower.so
49fba13a 435%{_includedir}/cpufreq.h
dbaf19f8 436%{_includedir}/cpuidle.h
fea1e605
ER
437
438%if %{with perf}
ae4c1fd4 439%files perf
fea1e605 440%defattr(644,root,root,755)
35be6466 441%attr(755,root,root) %{_bindir}/perf
ae4c1fd4 442%attr(755,root,root) %{_bindir}/trace
fea1e605
ER
443%{_mandir}/man1/perf*.1*
444%dir %{_datadir}/perf-core
445%attr(755,root,root) %{_datadir}/perf-core/perf-archive
4f4642fc 446%attr(755,root,root) %{_datadir}/perf-core/perf-with-kcore
fea1e605
ER
447
448%dir %{_datadir}/perf-core/scripts
449
450%dir %{_datadir}/perf-core/scripts/perl
451%dir %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util
452%dir %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util/lib
453%dir %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util/lib/Perf
454%dir %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util/lib/Perf/Trace
455%{_datadir}/perf-core/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/*.pm
456%dir %{_datadir}/perf-core/scripts/perl/bin
457%attr(755,root,root) %{_datadir}/perf-core/scripts/perl/bin/*
458%{_datadir}/perf-core/scripts/perl/*.pl
459
460%dir %{_datadir}/perf-core/scripts/python
461%dir %{_datadir}/perf-core/scripts/python/Perf-Trace-Util
462%dir %{_datadir}/perf-core/scripts/python/Perf-Trace-Util/lib
463%dir %{_datadir}/perf-core/scripts/python/Perf-Trace-Util/lib/Perf
464%dir %{_datadir}/perf-core/scripts/python/Perf-Trace-Util/lib/Perf/Trace
db5f9ac9 465%{_datadir}/perf-core/scripts/python/Perf-Trace-Util/lib/Perf/Trace/*.py*
fea1e605
ER
466%dir %{_datadir}/perf-core/scripts/python/bin
467%attr(755,root,root) %{_datadir}/perf-core/scripts/python/bin/*
db5f9ac9
JB
468%{_datadir}/perf-core/scripts/python/*.py*
469
eb373af4
AM
470%dir %{_libdir}/traceevent
471%dir %{_libdir}/traceevent/plugins
472%attr(755,root,root) %{_libdir}/traceevent/plugins/plugin_*.so
473
a5af5310 474%if %{with multilib}
0a3bb9dd
JR
475%files perf-vdso32
476%defattr(644,root,root,755)
477%attr(755,root,root) %{_bindir}/perf-read-vdso32
478
479%files perf-vdsox32
480%defattr(644,root,root,755)
481%attr(755,root,root) %{_bindir}/perf-read-vdsox32
482%endif
483
bc35d286 484%if %{with gtk}
db5f9ac9
JB
485%files perf-gtk
486%defattr(644,root,root,755)
ae4c1fd4 487%attr(755,root,root) %{_libdir}/libperf-gtk.so
bc35d286 488%endif
db5f9ac9 489
db5f9ac9
JB
490%files -n bash-completion-perf
491%defattr(644,root,root,755)
492/etc/bash_completion.d/perf
fea1e605 493%endif
This page took 0.128804 seconds and 4 git commands to generate.