2 # - redefine: PACKAGE_BUGREPORT=cpufreq@vger.kernel.org
3 # - add -n python-perf?
4 # - add bcond to disable building docs (perf docs)
5 # - install of perf links perf binary again
8 %bcond_without verbose # verbose build (V=1)
9 %bcond_without cpupower # cpupower tools
10 %bcond_without perf # perf tools
11 %bcond_without gtk # GTK+ 2.x perf support
12 %bcond_without libunwind # libunwind perf support
13 %bcond_without multilib # multilib perf support
14 %bcond_without usbip # usbip utils
17 %undefine with_libunwind
20 %undefine with_multilib
25 Summary: Assortment of tools for the Linux kernel
26 Summary(pl.UTF-8): Zestaw narzędzi dla jądra Linuksa
28 Version: %{basever}%{postver}
31 Group: Applications/System
32 Source0: https://www.kernel.org/pub/linux/kernel/v4.x/linux-%{basever}.tar.xz
33 # Source0-md5: bacdb9ffdcd922aa069a5e1520160e24
34 Source1: cpupower.service
35 Source2: cpupower.config
36 %if "%{postver}" != ".0"
37 Patch0: https://www.kernel.org/pub/linux/kernel/v4.x/patch-%{version}.xz
38 # Patch0-md5: de16c219ce4548d63ff7d6c670340a9e
41 Patch3: %{name}-perf-update.patch
42 Patch4: binutils-2.29.patch
43 URL: http://www.kernel.org/
46 BuildRequires: gettext-tools
47 BuildRequires: linux-libc-headers >= 7:4.12
48 BuildRequires: ncurses-devel
49 BuildRequires: pciutils-devel
50 BuildRequires: pkgconfig
51 BuildRequires: rpmbuild(macros) >= 1.647
52 BuildRequires: tar >= 1:1.22
55 BuildRequires: asciidoc
56 BuildRequires: audit-libs-devel
57 BuildRequires: binutils-devel >= 4:2.29
58 BuildRequires: docbook-dtd45-xml
59 BuildRequires: docbook-style-xsl
60 BuildRequires: elfutils-devel
62 BuildRequires: gcc-multilib-32
63 BuildRequires: gcc-multilib-x32
65 %{?with_libunwind:BuildRequires: libunwind-devel >= 0.99}
66 BuildRequires: numactl-devel
67 BuildRequires: perl-devel >= 5.1
68 BuildRequires: python-devel
69 BuildRequires: rpm-pythonprov
70 BuildRequires: slang-devel
73 BuildRequires: gtk+2-devel >= 2.0
77 BuildRequires: autoconf >= 2.59
78 BuildRequires: automake >= 1:1.9
79 BuildRequires: gcc >= 6:4.0
80 BuildRequires: libtool >= 2:2
81 BuildRequires: libwrap-devel
82 BuildRequires: udev-devel
84 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
86 # otherwise /usr/lib/rpm/bin/debugedit: canonicalization unexpectedly shrank by one character
87 %define _enable_debug_packages 0
89 %define makeopts CC="%{__cc}" %{?with_verbose:V=1}
92 This package contains the software from tools/ subdirectory from Linux
93 kernel source and the supporting documentation.
95 %description -l pl.UTF-8
96 Ten pakiet zawiera oprogramowanie z podkatalogu tools/ ze źródeł jądra
97 Linuksa oraz związaną z nim dokumentację.
100 Summary: cpupower - Shows and sets processor power related values
101 Summary(pl.UTF-8): cpupower - wyświetlanie i ustawianie wartości związanych z zużyciem energii przez procesor
102 Group: Applications/System
103 Requires(post,preun,postun): systemd-units >= 38
104 Requires: %{name}-cpupower-libs = %{version}-%{release}
105 Requires: systemd-units >= 0.38
106 Provides: cpupowerutils = 1:009-0.6.p1
107 Obsoletes: cpupowerutils < 1:009-0.6.p1
108 Obsoletes: cpuspeed < 1:1.5-16
110 %description cpupower
111 cpupower is a collection of tools to examine and tune power saving
112 related features of your processor.
114 %description cpupower -l pl.UTF-8
115 cpupower to zbiór narzędzi do sprawdzania i ustawiania opcji procesora
116 związanych z oszczędzaniem energii.
118 %package cpupower-libs
119 Summary: cpupower library
120 Summary(pl.UTF-8): Biblioteka cpupower
123 %description cpupower-libs
126 %description cpupower-libs -l pl.UTF-8
129 %package cpupower-libs-devel
130 Summary: Development files for the cpupower library
131 Summary(pl.UTF-8): Pliki programistyczne biblioteki cpupower
132 Group: Development/Libraries
133 Requires: %{name}-cpupower-libs = %{version}-%{release}
134 Provides: cpupowerutils-devel = 1:009-0.6.p1
135 Obsoletes: cpupowerutils-devel < 1:009-0.6.p1
136 Conflicts: cpufrequtils-devel
138 %description cpupower-libs-devel
139 Development files for the cpupower library.
141 %description cpupower-libs-devel -l pl.UTF-8
142 Pliki programistyczne biblioteki cpupower.
145 Summary: Hyper-V virtualization tools
146 Summary(pl.UTF-8): Narzędzia do wirtualizacji Hyper-V
147 Group: Applications/System
150 Hyper-V virtualization tools.
152 %description hv -l pl.UTF-8
153 Narzędzia do wirtualizacji Hyper-V.
156 Summary: perf profiler tool
157 Summary(pl.UTF-8): Narzędzie profilujące perf
158 Group: Applications/System
161 Obsoletes: perf-slang
164 Perf is a profiler tool for Linux 2.6+ based systems that abstracts
165 away CPU hardware differences in Linux performance measurements and
166 presents a simple commandline interface. Perf is based on the
167 perf_events interface exported by recent versions of the Linux kernel.
169 This package contains core files, scripts and text interface (TUI).
171 %description perf -l pl.UTF-8
172 Perf to narzędzie profilujące dla systemów opartych na Linuksie 2.6+,
173 odseparowujące od różnic sprzętowych między pomiarami wydajności w
174 zależności od procesora oraz udostępniające prosty interfejs linii
175 poleceń. Perf jest oparty na interfejsie perf_events eksportowanym
176 przez nowe wersje jądra Linuksa.
178 Ten pakiet zawiera podstawowe pliki, skrypty oraz interfejs tekstowy
182 Summary: perf profiler tool - VDSO 32-bit ABI reader
183 Summary(pl.UTF-8): Narzędzie profilujące perf - odczyt VDSO dla ABI 32-bitowego
184 Group: Applications/System
185 Requires: %{name}-perf = %{version}-%{release}
187 %description perf-vdso32
188 Perf is a profiler tool for Linux 2.6+ based systems that abstracts
189 away CPU hardware differences in Linux performance measurements and
190 presents a simple commandline interface. Perf is based on the
191 perf_events interface exported by recent versions of the Linux kernel.
193 This package contains perf-read-vdso32 tool for reading the 32-bit
194 compatibility VDSO in 64-bit mode.
196 %description perf-vdso32 -l pl.UTF-8
197 Perf to narzędzie profilujące dla systemów opartych na Linuksie 2.6+,
198 odseparowujące od różnic sprzętowych między pomiarami wydajności w
199 zależności od procesora oraz udostępniające prosty interfejs linii
200 poleceń. Perf jest oparty na interfejsie perf_events eksportowanym
201 przez nowe wersje jądra Linuksa.
203 Ten pakiet zawiera narzędzie perf-read-vdso32 do odczytu VDSO dla
204 binariów 32-bitowych w trybie 64-bitowym.
206 %package perf-vdsox32
207 Summary: perf profiler tool - VDSO x32 ABI reader
208 Summary(pl.UTF-8): Narzędzie profilujące perf - odczyt VDSO dla ABI x32
209 Group: Applications/System
210 Requires: %{name}-perf = %{version}-%{release}
212 %description perf-vdsox32
213 Perf is a profiler tool for Linux 2.6+ based systems that abstracts
214 away CPU hardware differences in Linux performance measurements and
215 presents a simple commandline interface. Perf is based on the
216 perf_events interface exported by recent versions of the Linux kernel.
218 This package contains perf-read-vdso32 tool for reading the x32 mode
219 32-bit compatibility VDSO in 64-bit mode.
221 %description perf-vdsox32 -l pl.UTF-8
222 Perf to narzędzie profilujące dla systemów opartych na Linuksie 2.6+,
223 odseparowujące od różnic sprzętowych między pomiarami wydajności w
224 zależności od procesora oraz udostępniające prosty interfejs linii
225 poleceń. Perf jest oparty na interfejsie perf_events eksportowanym
226 przez nowe wersje jądra Linuksa.
228 Ten pakiet zawiera narzędzie perf-read-vdso32 do odczytu VDSO dla
229 binariów ABI x32 w trybie 64-bitowym.
232 Summary: perf profiler tool (GTK+ 2 GUI)
233 Summary(pl.UTF-8): Narzędzie profilujące perf (interfejs graficzny GTK+ 2)
234 Group: X11/Applications
235 Requires: %{name}-perf = %{version}-%{release}
237 %description perf-gtk
238 Perf is a profiler tool for Linux 2.6+ based systems that abstracts
239 away CPU hardware differences in Linux performance measurements and
240 presents a simple commandline interface. Perf is based on the
241 perf_events interface exported by recent versions of the Linux kernel.
243 This package contains GTK+ 2 based GUI.
245 %description perf-gtk -l pl.UTF-8
246 Perf to narzędzie profilujące dla systemów opartych na Linuksie 2.6+,
247 odseparowujące od różnic sprzętowych między pomiarami wydajności w
248 zależności od procesora oraz udostępniające prosty interfejs linii
249 poleceń. Perf jest oparty na interfejsie perf_events eksportowanym
250 przez nowe wersje jądra Linuksa.
252 Ten pakiet zawiera graficzny interfejs oparty na GTK+ 2.
254 %package -n bash-completion-perf
255 Summary: Bash completion for perf command
256 Summary(pl.UTF-8): Bashowe uzupełnianie parametrów dla polecenia perf
257 Group: Applications/Shells
258 Requires: %{name}-perf
259 Requires: bash-completion
260 %if "%{_rpmversion}" >= "5"
264 %description -n bash-completion-perf
265 Bash completion for perf command.
267 %description -n bash-completion-perf -l pl.UTF-8
268 Bashowe uzupełnianie parametrów dla polecenia perf.
271 Summary: USB device sharing system over IP network
272 Summary(pl.UTF-8): System współdzielenia urządzeń USB po sieci IP
273 Group: Networking/Utilities
274 Requires: usbip-libs = %{version}-%{release}
275 # /lib/hwdata/usb.ids (note: only uncompressed file supported)
276 Requires: hwdata >= 0.243-2
278 %description -n usbip
279 The USB/IP Project aims to develop a general USB device sharing system
280 over IP network. To share USB devices between computers with their
281 full functionality, USB/IP encapsulates "USB requests" into IP packets
282 and transmits them between computers. Original USB device drivers and
283 applications can be also used for remote USB devices without any
284 modification of them. A computer can use remote USB devices as if they
285 were directly attached; for example, we can:
286 - USB storage devices: fdisk, mkfs, mount/umount, file operations,
287 play a DVD movie and record a DVD-R media.
288 - USB keyboards and USB mice: use with Linux console and X Window
290 - USB webcams and USB speakers: view webcam, capture image data and
292 - USB printers, USB scanners, USB serial converters and USB Ethernet
293 interfaces: ok, use fine.
295 %description -n usbip -l pl.UTF-8
296 Projekt USB/IP ma na celu stworzenie ogólnego systemu współdzielenia
297 urządzeń USB po sieci IP. W celu współdzielenia urządzeń USB między
298 komputerami z zachowaniem pełnej funkcjonalności, USB/IP obudowuje
299 żądania SUB w pakiety IP i przesyła je między komputerami. Oryginalne
300 sterowniki urządzeń USB oraz aplikacje mogą być używane bez żadnych
301 modyfikacji. Komputer może wykorzystywać zdaln urządzenia USB tak,
302 jakby były podłączone bezpośrednio. Przykładowe możliwości:
303 - urządzenia USB do przechowywania danych: można używać programów
304 fdisk, mkfs, mount/umount, operacji na plikach, odtwarzać filmy
305 DVD oraz nagrywać nośniki DVD-R
306 - klawiatury i myszy USB: można ich używać na linuksowej konsoli oraz
308 - kamery i głośniki USB: można oglądać obraz z kamery, robić zdjęcia
310 - drukarki, skanery, konwertery portów szeregowych oraz interfejsy
311 sieciowe USB: można ich normalnie używać
313 %package -n usbip-libs
314 Summary: USB/IP library
315 Summary(pl.UTF-8): Biblioteka USB/IP
318 %description -n usbip-libs
321 %description -n usbip-libs -l pl.UTF-8
322 Biblioteka USB po IP.
324 %package -n usbip-devel
325 Summary: Header files for usbip library
326 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki usbip
327 Group: Development/Libraries
328 Requires: usbip-libs = %{version}-%{release}
330 %description -n usbip-devel
331 This package contains the header files needed to develop programs
332 which make use of USB/IP.
334 %description -n usbip-devel -l pl.UTF-8
335 Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
336 wykorzystujących USB/IP.
338 %package -n usbip-static
339 Summary: Static usbip library
340 Summary(pl.UTF-8): Statyczna biblioteka usbip
341 Group: Development/Libraries
342 Requires: usbip-devel = %{version}-%{release}
344 %description -n usbip-static
345 Static usbip library.
347 %description -n usbip-static -l pl.UTF-8
348 Statyczna biblioteka usbip.
354 %if "%{postver}" != ".0"
362 %{__sed} -i -e '/^CFLAGS = /s/ -g / $(OPTFLAGS) /' tools/hv/Makefile
363 %{__sed} -i -e '/^CFLAGS+=/s/ -O1 / $(OPTFLAGS) /' tools/thermal/tmon/Makefile
364 %{__sed} -i -e 's#libexec/perf-core#%{_datadir}/perf-core#g' tools/perf/Makefile.config
369 # Simple Disk Sleep Monitor
370 %{__make} -C tools/laptop/dslm \
372 EXTRA_CFLAGS="%{rpmcflags}"
374 # tools common (used eg. by tools/vm)
375 %{__make} -C tools/lib/api \
377 EXTRA_CFLAGS="%{rpmcflags}"
380 CFLAGS="%{rpmcflags}" \
381 %{__make} -C tools/gpio -j1 \
384 # HyperV is Windows based, x86 specific
385 %ifarch %{ix86} %{x8664} x32
386 %{__make} -C tools/hv \
388 OPTFLAGS="%{rpmcflags}"
391 CFLAGS="%{rpmcflags}" \
392 %{__make} -C tools/iio -j1 \
395 %{__make} -C tools/laptop/freefall \
397 CFLAGS="%{rpmcflags}"
399 CFLAGS="%{rpmcflags}" \
400 %{__make} -C tools/net \
405 %{__make} -C tools/perf all man \
408 %{!?with_multilib:NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1} \
410 %{!?with_gtk:NO_GTK2=1} \
411 %{!?with_libunwind:NO_LIBUNWIND=1} \
413 CFLAGS_OPTIMIZE="%{rpmcflags}" \
416 perfexecdir=%{_datadir}/perf-core \
418 template_dir=%{_datadir}/perf-core/templates
423 %{__make} -C tools/power/cpupower \
425 CPUFREQ_BENCH=false \
426 OPTIMIZATION="%{rpmcflags}" \
430 %{__make} -C tools/power/cpupower/debug/i386 centrino-decode powernow-k8-decode \
432 CFLAGS="%{rpmcflags}"
436 %{__make} -C tools/power/cpupower/debug/x86_64 centrino-decode powernow-k8-decode \
438 CFLAGS="%{rpmcflags}"
442 %ifarch %{ix86} %{x8664} x32
443 CFLAGS="%{rpmcflags}" \
444 %{__make} -C tools/power/x86/x86_energy_perf_policy \
447 CFLAGS="%{rpmcflags}" \
448 %{__make} -C tools/power/x86/turbostat \
452 %{__make} -C tools/thermal/tmon \
454 OPTFLAGS="%{rpmcflags}"
465 --disable-silent-rules \
466 --with-usbids-dir=/lib/hwdata
471 # page-types, slabinfo
472 %{__make} -C tools/vm page-types slabinfo \
474 CFLAGS="%{rpmcflags} -Wall -Wextra -I../lib"
477 %{__make} -C usr gen_init_cpio \
479 CFLAGS="%{rpmcflags}"
482 rm -rf $RPM_BUILD_ROOT
487 %{__make} -C tools/power/cpupower install \
488 DESTDIR=$RPM_BUILD_ROOT \
496 install -d $RPM_BUILD_ROOT{/etc/sysconfig,%{systemdunitdir}}
497 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdunitdir}/cpupower.service
498 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/cpupower
501 install -p tools/power/cpupower/debug/i386/{centrino,powernow-k8}-decode $RPM_BUILD_ROOT%{_bindir}
504 install -p tools/power/cpupower/debug/x86_64/{centrino,powernow-k8}-decode $RPM_BUILD_ROOT%{_bindir}
509 %{__make} -C tools/perf -j1 install install-man \
512 %{!?with_multilib:NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1} \
514 %{!?with_gtk:NO_GTK2=1} \
515 %{!?with_libunwind:NO_LIBUNWIND=1} \
517 CFLAGS_OPTIMIZE="%{rpmcflags}" \
519 %{?with_verbose:V=1} \
521 perfexecdir=%{_datadir}/perf-core \
522 template_dir=%{_datadir}/perf-core/templates \
524 DESTDIR=$RPM_BUILD_ROOT
526 %py_comp $RPM_BUILD_ROOT%{_datadir}/perf-core/scripts/python
527 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/perf-core/scripts/python
529 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/perf-core/tests
533 %{__make} -C tools/usb/usbip install \
534 DESTDIR=$RPM_BUILD_ROOT
536 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libusbip.la
539 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man8}
541 install -p tools/laptop/dslm/dslm $RPM_BUILD_ROOT%{_sbindir}
543 install -p tools/gpio/lsgpio $RPM_BUILD_ROOT%{_bindir}
545 %ifarch %{ix86} %{x8664} x32
546 install -p tools/hv/hv_{fcopy,kvp,vss}_daemon $RPM_BUILD_ROOT%{_sbindir}
547 # TODO: PLD-specific hv_get_dhcp_info,hv_get_dns_info,hv_set_ifconfig
548 %{__sed} -e '1s,/usr/bin/env python,%{__python},' tools/hv/lsvmbus >$RPM_BUILD_ROOT%{_bindir}/lsvmbus
549 chmod 755 $RPM_BUILD_ROOT%{_bindir}/lsvmbus
552 install -p tools/iio/{iio_event_monitor,iio_generic_buffer,lsiio} $RPM_BUILD_ROOT%{_bindir}
554 install -p tools/laptop/freefall/freefall $RPM_BUILD_ROOT%{_sbindir}
556 install -p tools/net/{bpf_asm,bpf_dbg,bpf_jit_disasm} $RPM_BUILD_ROOT%{_bindir}
558 install -p tools/thermal/tmon/tmon $RPM_BUILD_ROOT%{_bindir}
559 cp -p tools/thermal/tmon/tmon.8 $RPM_BUILD_ROOT%{_mandir}/man8
561 install -p tools/vm/slabinfo $RPM_BUILD_ROOT%{_bindir}
562 install -p tools/vm/page-types $RPM_BUILD_ROOT%{_sbindir}
564 %ifarch %{ix86} %{x8664} x32
565 install -d $RPM_BUILD_ROOT%{_mandir}/man8
566 %{__make} -C tools/power/x86/x86_energy_perf_policy install \
567 DESTDIR=$RPM_BUILD_ROOT
569 %{__make} -C tools/power/x86/turbostat install \
570 DESTDIR=$RPM_BUILD_ROOT
574 install -p usr/gen_init_cpio $RPM_BUILD_ROOT%{_bindir}/gen_init_cpio
577 rm -rf $RPM_BUILD_ROOT
579 %post cpupower-libs -p /sbin/ldconfig
580 %postun cpupower-libs -p /sbin/ldconfig
583 %systemd_post cpupower.service
586 %systemd_preun cpupower.service
591 %post -n usbip-libs -p /sbin/ldconfig
592 %postun -n usbip-libs -p /sbin/ldconfig
595 %defattr(644,root,root,755)
596 %attr(755,root,root) %{_bindir}/bpf_asm
597 %attr(755,root,root) %{_bindir}/bpf_dbg
598 %attr(755,root,root) %{_bindir}/bpf_jit_disasm
599 %attr(755,root,root) %{_bindir}/gen_init_cpio
600 %attr(755,root,root) %{_bindir}/iio_event_monitor
601 %attr(755,root,root) %{_bindir}/iio_generic_buffer
602 %attr(755,root,root) %{_bindir}/lsgpio
603 %attr(755,root,root) %{_bindir}/lsiio
604 %attr(755,root,root) %{_bindir}/slabinfo
605 %attr(755,root,root) %{_bindir}/tmon
606 %attr(755,root,root) %{_sbindir}/dslm
607 %attr(755,root,root) %{_sbindir}/freefall
608 %attr(755,root,root) %{_sbindir}/page-types
609 %{_mandir}/man8/tmon.8*
610 %ifarch %{ix86} %{x8664} x32
611 %attr(755,root,root) %{_bindir}/centrino-decode
612 %attr(755,root,root) %{_bindir}/powernow-k8-decode
614 %ifarch %{ix86} %{x8664} x32
615 %attr(755,root,root) %{_bindir}/turbostat
616 %attr(755,root,root) %{_bindir}/x86_energy_perf_policy
617 %{_mandir}/man8/turbostat.8*
618 %{_mandir}/man8/x86_energy_perf_policy.8*
621 %files cpupower -f cpupower.lang
622 %defattr(644,root,root,755)
623 %attr(755,root,root) %{_bindir}/cpupower
624 %{_mandir}/man1/cpupower*.1*
625 %{systemdunitdir}/cpupower.service
626 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/cpupower
629 %defattr(644,root,root,755)
630 %attr(755,root,root) %{_libdir}/libcpupower.so.*.*.*
631 %attr(755,root,root) %ghost %{_libdir}/libcpupower.so.0
633 %files cpupower-libs-devel
634 %defattr(644,root,root,755)
635 %attr(755,root,root) %{_libdir}/libcpupower.so
636 %{_includedir}/cpufreq.h
637 %{_includedir}/cpuidle.h
639 %ifarch %{ix86} %{x8664} x32
641 %defattr(644,root,root,755)
642 # TODO: PLDify these scripts and move to bindir
643 %doc linux-%{basever}/tools/hv/hv_{get_dhcp_info,get_dns_info,set_ifconfig}.sh
644 %attr(755,root,root) %{_bindir}/lsvmbus
645 %attr(755,root,root) %{_sbindir}/hv_fcopy_daemon
646 %attr(755,root,root) %{_sbindir}/hv_kvp_daemon
647 %attr(755,root,root) %{_sbindir}/hv_vss_daemon
652 %defattr(644,root,root,755)
653 %attr(755,root,root) %{_bindir}/perf
654 %attr(755,root,root) %{_bindir}/trace
655 %{_mandir}/man1/perf*.1*
656 %dir %{_datadir}/perf-core
657 %attr(755,root,root) %{_datadir}/perf-core/perf-archive
658 %attr(755,root,root) %{_datadir}/perf-core/perf-with-kcore
660 %dir %{_datadir}/perf-core/scripts
662 %dir %{_datadir}/perf-core/scripts/perl
663 %dir %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util
664 %dir %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util/lib
665 %dir %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util/lib/Perf
666 %dir %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util/lib/Perf/Trace
667 %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/*.pm
668 %dir %{_datadir}/perf-core/scripts/perl/bin
669 %attr(755,root,root) %{_datadir}/perf-core/scripts/perl/bin/*
670 %{_datadir}/perf-core/scripts/perl/*.pl
672 %dir %{_datadir}/perf-core/scripts/python
673 %dir %{_datadir}/perf-core/scripts/python/Perf-Trace-Util
674 %dir %{_datadir}/perf-core/scripts/python/Perf-Trace-Util/lib
675 %dir %{_datadir}/perf-core/scripts/python/Perf-Trace-Util/lib/Perf
676 %dir %{_datadir}/perf-core/scripts/python/Perf-Trace-Util/lib/Perf/Trace
677 %{_datadir}/perf-core/scripts/python/Perf-Trace-Util/lib/Perf/Trace/*.py*
678 %dir %{_datadir}/perf-core/scripts/python/bin
679 %attr(755,root,root) %{_datadir}/perf-core/scripts/python/bin/*
680 %{_datadir}/perf-core/scripts/python/*.py*
682 %dir %{_libdir}/traceevent
683 %dir %{_libdir}/traceevent/plugins
684 %attr(755,root,root) %{_libdir}/traceevent/plugins/plugin_*.so
688 %defattr(644,root,root,755)
689 %attr(755,root,root) %{_bindir}/perf-read-vdso32
692 %defattr(644,root,root,755)
693 %attr(755,root,root) %{_bindir}/perf-read-vdsox32
698 %defattr(644,root,root,755)
699 %attr(755,root,root) %{_libdir}/libperf-gtk.so
702 %files -n bash-completion-perf
703 %defattr(644,root,root,755)
704 /etc/bash_completion.d/perf
709 %defattr(644,root,root,755)
710 %doc linux-%{basever}/tools/usb/usbip/{AUTHORS,README}
711 %attr(755,root,root) %{_sbindir}/usbip
712 %attr(755,root,root) %{_sbindir}/usbipd
713 %{_mandir}/man8/usbip.8*
714 %{_mandir}/man8/usbipd.8*
717 %defattr(644,root,root,755)
718 %attr(755,root,root) %{_libdir}/libusbip.so.*.*.*
719 %attr(755,root,root) %ghost %{_libdir}/libusbip.so.0
721 %files -n usbip-devel
722 %defattr(644,root,root,755)
723 %attr(755,root,root) %{_libdir}/libusbip.so
726 %files -n usbip-static
727 %defattr(644,root,root,755)
728 %{_libdir}/libusbip.a