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: ab1a2abc6f37b752dd2595338bec4e78
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: f03030893fae6a5620ba1056a9e3b931
41 Patch2: %{name}-lguest-update.patch
42 Patch3: %{name}-perf-update.patch
43 Patch4: binutils-2.29.patch
44 URL: http://www.kernel.org/
47 BuildRequires: gettext-tools
48 BuildRequires: linux-libc-headers >= 7:4.12
49 BuildRequires: ncurses-devel
50 BuildRequires: pciutils-devel
51 BuildRequires: pkgconfig
52 BuildRequires: rpmbuild(macros) >= 1.647
53 BuildRequires: tar >= 1:1.22
56 BuildRequires: asciidoc
57 BuildRequires: audit-libs-devel
58 BuildRequires: binutils-devel >= 4:2.29
59 BuildRequires: docbook-dtd45-xml
60 BuildRequires: docbook-style-xsl
61 BuildRequires: elfutils-devel
63 BuildRequires: gcc-multilib-32
64 BuildRequires: gcc-multilib-x32
66 %{?with_libunwind:BuildRequires: libunwind-devel >= 0.99}
67 BuildRequires: numactl-devel
68 BuildRequires: perl-devel >= 5.1
69 BuildRequires: python-devel
70 BuildRequires: rpm-pythonprov
71 BuildRequires: slang-devel
74 BuildRequires: gtk+2-devel >= 2.0
78 BuildRequires: autoconf >= 2.59
79 BuildRequires: automake >= 1:1.9
80 BuildRequires: gcc >= 6:4.0
81 BuildRequires: libtool >= 2:2
82 BuildRequires: libwrap-devel
83 BuildRequires: udev-devel
85 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
87 # otherwise /usr/lib/rpm/bin/debugedit: canonicalization unexpectedly shrank by one character
88 %define _enable_debug_packages 0
90 %define makeopts CC="%{__cc}" %{?with_verbose:V=1}
93 This package contains the software from tools/ subdirectory from Linux
94 kernel source and the supporting documentation.
96 %description -l pl.UTF-8
97 Ten pakiet zawiera oprogramowanie z podkatalogu tools/ ze źródeł jądra
98 Linuksa oraz związaną z nim dokumentację.
101 Summary: cpupower - Shows and sets processor power related values
102 Summary(pl.UTF-8): cpupower - wyświetlanie i ustawianie wartości związanych z zużyciem energii przez procesor
103 Group: Applications/System
104 Requires(post,preun,postun): systemd-units >= 38
105 Requires: %{name}-cpupower-libs = %{version}-%{release}
106 Requires: systemd-units >= 0.38
107 Provides: cpupowerutils = 1:009-0.6.p1
108 Obsoletes: cpupowerutils < 1:009-0.6.p1
109 Obsoletes: cpuspeed < 1:1.5-16
111 %description cpupower
112 cpupower is a collection of tools to examine and tune power saving
113 related features of your processor.
115 %description cpupower -l pl.UTF-8
116 cpupower to zbiór narzędzi do sprawdzania i ustawiania opcji procesora
117 związanych z oszczędzaniem energii.
119 %package cpupower-libs
120 Summary: cpupower library
121 Summary(pl.UTF-8): Biblioteka cpupower
124 %description cpupower-libs
127 %description cpupower-libs -l pl.UTF-8
130 %package cpupower-libs-devel
131 Summary: Development files for the cpupower library
132 Summary(pl.UTF-8): Pliki programistyczne biblioteki cpupower
133 Group: Development/Libraries
134 Requires: %{name}-cpupower-libs = %{version}-%{release}
135 Provides: cpupowerutils-devel = 1:009-0.6.p1
136 Obsoletes: cpupowerutils-devel < 1:009-0.6.p1
137 Conflicts: cpufrequtils-devel
139 %description cpupower-libs-devel
140 Development files for the cpupower library.
142 %description cpupower-libs-devel -l pl.UTF-8
143 Pliki programistyczne biblioteki cpupower.
146 Summary: Hyper-V virtualization tools
147 Summary(pl.UTF-8): Narzędzia do wirtualizacji Hyper-V
148 Group: Applications/System
151 Hyper-V virtualization tools.
153 %description hv -l pl.UTF-8
154 Narzędzia do wirtualizacji Hyper-V.
157 Summary: perf profiler tool
158 Summary(pl.UTF-8): Narzędzie profilujące perf
159 Group: Applications/System
162 Obsoletes: perf-slang
165 Perf is a profiler tool for Linux 2.6+ based systems that abstracts
166 away CPU hardware differences in Linux performance measurements and
167 presents a simple commandline interface. Perf is based on the
168 perf_events interface exported by recent versions of the Linux kernel.
170 This package contains core files, scripts and text interface (TUI).
172 %description perf -l pl.UTF-8
173 Perf to narzędzie profilujące dla systemów opartych na Linuksie 2.6+,
174 odseparowujące od różnic sprzętowych między pomiarami wydajności w
175 zależności od procesora oraz udostępniające prosty interfejs linii
176 poleceń. Perf jest oparty na interfejsie perf_events eksportowanym
177 przez nowe wersje jądra Linuksa.
179 Ten pakiet zawiera podstawowe pliki, skrypty oraz interfejs tekstowy
183 Summary: perf profiler tool - VDSO 32-bit ABI reader
184 Summary(pl.UTF-8): Narzędzie profilujące perf - odczyt VDSO dla ABI 32-bitowego
185 Group: Applications/System
186 Requires: %{name}-perf = %{version}-%{release}
188 %description perf-vdso32
189 Perf is a profiler tool for Linux 2.6+ based systems that abstracts
190 away CPU hardware differences in Linux performance measurements and
191 presents a simple commandline interface. Perf is based on the
192 perf_events interface exported by recent versions of the Linux kernel.
194 This package contains perf-read-vdso32 tool for reading the 32-bit
195 compatibility VDSO in 64-bit mode.
197 %description perf-vdso32 -l pl.UTF-8
198 Perf to narzędzie profilujące dla systemów opartych na Linuksie 2.6+,
199 odseparowujące od różnic sprzętowych między pomiarami wydajności w
200 zależności od procesora oraz udostępniające prosty interfejs linii
201 poleceń. Perf jest oparty na interfejsie perf_events eksportowanym
202 przez nowe wersje jądra Linuksa.
204 Ten pakiet zawiera narzędzie perf-read-vdso32 do odczytu VDSO dla
205 binariów 32-bitowych w trybie 64-bitowym.
207 %package perf-vdsox32
208 Summary: perf profiler tool - VDSO x32 ABI reader
209 Summary(pl.UTF-8): Narzędzie profilujące perf - odczyt VDSO dla ABI x32
210 Group: Applications/System
211 Requires: %{name}-perf = %{version}-%{release}
213 %description perf-vdsox32
214 Perf is a profiler tool for Linux 2.6+ based systems that abstracts
215 away CPU hardware differences in Linux performance measurements and
216 presents a simple commandline interface. Perf is based on the
217 perf_events interface exported by recent versions of the Linux kernel.
219 This package contains perf-read-vdso32 tool for reading the x32 mode
220 32-bit compatibility VDSO in 64-bit mode.
222 %description perf-vdsox32 -l pl.UTF-8
223 Perf to narzędzie profilujące dla systemów opartych na Linuksie 2.6+,
224 odseparowujące od różnic sprzętowych między pomiarami wydajności w
225 zależności od procesora oraz udostępniające prosty interfejs linii
226 poleceń. Perf jest oparty na interfejsie perf_events eksportowanym
227 przez nowe wersje jądra Linuksa.
229 Ten pakiet zawiera narzędzie perf-read-vdso32 do odczytu VDSO dla
230 binariów ABI x32 w trybie 64-bitowym.
233 Summary: perf profiler tool (GTK+ 2 GUI)
234 Summary(pl.UTF-8): Narzędzie profilujące perf (interfejs graficzny GTK+ 2)
235 Group: X11/Applications
236 Requires: %{name}-perf = %{version}-%{release}
238 %description perf-gtk
239 Perf is a profiler tool for Linux 2.6+ based systems that abstracts
240 away CPU hardware differences in Linux performance measurements and
241 presents a simple commandline interface. Perf is based on the
242 perf_events interface exported by recent versions of the Linux kernel.
244 This package contains GTK+ 2 based GUI.
246 %description perf-gtk -l pl.UTF-8
247 Perf to narzędzie profilujące dla systemów opartych na Linuksie 2.6+,
248 odseparowujące od różnic sprzętowych między pomiarami wydajności w
249 zależności od procesora oraz udostępniające prosty interfejs linii
250 poleceń. Perf jest oparty na interfejsie perf_events eksportowanym
251 przez nowe wersje jądra Linuksa.
253 Ten pakiet zawiera graficzny interfejs oparty na GTK+ 2.
255 %package -n bash-completion-perf
256 Summary: Bash completion for perf command
257 Summary(pl.UTF-8): Bashowe uzupełnianie parametrów dla polecenia perf
258 Group: Applications/Shells
259 Requires: %{name}-perf
260 Requires: bash-completion
261 %if "%{_rpmversion}" >= "5"
265 %description -n bash-completion-perf
266 Bash completion for perf command.
268 %description -n bash-completion-perf -l pl.UTF-8
269 Bashowe uzupełnianie parametrów dla polecenia perf.
272 Summary: USB device sharing system over IP network
273 Summary(pl.UTF-8): System współdzielenia urządzeń USB po sieci IP
274 Group: Networking/Utilities
275 Requires: usbip-libs = %{version}-%{release}
276 # /lib/hwdata/usb.ids (note: only uncompressed file supported)
277 Requires: hwdata >= 0.243-2
279 %description -n usbip
280 The USB/IP Project aims to develop a general USB device sharing system
281 over IP network. To share USB devices between computers with their
282 full functionality, USB/IP encapsulates "USB requests" into IP packets
283 and transmits them between computers. Original USB device drivers and
284 applications can be also used for remote USB devices without any
285 modification of them. A computer can use remote USB devices as if they
286 were directly attached; for example, we can:
287 - USB storage devices: fdisk, mkfs, mount/umount, file operations,
288 play a DVD movie and record a DVD-R media.
289 - USB keyboards and USB mice: use with Linux console and X Window
291 - USB webcams and USB speakers: view webcam, capture image data and
293 - USB printers, USB scanners, USB serial converters and USB Ethernet
294 interfaces: ok, use fine.
296 %description -n usbip -l pl.UTF-8
297 Projekt USB/IP ma na celu stworzenie ogólnego systemu współdzielenia
298 urządzeń USB po sieci IP. W celu współdzielenia urządzeń USB między
299 komputerami z zachowaniem pełnej funkcjonalności, USB/IP obudowuje
300 żądania SUB w pakiety IP i przesyła je między komputerami. Oryginalne
301 sterowniki urządzeń USB oraz aplikacje mogą być używane bez żadnych
302 modyfikacji. Komputer może wykorzystywać zdaln urządzenia USB tak,
303 jakby były podłączone bezpośrednio. Przykładowe możliwości:
304 - urządzenia USB do przechowywania danych: można używać programów
305 fdisk, mkfs, mount/umount, operacji na plikach, odtwarzać filmy
306 DVD oraz nagrywać nośniki DVD-R
307 - klawiatury i myszy USB: można ich używać na linuksowej konsoli oraz
309 - kamery i głośniki USB: można oglądać obraz z kamery, robić zdjęcia
311 - drukarki, skanery, konwertery portów szeregowych oraz interfejsy
312 sieciowe USB: można ich normalnie używać
314 %package -n usbip-libs
315 Summary: USB/IP library
316 Summary(pl.UTF-8): Biblioteka USB/IP
319 %description -n usbip-libs
322 %description -n usbip-libs -l pl.UTF-8
323 Biblioteka USB po IP.
325 %package -n usbip-devel
326 Summary: Header files for usbip library
327 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki usbip
328 Group: Development/Libraries
329 Requires: usbip-libs = %{version}-%{release}
331 %description -n usbip-devel
332 This package contains the header files needed to develop programs
333 which make use of USB/IP.
335 %description -n usbip-devel -l pl.UTF-8
336 Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
337 wykorzystujących USB/IP.
339 %package -n usbip-static
340 Summary: Static usbip library
341 Summary(pl.UTF-8): Statyczna biblioteka usbip
342 Group: Development/Libraries
343 Requires: usbip-devel = %{version}-%{release}
345 %description -n usbip-static
346 Static usbip library.
348 %description -n usbip-static -l pl.UTF-8
349 Statyczna biblioteka usbip.
355 %if "%{postver}" != ".0"
364 %{__sed} -i -e '/^CFLAGS = /s/ -g / $(OPTFLAGS) /' tools/hv/Makefile
365 %{__sed} -i -e '/^CFLAGS+=/s/ -O1 / $(OPTFLAGS) /' tools/thermal/tmon/Makefile
366 %{__sed} -i -e 's#libexec/perf-core#%{_datadir}/perf-core#g' tools/perf/Makefile.config
371 # Simple Disk Sleep Monitor
372 %{__make} -C tools/laptop/dslm \
374 EXTRA_CFLAGS="%{rpmcflags}"
376 # tools common (used eg. by tools/vm)
377 %{__make} -C tools/lib/api \
379 EXTRA_CFLAGS="%{rpmcflags}"
382 CFLAGS="%{rpmcflags}" \
383 %{__make} -C tools/gpio -j1 \
386 # HyperV is Windows based, x86 specific
387 %ifarch %{ix86} %{x8664} x32
388 %{__make} -C tools/hv \
390 OPTFLAGS="%{rpmcflags}"
393 CFLAGS="%{rpmcflags}" \
394 %{__make} -C tools/iio \
397 %{__make} -C tools/laptop/freefall \
399 CFLAGS="%{rpmcflags}"
402 # drivers/lguest is x86-32 only
403 %{__make} -C tools/lguest \
405 CFLAGS="%{rpmcflags} -Wall -U_FORTIFY_SOURCE -Iinclude"
408 CFLAGS="%{rpmcflags}" \
409 %{__make} -C tools/net \
414 %{__make} -C tools/perf all man \
417 %{!?with_multilib:NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1} \
419 %{!?with_gtk:NO_GTK2=1} \
420 %{!?with_libunwind:NO_LIBUNWIND=1} \
422 CFLAGS_OPTIMIZE="%{rpmcflags}" \
425 perfexecdir=%{_datadir}/perf-core \
427 template_dir=%{_datadir}/perf-core/templates
432 %{__make} -C tools/power/cpupower \
434 CPUFREQ_BENCH=false \
435 OPTIMIZATION="%{rpmcflags}" \
439 %{__make} -C tools/power/cpupower/debug/i386 centrino-decode powernow-k8-decode \
441 CFLAGS="%{rpmcflags}"
445 %{__make} -C tools/power/cpupower/debug/x86_64 centrino-decode powernow-k8-decode \
447 CFLAGS="%{rpmcflags}"
451 %ifarch %{ix86} %{x8664} x32
452 CFLAGS="%{rpmcflags}" \
453 %{__make} -C tools/power/x86/x86_energy_perf_policy \
456 CFLAGS="%{rpmcflags}" \
457 %{__make} -C tools/power/x86/turbostat \
461 %{__make} -C tools/thermal/tmon \
463 OPTFLAGS="%{rpmcflags}"
474 --disable-silent-rules \
475 --with-usbids-dir=/lib/hwdata
480 # page-types, slabinfo
481 %{__make} -C tools/vm page-types slabinfo \
483 CFLAGS="%{rpmcflags} -Wall -Wextra -I../lib"
486 %{__make} -C usr gen_init_cpio \
488 CFLAGS="%{rpmcflags}"
491 rm -rf $RPM_BUILD_ROOT
496 %{__make} -C tools/power/cpupower install \
497 DESTDIR=$RPM_BUILD_ROOT \
505 install -d $RPM_BUILD_ROOT{/etc/sysconfig,%{systemdunitdir}}
506 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdunitdir}/cpupower.service
507 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/cpupower
510 install -p tools/power/cpupower/debug/i386/{centrino,powernow-k8}-decode $RPM_BUILD_ROOT%{_bindir}
513 install -p tools/power/cpupower/debug/x86_64/{centrino,powernow-k8}-decode $RPM_BUILD_ROOT%{_bindir}
518 %{__make} -C tools/perf -j1 install install-man \
521 %{!?with_multilib:NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1} \
523 %{!?with_gtk:NO_GTK2=1} \
524 %{!?with_libunwind:NO_LIBUNWIND=1} \
526 CFLAGS_OPTIMIZE="%{rpmcflags}" \
528 %{?with_verbose:V=1} \
530 perfexecdir=%{_datadir}/perf-core \
531 template_dir=%{_datadir}/perf-core/templates \
533 DESTDIR=$RPM_BUILD_ROOT
535 %py_comp $RPM_BUILD_ROOT%{_datadir}/perf-core/scripts/python
536 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/perf-core/scripts/python
538 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/perf-core/tests
542 %{__make} -C tools/usb/usbip install \
543 DESTDIR=$RPM_BUILD_ROOT
545 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libusbip.la
548 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man8}
550 install -p tools/laptop/dslm/dslm $RPM_BUILD_ROOT%{_sbindir}
552 install -p tools/gpio/lsgpio $RPM_BUILD_ROOT%{_bindir}
554 %ifarch %{ix86} %{x8664} x32
555 install -p tools/hv/hv_{fcopy,kvp,vss}_daemon $RPM_BUILD_ROOT%{_sbindir}
556 # TODO: PLD-specific hv_get_dhcp_info,hv_get_dns_info,hv_set_ifconfig
557 %{__sed} -e '1s,/usr/bin/env python,%{__python},' tools/hv/lsvmbus >$RPM_BUILD_ROOT%{_bindir}/lsvmbus
558 chmod 755 $RPM_BUILD_ROOT%{_bindir}/lsvmbus
561 install -p tools/iio/{iio_event_monitor,iio_generic_buffer,lsiio} $RPM_BUILD_ROOT%{_bindir}
563 install -p tools/laptop/freefall/freefall $RPM_BUILD_ROOT%{_sbindir}
566 install -p tools/lguest/lguest $RPM_BUILD_ROOT%{_bindir}
569 install -p tools/net/{bpf_asm,bpf_dbg,bpf_jit_disasm} $RPM_BUILD_ROOT%{_bindir}
571 install -p tools/thermal/tmon/tmon $RPM_BUILD_ROOT%{_bindir}
572 cp -p tools/thermal/tmon/tmon.8 $RPM_BUILD_ROOT%{_mandir}/man8
574 install -p tools/vm/slabinfo $RPM_BUILD_ROOT%{_bindir}
575 install -p tools/vm/page-types $RPM_BUILD_ROOT%{_sbindir}
577 %ifarch %{ix86} %{x8664} x32
578 install -d $RPM_BUILD_ROOT%{_mandir}/man8
579 %{__make} -C tools/power/x86/x86_energy_perf_policy install \
580 DESTDIR=$RPM_BUILD_ROOT
582 %{__make} -C tools/power/x86/turbostat install \
583 DESTDIR=$RPM_BUILD_ROOT
587 install -p usr/gen_init_cpio $RPM_BUILD_ROOT%{_bindir}/gen_init_cpio
590 rm -rf $RPM_BUILD_ROOT
592 %post cpupower-libs -p /sbin/ldconfig
593 %postun cpupower-libs -p /sbin/ldconfig
596 %systemd_post cpupower.service
599 %systemd_preun cpupower.service
604 %post -n usbip-libs -p /sbin/ldconfig
605 %postun -n usbip-libs -p /sbin/ldconfig
608 %defattr(644,root,root,755)
609 %attr(755,root,root) %{_bindir}/bpf_asm
610 %attr(755,root,root) %{_bindir}/bpf_dbg
611 %attr(755,root,root) %{_bindir}/bpf_jit_disasm
612 %attr(755,root,root) %{_bindir}/gen_init_cpio
613 %attr(755,root,root) %{_bindir}/iio_event_monitor
614 %attr(755,root,root) %{_bindir}/iio_generic_buffer
615 %attr(755,root,root) %{_bindir}/lsgpio
616 %attr(755,root,root) %{_bindir}/lsiio
617 %attr(755,root,root) %{_bindir}/slabinfo
618 %attr(755,root,root) %{_bindir}/tmon
619 %attr(755,root,root) %{_sbindir}/dslm
620 %attr(755,root,root) %{_sbindir}/freefall
621 %attr(755,root,root) %{_sbindir}/page-types
622 %{_mandir}/man8/tmon.8*
624 %doc linux-%{basever}/tools/lguest/lguest.txt
625 %attr(755,root,root) %{_bindir}/lguest
627 %ifarch %{ix86} %{x8664} x32
628 %attr(755,root,root) %{_bindir}/centrino-decode
629 %attr(755,root,root) %{_bindir}/powernow-k8-decode
631 %ifarch %{ix86} %{x8664} x32
632 %attr(755,root,root) %{_bindir}/turbostat
633 %attr(755,root,root) %{_bindir}/x86_energy_perf_policy
634 %{_mandir}/man8/turbostat.8*
635 %{_mandir}/man8/x86_energy_perf_policy.8*
638 %files cpupower -f cpupower.lang
639 %defattr(644,root,root,755)
640 %attr(755,root,root) %{_bindir}/cpupower
641 %{_mandir}/man1/cpupower*.1*
642 %{systemdunitdir}/cpupower.service
643 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/cpupower
646 %defattr(644,root,root,755)
647 %attr(755,root,root) %{_libdir}/libcpupower.so.*.*.*
648 %attr(755,root,root) %ghost %{_libdir}/libcpupower.so.0
650 %files cpupower-libs-devel
651 %defattr(644,root,root,755)
652 %attr(755,root,root) %{_libdir}/libcpupower.so
653 %{_includedir}/cpufreq.h
654 %{_includedir}/cpuidle.h
656 %ifarch %{ix86} %{x8664} x32
658 %defattr(644,root,root,755)
659 # TODO: PLDify these scripts and move to bindir
660 %doc linux-%{basever}/tools/hv/hv_{get_dhcp_info,get_dns_info,set_ifconfig}.sh
661 %attr(755,root,root) %{_bindir}/lsvmbus
662 %attr(755,root,root) %{_sbindir}/hv_fcopy_daemon
663 %attr(755,root,root) %{_sbindir}/hv_kvp_daemon
664 %attr(755,root,root) %{_sbindir}/hv_vss_daemon
669 %defattr(644,root,root,755)
670 %attr(755,root,root) %{_bindir}/perf
671 %attr(755,root,root) %{_bindir}/trace
672 %{_mandir}/man1/perf*.1*
673 %dir %{_datadir}/perf-core
674 %attr(755,root,root) %{_datadir}/perf-core/perf-archive
675 %attr(755,root,root) %{_datadir}/perf-core/perf-with-kcore
677 %dir %{_datadir}/perf-core/scripts
679 %dir %{_datadir}/perf-core/scripts/perl
680 %dir %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util
681 %dir %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util/lib
682 %dir %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util/lib/Perf
683 %dir %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util/lib/Perf/Trace
684 %{_datadir}/perf-core/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/*.pm
685 %dir %{_datadir}/perf-core/scripts/perl/bin
686 %attr(755,root,root) %{_datadir}/perf-core/scripts/perl/bin/*
687 %{_datadir}/perf-core/scripts/perl/*.pl
689 %dir %{_datadir}/perf-core/scripts/python
690 %dir %{_datadir}/perf-core/scripts/python/Perf-Trace-Util
691 %dir %{_datadir}/perf-core/scripts/python/Perf-Trace-Util/lib
692 %dir %{_datadir}/perf-core/scripts/python/Perf-Trace-Util/lib/Perf
693 %dir %{_datadir}/perf-core/scripts/python/Perf-Trace-Util/lib/Perf/Trace
694 %{_datadir}/perf-core/scripts/python/Perf-Trace-Util/lib/Perf/Trace/*.py*
695 %dir %{_datadir}/perf-core/scripts/python/bin
696 %attr(755,root,root) %{_datadir}/perf-core/scripts/python/bin/*
697 %{_datadir}/perf-core/scripts/python/*.py*
699 %dir %{_libdir}/traceevent
700 %dir %{_libdir}/traceevent/plugins
701 %attr(755,root,root) %{_libdir}/traceevent/plugins/plugin_*.so
705 %defattr(644,root,root,755)
706 %attr(755,root,root) %{_bindir}/perf-read-vdso32
709 %defattr(644,root,root,755)
710 %attr(755,root,root) %{_bindir}/perf-read-vdsox32
715 %defattr(644,root,root,755)
716 %attr(755,root,root) %{_libdir}/libperf-gtk.so
719 %files -n bash-completion-perf
720 %defattr(644,root,root,755)
721 /etc/bash_completion.d/perf
726 %defattr(644,root,root,755)
727 %doc linux-%{basever}/tools/usb/usbip/{AUTHORS,README}
728 %attr(755,root,root) %{_sbindir}/usbip
729 %attr(755,root,root) %{_sbindir}/usbipd
730 %{_mandir}/man8/usbip.8*
731 %{_mandir}/man8/usbipd.8*
734 %defattr(644,root,root,755)
735 %attr(755,root,root) %{_libdir}/libusbip.so.*.*.*
736 %attr(755,root,root) %ghost %{_libdir}/libusbip.so.0
738 %files -n usbip-devel
739 %defattr(644,root,root,755)
740 %attr(755,root,root) %{_libdir}/libusbip.so
743 %files -n usbip-static
744 %defattr(644,root,root,755)
745 %{_libdir}/libusbip.a