]> git.pld-linux.org Git - packages/util-linux.git/blame - util-linux.spec
- adjust man page numbers for older dmesg,ipcrm,ipcs,renice,setsid translations
[packages/util-linux.git] / util-linux.spec
CommitLineData
a7980c08 1# TODO
7a5ed8cc 2# - remote chfn/chsh (BR: libuser >= 0.58)? - but PLD uses pwdutils/shadow implementation currently
6e84fb29
JB
3# - verify initrd tools set:
4# - I've taken list from 2.21.3 package, but there was no explicit list, so
5# there are probably some unneeded tools
6# - chrt is not built now (because of --disable-schedutils), but it's probably not needed
7# - fsck is not built now (because of --disable-libmount)
8# - maybe we want some more now?
1d44bc2b
ER
9# - agetty: Documentation/releases/v2.32-ReleaseNotes:54: - add support for /etc/issue.d [Karel Zak]
10# https://github.com/karelzak/util-linux/commit/1fc82a1360305f696dc1be6105c9c56a9ea03f52#diff-d7efd2b3dbb10e54185f001dc21d43db
67de32db 11#
12# Conditional build:
e6161811 13%bcond_with initrd # initrd version
ab1c0a80 14%bcond_with uClibc # link initrd version with static glibc instead of uClibc
67de32db 15%bcond_without dietlibc # link initrd version with dietlibc instead of uClibc
f7f13771 16%bcond_without apidocs # API documentation for libraries
dd83e5d1 17%bcond_without selinux # SELinux support
034a23bb 18%bcond_without su # su/runuser programs
e6161811 19%bcond_without systemd # systemd support
67de32db 20
298c2787 21%define pam_ver 1:1.1.8-5
67de32db 22
23Summary: Collection of basic system utilities for Linux
24Summary(de.UTF-8): Sammlung von grundlegenden Systemdienstprogrammen für Linux
25Summary(es.UTF-8): Colectánea de utilitarios básicos de sistema para Linux
26Summary(fr.UTF-8): Ensemble d'utilitaires système de base pour Linux
27Summary(pl.UTF-8): Zbiór podstawowych narzędzi systemowych dla Linuksa
28Summary(pt_BR.UTF-8): Coletânea de utilitários básicos de sistema para Linux
29Summary(ru.UTF-8): Набор базовых системных утилит для Linux
30Summary(tr.UTF-8): Temel sistem araçları
31Summary(uk.UTF-8): Набір базових системних утиліт для Linux
0057a448 32Name: util-linux
7cafc16a
JB
33Version: 2.38
34Release: 1
56a8c6a4 35License: GPL v2+, GPL v3 (hwclock)
67de32db 36Group: Applications/System
debc0a65 37# https://github.com/karelzak/util-linux (GitHub backup)
7cafc16a
JB
38Source0: https://www.kernel.org/pub/linux/utils/util-linux/v2.38/%{name}-%{version}.tar.xz
39# Source0-md5: fffdc126809a6d4c1789a9efc1b96623
a0732ddc 40Source1: %{name}-non-english-man-pages.tar.bz2
67de32db 41# Source1-md5: 3c940c7e7fe699eaa2ddb1bffb3de2fe
42Source2: login.pamd
0057a448 43Source3: %{name}-blockdev.init
44Source4: %{name}-blockdev.sysconfig
db301a98
AM
45Source6: su.pamd
46Source7: su-l.pamd
034a23bb
JB
47Source8: runuser.pamd
48Source9: runuser-l.pamd
d18bf877
JR
49Source12: blockdev.service
50Source13: blockdev.sh
f1f79628
JR
51Patch0: %{name}-fdformat-ide.patch
52Patch1: %{name}-fhs.patch
53Patch2: %{name}-login-lastlog.patch
54Patch3: %{name}-procpartitions.patch
55Patch4: su-paths.patch
768477bc
JB
56Patch5: %{name}-ac.patch
57Patch6: %{name}-diet.patch
7cafc16a 58Patch7: %{name}-man-asciidoctor.patch
8b6144a3 59URL: https://github.com/karelzak/util-linux
67de32db 60BuildRequires: audit-libs-devel >= 1.0.6
028b554f 61BuildRequires: autoconf >= 2.64
67de32db 62BuildRequires: automake >= 1:1.10
23b3a521 63BuildRequires: gettext-tools >= 0.21
bd3ddcf8
JB
64# for fallocate
65BuildRequires: glibc-devel >= 6:2.11
f7f13771 66%if %{with apidocs}
3146265b 67BuildRequires: gtk-doc >= 1.10
d1fc3015 68BuildRequires: gtk-doc-automake >= 1.10
f7f13771 69%endif
d18bf877 70BuildRequires: libcap-ng-devel
768477bc
JB
71%ifarch ppc ppc64
72# for lscpu
73BuildRequires: librtas-devel
74%endif
028b554f 75%{?with_selinux:BuildRequires: libselinux-devel >= 2.5}
67de32db 76%{?with_selinux:BuildRequires: libsepol-devel}
5d3a1d7c 77BuildRequires: libtool >= 2:2.2
67de32db 78BuildRequires: linux-libc-headers >= 7:2.6.27
79BuildRequires: ncurses-devel >= 5.0
80BuildRequires: pam-devel >= %{pam_ver}
81BuildRequires: pkgconfig
028b554f 82BuildRequires: po4a
971f9098 83BuildRequires: python3-devel
993f4721 84BuildRequires: readline-devel
67de32db 85BuildRequires: rpm >= 4.4.9-56
bd61de7c 86BuildRequires: rpm-build >= 4.6
d0bdca74 87BuildRequires: rpmbuild(macros) >= 1.752
028b554f 88BuildRequires: ruby-asciidoctor
67de32db 89BuildRequires: sed >= 4.0
0deefbb8 90%{?with_systemd:BuildRequires: systemd-devel >= 1:209}
a7980c08 91BuildRequires: tar >= 1:1.22
5d31eab4 92BuildRequires: udev-devel
a7980c08 93BuildRequires: xz
67de32db 94BuildRequires: zlib-devel
95%if %{with initrd}
96 %if %{with uClibc}
97BuildRequires: uClibc-static >= 2:0.9.29
98 %else
99 %if %{with dietlibc}
535578d6 100BuildRequires: dietlibc-static >= 2:0.32-14
67de32db 101 %else
102BuildRequires: glibc-static
103 %endif
104 %endif
105%endif
589e99da 106Requires: libblkid = %{version}-%{release}
c7c0c6cb 107Requires: libfdisk = %{version}-%{release}
4a52de32 108Requires: libmount = %{version}-%{release}
028b554f 109%{?with_selinux:Requires: libselinux >= 2.5}
8b6144a3 110Requires: libsmartcols = %{version}-%{release}
7cafc16a
JB
111# for uuidparse
112Requires: libuuid= %{version}-%{release}
26f68a7d 113Requires: pam >= %{pam_ver}
4fa9d824 114Provides: eject = %{version}-%{release}
67de32db 115Provides: fdisk
ce75a7fc 116Provides: hardlink
67de32db 117Provides: linux32
118Provides: sparc32
9041dcaf
JB
119Obsoletes: cramfs < 1.2
120Obsoletes: eject < 2.2
121Obsoletes: hardlink < 1.1
122Obsoletes: ionice < 0.2
123Obsoletes: linux32 < 1.1
124Obsoletes: rawdevices < 2.14
125Obsoletes: rfkill < 1.1
126Obsoletes: schedutils < 1.4
127Obsoletes: setarch < 1.8
128Obsoletes: sparc32 < 1.2
129Obsoletes: util-linux-chkdupexe < 2.23
28b99029 130Obsoletes: util-linux-ng < 2.20-1
9041dcaf 131Obsoletes: util-linux-suid < 2.9o-10
971f9098 132Conflicts: SysVinit-tools < 2.88-15
67de32db 133Conflicts: e2fsprogs < 1.41.8-5
cc3d4f31 134Conflicts: rc-scripts < 0.4.9-2
67de32db 135Conflicts: shadow-extras < 1:4.0.3-6
034a23bb 136%if %{with su}
034a23bb
JB
137Conflicts: coreutils < 8.19
138%endif
67de32db 139BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
140
141%define debugcflags -O1 -g
142
143# for some reason known only to rpm there must be "\\|" not "\|" here
144%define dietarch %(echo %{_target_cpu} | sed -e 's/i.86\\|pentium.\\|athlon/i386/;s/amd64/x86_64/;s/armv.*/arm/')
145%define dietlibdir %{_prefix}/lib/dietlibc/lib-%{dietarch}
146
147%ifarch ppc ppc64
148# for dietlibc
149%define filterout_ld -Wl,-z,relro
150%endif
151
152%description
153util-linux contains a large variety of low-level system utilities
154necessary for a functional Linux system. This includes, among other
155things, configuration tools such as fdisk and system programs such as
156logger.
157
158%description -l de.UTF-8
159util-linux enthält eine große Anzahl an
160low-level-Systemdienstprogrammen, die für ein funktionierendes
161Linux-System erforderlich sind. Dazu gehören Konfigurationstools wie
162'fdisk' und Systemprogramme wie 'logger'.
163
164%description -l es.UTF-8
165util-linux contiene una gran variedad de utilitarios de sistema de
166bajo nivel necesarios a un sistema Linux funcional. Esto incluye,
167entre otras cosas, herramientas de configuración como fdisk y
168programas de sistema como logger.
169
170%description -l fr.UTF-8
171util-linux contient une grande variété d'utilitaire système bas niveau
172nécessaires au fonctionnement d'un système Linux. Cela comprend, entre
173autres, les outils de configuration comme fdisk et des programmes
174systèmes comme logger.
175
176%description -l pl.UTF-8
177util-linux zawiera wiele różnych, niskopoziomowych narzędzi
178systemowych niezbędnych do prawidłowego działania Linuksa. W pakiecie
179znajdują się między innymi narzędzia konfiguracyjne, takie jak fdisk i
180programy systemowe, takie jak logger.
181
182%description -l pt_BR.UTF-8
183util-linux contém uma grande variedade de utilitários de sistema de
184baixo-nível necessários para um sistema Linux funcional. Isso inclui,
185entre outras coisas, ferramentas de configuração como fdisk e
186programas de sistema como logger.
187
188%description -l ru.UTF-8
189Этот пакет содержит большой набор системных утилит низкого уровня,
190которые необходимы для функционирования системы Linux. Он включает, в
191числе прочих, инструменты конфигурации, такие как fdisk, и системные
192программы, такие как logger.
193
194%description -l tr.UTF-8
195şlevsel durumdaki bir Linux sistemi için gerekli birçok alt düzey
196sistem araçlarını içerir. Bunlar arasında fdisk gibi yapılandırma
197uygulamaları ve logger gibi sistem programları sayılabilir.
198
199%description -l uk.UTF-8
200Цей пакет містить великий набір системних утиліт низького рівня, які
201необхідні для функціонування системи Linux. Він містить, окрім інших,
202конфігураційні інструменти (такі як fdisk) та системні програми (такі
203як logger).
204
205%package -n blockdev
206Summary: Support for blockdev
207Summary(pl.UTF-8): Obsługa blockdev
56a8c6a4 208License: GPL v2+
67de32db 209Group: Applications/System
210Requires(post,preun): /sbin/chkconfig
d18bf877 211Requires(post,preun,postun): systemd-units >= 38
67de32db 212Requires: coreutils
1401d1d4 213Requires: rc-scripts >= 0.4.3.0
d18bf877 214Requires: systemd-units >= 38
67de32db 215
216%description -n blockdev
217The utility blockdev allows one to call block device ioctls from the
218command line. This package also includes initscript to set blockdev
219parameters at system startup.
220
221%description -n blockdev -l pl.UTF-8
222Narzędzie blockdev pozwala na wywołania ioctl dla urządzeń blokowych z
223linii poleceń. Ten pakiet zawiera także skrypt inicjalizacyjny do
224ustawiania parametrów blockdev przy starcie systemu.
225
226%package -n losetup
227Summary: Programs for setting up and configuring loopback devices
228Summary(de.UTF-8): Programme zum Einrichten und Konfigurieren von Loopback-Geräten
229Summary(fr.UTF-8): Programmes pour mettre en place et configurer les loopback
230Summary(pl.UTF-8): Program do konfiguracji urządzenia blokowego loopback
231Summary(ru.UTF-8): Программы для настройки loopback-устройств
232Summary(tr.UTF-8): Yerel-çevrim aygıtlarının kurulması ve ayarlanması için programlar
233Summary(uk.UTF-8): Програми для конфігурації loopback-пристроїв
56a8c6a4 234License: GPL v2+
67de32db 235Group: Applications/System
8b6144a3 236Requires: libsmartcols = %{version}-%{release}
67de32db 237
238%description -n losetup
239Linux supports a special block device called the loopback device,
240which maps a normal file onto a virtual block device. This package
241contains programs for setting up and removing the mapping between
242files and loopback devices.
243
244Block loopback devices should not be confused with the networking
245loopback device, which is configured with the normal ifconfig command.
246
247%description -n losetup -l de.UTF-8
248Linux unterstützt ein spezielles Blockgerät, das sogenannte Loopback,
249das eine normale Datei auf ein virtuelles Blockgerät abbildet. Das
250Paket enthält Programme zum Einrichten und Entfernen der Zuordnung
251zwischen Dateien und Loopback-Geräten.
252
253%description -n losetup -l fr.UTF-8
254Linux gère un périphérique bloc spécial appelé « loopback », qui
255correspond à un fichier normal sur un périphérique bloc virtuel. Ce
256paquetage contient les programmes pour configurer et supprimer la
257correspondance entre les fichiers et les périphériques loopback.
258
259Les périphériques bloc loopback ne doivent pas être confondus avec le
260périphérique loopback du réseau, configuré avec la commande ifconfig
261normale.
262
263%description -n losetup -l pl.UTF-8
264Linux wspiera specjalne urządzenie blokowe loopback, które mapuje
265normalny plik w wirtualne urządzenie blokowe. Pakiet ten zawiera
266program, przy pomocy którego będziesz mógł je skonfigurować.
267
268Urządzenie blokowe loopback nie powinno być mylone z sieciowym
269interfejsem loopback, który jest konfigurowany przy pomocy polecenia
270ifconfig.
271
272%description -n losetup -l ru.UTF-8
273Linux поддерживает специальное блочное устройство, называемое
274loopback, которое отображает обычный файл в виртуальное блочное
275устройство. Это позволяет использовать файл как виртуальную файловую
276систему. Losetup используется для связи loopback-устройств с обычными
277файлами или блочными устройствами, для отсоединения loopback-устройств
278и запросов их статуса.
279
280%description -n losetup -l tr.UTF-8
281Linux özel bir blok aygıt olan yerel-çevrim aygıtını (loopback device)
282destekler. Bu aygıt normal bir dosyanın sanal bir blok aygıtı üzerine
283haritasını çıkarır. Bu paket, dosyalar ve yerel-çevrim aygıtları
284arasındaki haritalama işleminin kurulması ve kaldırılması için
285programlar içerir. Blok yerel-çevrim aygıtı ifconfig komutu ile
286yapılandırılan ağ yerel-çevrim aygıtı ile karıştırılmamalıdır.
287
288%description -n losetup -l uk.UTF-8
289Linux підтримує спеціальний блочний пристрій, loopback, який
290відображує звичайний файл у віртуальний блочний пристрій. Це дозволяє
291використовувати файл як віртуальну файлову систему. Losetup
292використовують для зв'язку loopback-пристроїв зі звичайними файлами
293або блочними пристроями, для від'єднання loopback-пристроїв та
294запросів їх стану.
295
296%package -n mount
297Summary: Programs for mounting and unmounting filesystems
298Summary(de.UTF-8): Programme zum montieren und abmontieren von Dateisystemen
299Summary(fr.UTF-8): Programme pour monter et démonter des systèmes de fichiers
300Summary(pl.UTF-8): Programy do montowania i odmontowywania systemów plików
301Summary(ru.UTF-8): Программы для монтирования и размонтирования файловых систем
302Summary(tr.UTF-8): Dosya sistemlerini bağlamak ve çözmek için programlar
303Summary(uk.UTF-8): Програми для монтування та розмонтування файлових систем
56a8c6a4 304License: GPL v2+
67de32db 305Group: Applications/System
bc9462df 306Requires: libmount = %{version}-%{release}
8b6144a3 307Requires: libsmartcols = %{version}-%{release}
2b77001e 308Conflicts: SysVinit < 2.86-26
26f68a7d
ER
309# C: nfs-utils-common is opposite to http://cvs.pld-linux.org/packages/nfs-utils/nfs-utils.spec?r1=1.165&r2=1.166
310Conflicts: nfs-utils-common < 1.1.3-3
67de32db 311
312%description -n mount
313mount is used for adding new filesystems, both local and networked, to
314your current directory structure. The filesystems must already exist
315for this to work. It can also be used to change the access types the
316kernel uses for already-mounted filesystems.
317
318This package is critical for the functionality of your system.
319
320%description -n mount -l de.UTF-8
321mount wird zum Hinzufügen neuer Dateisysteme (lokal und im Netzwerk)
322zu Ihrer aktuellen Verzeichnisstruktur verwendet. Die Dateisysteme
323müssen bereits existieren. Außerdem können die Zugriffstypen geändert
324werden, die der Kernel für bereits montierte Dateisysteme verwendet.
325
326Dieses Paket ist für Ihr System unbedingt erforderlich.
327
328%description -n mount -l fr.UTF-8
329mount sert à ajouter de nouveaux systèmes de fichiers, locaux ou
330réseaux, à votre structure de répertoire. Les systèmes de fichiers
331doivent déjà exister pour que cela fonctionne. Il peut aussi servir à
332changer les types d'accès pour les systèmes de fichiers déjà montés.
333
334Ce paquetage est critique pour le fonctionnement de votre système.
335
336%description -n mount -l pl.UTF-8
337Program mount jest używany przez system do montowania systemów plików,
338zarówno lokalnych jak i sieciowych (np. NFS).
339
340Pakiet ten jest niezbędny do prawidłowej pracy twojego Linuksa.
341
342%description -n mount -l ru.UTF-8
343Пакет mount содержит программы mount, umount, swapon и swapoff. Файлы
344в вашей системе организованы в виде одного большого дерева или
345иерархии. Эти файлы могут быть размещены на разных устройствах.
346Команда mount присоединяет файловую систему на некотором устройстве к
347дереву файлов вашей системы. Команда umount отсоединяет файловую
348систему от дерева. Swapon и swapoff, соответственно, разрешает и
349запрещает своппинг в определенные файлы и устройства.
350
351%description -n mount -l tr.UTF-8
352mount, hem yerel hem de ağ dosya sistemlerinin dizin yapısına
353eklenmesi için kullanılır. Bunun için bağlanacak dosya sisteminin
354önceden hazırlanmış olması gerekir. Aynı zamanda çekirdeğin bağlanmış
355dosya sistemlerine erişimini değiştirmek için de kullanılır. Bu paket
356sisteminizin işlevselliği açısından kritiktir.
357
358%description -n mount -l uk.UTF-8
359Пакет mount містить програми mount, umount, swapon та swapoff. Файли у
360вашій системі організовані у вигляді одного великого дерева або
361ієрархії. Ці файли можуть бути розташовані на різних пристроях.
362Команда mount під'єднує файлову систему на деякому пристрої до дерева
363файлів вашої системи. Команда umount від'єднує файлову систему від
364дерева. Swapon та swapoff, відповідно, дозволяє та заборонює свопінг у
365визначені файли або пристрої.
366
67de32db 367%package -n tunelp
368Summary: Configures kernel parallel port driver
369Summary(de.UTF-8): Konfiguriert den Kerneltreiber für den parallelen Port
370Summary(fr.UTF-8): Configure le pilote du port parallèle dans le noyau
371Summary(pl.UTF-8): Program do konfigurowania sterownika portu równoległego
372Summary(tr.UTF-8): Çekirdeğin paralel bağlantı noktası sürücüsünü ayarlar
373License: GPL v2+
374Group: Applications/System
375
376%description -n tunelp
377tunelp aids in configuring the kernel parallel port driver.
378
379%description -n tunelp -l de.UTF-8
380tunelp hilft bei der Konfiguration des Kernel-Parallelport-Treibers.
381
382%description -n tunelp -l fr.UTF-8
383« tunelp » aide à configurer le pilote du noyau pour le port
384parallèle.
385
386%description -n tunelp -l pl.UTF-8
387Program do konfigurowania sterownika portu równoległego.
388
389%description -n tunelp -l tr.UTF-8
390Paralel bağlantı noktası sürücüsünü ayarlar.
391
392%package -n login
393Summary: login is used when signing onto a system
394Summary(pl.UTF-8): login jest używany do rozpoczęcia pracy w systemie
56a8c6a4 395License: GPL v2+
67de32db 396Group: Applications/System
397Requires: pam >= %{pam_ver}
398Obsoletes: heimdal-login
399
400%description -n login
401login is used when signing onto a system. It can also be used to
402switch from one user to another at any time (most modern shells have
403support for this feature built into them, however).
404
405%description -n login -l pl.UTF-8
406login jest używany do rozpoczęcia pracy w systemie. Może być używany
407do przełączania z jednego użytkownika na innego w każdym momencie
408(jednak większość nowoczesnych powłok ma takie funkcje wbudowane).
409
410%package -n agetty
411Summary: Alternative Linux getty
412Summary(pl.UTF-8): Alternatywny getty
56a8c6a4 413License: GPL v2+
67de32db 414Group: Applications/System
415Requires: login
416
417%description -n agetty
418agetty is simple Linux getty with serial support.
419
420%description -n agetty -l pl.UTF-8
421agetty jest prostym linuksowym getty z obsługą portu szeregowego.
422
423%package -n libblkid
424Summary: Library to handle device identification and token extraction
425Summary(pl.UTF-8): Biblioteka do obsługi identyfikacji urządzeń
426License: LGPL v2.1+
427Group: Libraries
28b99029 428Obsoletes: util-linux-ng-libs < 2.20-1
67de32db 429
430%description -n libblkid
431Library to handle device identification and token extraction.
432
433%description -n libblkid -l pl.UTF-8
434Biblioteka do obsługi identyfikacji urządzeń i wydobywania tokenów.
435
436%package -n libblkid-devel
437Summary: Header files for blkid library
438Summary(pl.UTF-8): Pliki nagłówkowe biblioteki blkid
439License: LGPL v2.1+
440Group: Development/Libraries
441Requires: libblkid = %{version}-%{release}
28b99029 442Obsoletes: util-linux-ng-devel < 2.20-1
67de32db 443
444%description -n libblkid-devel
445Header files for blkid library.
446
447%description -n libblkid-devel -l pl.UTF-8
448Pliki nagłówkowe biblioteki blkid.
449
450%package -n libblkid-static
451Summary: Static library to handle device identification and token extraction
452Summary(pl.UTF-8): Statyczna biblioteka do obsługi identyfikacji urządzeń
453License: LGPL v2.1+
454Group: Development/Libraries
455Requires: libblkid-devel = %{version}-%{release}
28b99029 456Obsoletes: util-linux-ng-static < 2.20-1
67de32db 457
458%description -n libblkid-static
459Static library to handle device identification and token extraction.
460
461%description -n libblkid-static -l pl.UTF-8
462Statyczna biblioteka do obsługi identyfikacji urządzeń i wydobywania
463tokenów.
464
465%package -n libblkid-dietlibc
466Summary: Static dietlibc library to handle device identification and token extraction
467Summary(pl.UTF-8): Statyczna biblioteka dietlibc do obsługi identyfikacji urządzeń
468License: LGPL v2.1+
469Group: Development/Libraries
470Requires: libblkid-devel = %{version}-%{release}
67de32db 471
472%description -n libblkid-dietlibc
473Library to handle device identification and token extraction - static
474dietlibc version.
475
476%description -n libblkid-dietlibc -l pl.UTF-8
477Biblioteka do obsługi identyfikacji urządzeń i wydobywania tokenów -
478wersja statyczna dla dietlibc.
479
f7f13771 480%package -n libblkid-apidocs
5ae167c7
MK
481Summary: libblkid API documentation
482Summary(pl.UTF-8): Dokumentacja API libblkid
483Group: Documentation
484Requires: gtk-doc-common
485BuildArch: noarch
f7f13771
MK
486
487%description -n libblkid-apidocs
488libblkid API documentation.
489
490%description -n libblkid-apidocs -l pl.UTF-8
491Dokumentacja API libblkid.
492
67de32db 493%package -n libuuid
494Summary: Library for accessing and manipulating UUID
495Summary(pl.UTF-8): Biblioteka umożliwiająca dostęp i zmiany UUID
496License: BSD
497Group: Libraries
498Conflicts: e2fsprogs < 1.34-3
499
500%description -n libuuid
501Library for accessing and manipulating UUID.
502
503%description -n libuuid -l pl.UTF-8
504Biblioteka umożliwiająca dostęp i zmiany UUID.
505
506%package -n libuuid-devel
507Summary: Header files for library for accessing and manipulating UUID
508Summary(pl.UTF-8): Pliki nagłówkowe biblioteki umożliwiającej dostęp i zmiany UUID
509License: BSD
510Group: Development/Libraries
511Requires: libuuid = %{version}-%{release}
512Conflicts: e2fsprogs-devel < 1.34-3
513
514%description -n libuuid-devel
515Library for accessing and manipulating UUID - development files.
516
517%description -n libuuid-devel -l pl.UTF-8
518Biblioteka umożliwiająca dostęp i zmiany UUID - pliki dla
519programistów.
520
521%package -n libuuid-static
522Summary: Static library for accessing and manipulating UUID
523Summary(pl.UTF-8): Statyczna biblioteka umożliwiająca dostęp i zmiany UUID
524License: BSD
525Group: Development/Libraries
526Requires: libuuid-devel = %{version}-%{release}
527Conflicts: e2fsprogs-static < 1.34-3
528
529%description -n libuuid-static
530Library for accessing and manipulating UUID - static version.
531
532%description -n libuuid-static -l pl.UTF-8
533Biblioteka umożliwiająca dostęp i zmiany UUID - wersja statyczna.
534
535%package -n libuuid-dietlibc
536Summary: Static dietlibc library for accessing and manipulating UUID
537Summary(pl.UTF-8): Statyczna biblioteka dietlibc umożliwiająca dostęp i zmiany UUID
538License: BSD
539Group: Development/Libraries
540Requires: libuuid-devel = %{version}-%{release}
541Conflicts: e2fsprogs-static < 1.34-3
542
543%description -n libuuid-dietlibc
544Library for accessing and manipulating UUID - static dietlibc version.
545
546%description -n libuuid-dietlibc -l pl.UTF-8
547Biblioteka umożliwiająca dostęp i zmiany UUID - wersja statyczna dla
548dietlibc.
549
550%package -n uuidd
551Summary: Helper daemon to guarantee uniqueness of time-based UUIDs
552Summary(pl.UTF-8): Pomocniczy demon gwarantujący unikalność UUID-ów opartych na czasie
56a8c6a4 553License: GPL v2+
67de32db 554Group: Daemons
555Requires(postun): /usr/sbin/groupdel
556Requires(postun): /usr/sbin/userdel
557Requires(pre): /bin/id
558Requires(pre): /usr/bin/getgid
559Requires(pre): /usr/sbin/groupadd
560Requires(pre): /usr/sbin/groupmod
561Requires(pre): /usr/sbin/useradd
562Requires(pre): /usr/sbin/usermod
8834e309 563Requires(post,preun,postun): systemd-units >= 38
67de32db 564Requires: libuuid = %{version}-%{release}
4fa9d824 565Requires: systemd-units >= 38
67de32db 566Provides: group(uuidd)
567Provides: user(uuidd)
568Conflicts: libuuid < 1.40.5-0.1
569
570%description -n uuidd
571The uuidd package contains a userspace daemon (uuidd) which guarantees
572uniqueness of time-based UUID generation even at very high rates on
573SMP systems.
574
575%description -n uuidd -l pl.UTF-8
576Ten pakiet zawiera działającego w przestrzeni użytkownika demona
577(uuidd) gwarantującego unikalność generowania UUID-ów opartych na
578czasie nawet przy bardzo dużej częstotliwości na systemach SMP.
579
c7c0c6cb
JB
580%package -n libfdisk
581Summary: fdisk library
582Summary(pl.UTF-8): Biblioteka fdisk
583License: LGPL v2.1+
584Group: Libraries
585Requires: libblkid = %{version}-%{release}
586Requires: libuuid = %{version}-%{release}
587
588%description -n libfdisk
589fdisk library.
590
591%description -n libfdisk -l pl.UTF-8
592Biblioteka fdisk.
593
594%package -n libfdisk-devel
595Summary: Header files for fdisk library
596Summary(pl.UTF-8): Pliki nagłówkowe biblioteki fdisk
597License: LGPL v2.1+
598Group: Development/Libraries
599Requires: libblkid-devel = %{version}-%{release}
600Requires: libfdisk = %{version}-%{release}
601Requires: libuuid-devel = %{version}-%{release}
602
603%description -n libfdisk-devel
604Header files for fdisk library.
605
606%description -n libfdisk-devel -l pl.UTF-8
607Pliki nagłówkowe biblioteki fdisk.
608
609%package -n libfdisk-static
610Summary: Static version of fdisk library
611Summary(pl.UTF-8): Statyczna wersja biblioteki fdisk
612License: LGPL v2.1+
613Group: Development/Libraries
614Requires: libfdisk-devel = %{version}-%{release}
615
616%description -n libfdisk-static
617Static version of fdisk library.
618
619%description -n libfdisk-static -l pl.UTF-8
620Statyczna wersja biblioteki fdisk.
621
f7f13771 622%package -n libfdisk-apidocs
5ae167c7
MK
623Summary: libfdisk API documentation
624Summary(pl.UTF-8): Dokumentacja API libfdisk
625Group: Documentation
626Requires: gtk-doc-common
627BuildArch: noarch
f7f13771
MK
628
629%description -n libfdisk-apidocs
630libfdisk API documentation.
631
632%description -n libfdisk-apidocs -l pl.UTF-8
633Dokumentacja API libfdisk.
634
67de32db 635%package -n libmount
636Summary: Library to handle mounting-related tasks
637Summary(pl.UTF-8): Biblioteka obsługująca zadania związane z montowaniem
c7c0c6cb 638License: LGPL v2.1+
67de32db 639Group: Libraries
640Requires: libblkid = %{version}-%{release}
641
642%description -n libmount
643Library to handle mounting-related tasks.
644
645%description -n libmount -l pl.UTF-8
646Biblioteka obsługująca zadania związane z montowaniem.
647
648%package -n libmount-devel
649Summary: Header files for mount library
650Summary(pl.UTF-8): Pliki nagłówkowe biblioteki mount
c7c0c6cb 651License: LGPL v2.1+
67de32db 652Group: Development/Libraries
653Requires: libblkid-devel = %{version}-%{release}
654Requires: libmount = %{version}-%{release}
655
656%description -n libmount-devel
657Header files for mount library.
658
659%description -n libmount-devel -l pl.UTF-8
660Pliki nagłówkowe biblioteki mount.
661
662%package -n libmount-static
663Summary: Static version of mount library
664Summary(pl.UTF-8): Statyczna wersja biblioteki mount
c7c0c6cb 665License: LGPL v2.1+
67de32db 666Group: Development/Libraries
667Requires: libmount-devel = %{version}-%{release}
668
669%description -n libmount-static
670Static version of mount library.
671
672%description -n libmount-static -l pl.UTF-8
673Statyczna wersja biblioteki mount.
674
f7f13771 675%package -n libmount-apidocs
5ae167c7
MK
676Summary: libmount API documentation
677Summary(pl.UTF-8): Dokumentacja API libmount
678Group: Documentation
679Requires: gtk-doc-common
680BuildArch: noarch
f7f13771
MK
681
682%description -n libmount-apidocs
683libmount API documentation.
684
685%description -n libmount-apidocs -l pl.UTF-8
686Dokumentacja API libmount.
687
8b6144a3
JB
688%package -n python3-libmount
689Summary: Python 3.x libmount bindings
690Summary(pl.UTF-8): Wiązania Pythona 3.x do biblioteki libmount
c7c0c6cb 691License: LGPL v3+
8b6144a3
JB
692Group: Libraries/Python
693Requires: libmount = %{version}-%{release}
67de32db 694
8b6144a3
JB
695%description -n python3-libmount
696Python 3.x libmount bindings.
67de32db 697
8b6144a3
JB
698%description -n python3-libmount -l pl.UTF-8
699Wiązania Pythona 3.x do biblioteki libmount.
67de32db 700
701%package -n fsck
702Summary: Check and repair a Linux file system
703Summary(pl.UTF-8): Sprawdzanie i naprawa linuksowego systemu plików
56a8c6a4 704License: GPL v2+
67de32db 705Group: Applications/System
1c38ec33 706Requires: libblkid = %{version}-%{release}
67de32db 707
708%description -n fsck
709Check and repair a Linux file system.
710
711%description -n fsck -l pl.UTF-8
712Sprawdzanie i naprawa linuksowego systemu plików.
713
8b6144a3
JB
714%package -n libsmartcols
715Summary: Library to handle tables and trees
716Summary(pl.UTF-8): Biblioteka do obsługi tabelek i drzewek
56a8c6a4 717License: LGPL v2+
8b6144a3
JB
718Group: Libraries
719
720%description -n libsmartcols
721Library to handle tables and trees.
722
723%description -n libsmartcols -l pl.UTF-8
724Biblioteka do obsługi tabelek i drzewek.
725
726%package -n libsmartcols-devel
727Summary: Header files for smartcols library
728Summary(pl.UTF-8): Pliki nagłówkowe biblioteki smartcols
56a8c6a4 729License: LGPL v2+
8b6144a3
JB
730Group: Development/Libraries
731Requires: libsmartcols = %{version}-%{release}
732
733%description -n libsmartcols-devel
734Header files for smartcols library.
735
736%description -n libsmartcols-devel -l pl.UTF-8
737Pliki nagłówkowe biblioteki smartcols.
738
739%package -n libsmartcols-static
740Summary: Static version of smartcols library
741Summary(pl.UTF-8): Statyczna wersja biblioteki smartcols
56a8c6a4 742License: LGPL v2+
8b6144a3
JB
743Group: Development/Libraries
744Requires: libsmartcols-devel = %{version}-%{release}
745
746%description -n libsmartcols-static
747Static version of smartcols library.
748
749%description -n libsmartcols-static -l pl.UTF-8
750Statyczna wersja biblioteki smartcols.
751
f7f13771 752%package -n libsmartcols-apidocs
5ae167c7
MK
753Summary: libsmartcols API documentation
754Summary(pl.UTF-8): Dokumentacja API libsmartcols
755Group: Documentation
756Requires: gtk-doc-common
757BuildArch: noarch
f7f13771
MK
758
759%description -n libsmartcols-apidocs
760libsmartcols API documentation.
761
762%description -n libsmartcols-apidocs -l pl.UTF-8
763Dokumentacja API libsmartcols.
764
67de32db 765%package initrd
766Summary: blkid - initrd version
767Summary(pl.UTF-8): blkid - wersja dla initrd
56a8c6a4 768License: GPL v2+
67de32db 769Group: Base
28b99029 770Obsoletes: util-linux-ng-initrd < 2.20-1
e70bda7d 771Conflicts: geninitrd < 10000.10
67de32db 772
773%description initrd
774This package includes a blkid utility to recognize partitions by label
775or UUID - staticaly linked for initrd.
776
777%description initrd -l pl.UTF-8
778Pakiet ten zawiera narzędzie blkid do rozpoznawania partycji przez
779etykietę lub UUID - statycznie skonsolidowane na potrzeby initrd.
780
232bdb1a 781%package -n bash-completion-util-linux
8834e309
ER
782Summary: bash completion for util-linux commands
783Summary(pl.UTF-8): Bashowe dopełnianie parametrów dla poleceń z pakietu util-linux
56a8c6a4 784License: GPL v2+
8834e309
ER
785Group: Applications/Shells
786Requires: %{name} = %{version}-%{release}
787Requires: bash-completion >= 2.0
71297c41 788Requires: gawk
8a0c9d8b 789BuildArch: noarch
232bdb1a
AM
790
791%description -n bash-completion-util-linux
0db61bcb 792Bash completion for util-linux commands.
232bdb1a
AM
793
794%description -n bash-completion-util-linux -l pl.UTF-8
0db61bcb
JB
795Bashowe dopełnianie parametrów dla poleceń z pakietu util-linux.
796
67de32db 797%prep
0057a448 798%setup -q -a1
f1f79628
JR
799%patch0 -p1
800%patch1 -p1
801%patch2 -p1
67de32db 802%patch3 -p1
803%patch4 -p1
768477bc 804%patch5 -p1
6590e7e5 805%patch7 -p1
768477bc 806%{?with_initrd:%patch6 -p1}
67de32db 807
7cafc16a
JB
808# obsolete programs, remove non-english man pages
809%{__rm} man/*/man1/{arch,chkdupexe,ddate,reset}.1 \
810 man/*/man5/nfs.5 \
811 man/*/man8/{cytune,elvtune,setfdprm,sln,ramsize,raw,rdev,rootflags,vidmode}.8
812
d55244da
JB
813# adjust page numbers
814for d in fr ja ko pl ; do
815 %{__mv} man/$d/man8/dmesg.8 man/$d/man1/dmesg.1
816 %{__sed} -i -e 's/DMESG 8/DMESG 1/' man/$d/man1/dmesg.1
817done
818for d in es fr ja ko pl ; do
819 %{__mv} man/$d/man8/ipcrm.8 man/$d/man1/ipcrm.1
820 %{__sed} -i -e 's/IPCRM 8/IPCRM 1/;s/ipcs (8)/ipcs (1)/' man/$d/man1/ipcrm.1
821 %{__mv} man/$d/man8/ipcs.8 man/$d/man1/ipcs.1
822 %{__sed} -i -e 's/IPCS 8/IPCS 1/;s/ipcrm (8)/ipcrm (1)/' man/$d/man1/ipcs.1
823done
824for d in es ja ko pl ; do
825 %{__mv} man/$d/man8/renice.8 man/$d/man1/renice.1
826 %{__sed} -i -e 's/RENICE 8/RENICE 1/' man/$d/man1/renice.1
827done
828for d in es fr it ja ko ; do
829 %{__mv} man/$d/man8/setsid.8 man/$d/man1/setsid.1
830 %{__sed} -i -e 's/SETSID 8/SETSID 1/' man/$d/man1/setsid.1
831done
7cafc16a 832for d in es ja ko ; do
d55244da 833 %{__mv} man/$d/man1/readprofile.1 man/$d/man8/readprofile.8
7cafc16a
JB
834 %{__sed} -i -e 's/READPROFILE 1/READPROFILE 8/' man/$d/man8/readprofile.8
835done
6a162ea7 836
86e58ad2
JB
837%{__rm} po/stamp-po
838
67de32db 839%build
840%{__gettextize}
841%{__libtoolize}
842%{__aclocal} -I m4
843%{__autoconf}
844%{__autoheader}
845%{__automake}
846
847export CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses -DHAVE_LSEEK64_PROTOTYPE -DHAVE_LLSEEK_PROTOTYPE"
848%if %{with initrd}
849%{?with_uClibc:xCC="%{_target_cpu}-uclibc-gcc"}
1345aa35 850%{?with_dietlibc:xCC="%{__cc}"; xCC="diet ${xCC#*ccache }"}
67de32db 851%configure \
852%if %{with dietlibc}
6e84fb29
JB
853 ac_cv_header_crypt_h=no \
854 ac_cv_header_stdio_ext_h=no \
67de32db 855%endif
856 CC="$xCC" \
d617083c
ER
857%if "%{?configure_cache}" == "1"
858 --cache-file=%{?configure_cache_file}%{!?configure_cache_file:configure}-initrd.cache \
859%endif
6e84fb29
JB
860 --exec-prefix= \
861 --bindir=/bin \
862 --sbindir=/sbin \
863 --libdir=/%{_lib} \
67de32db 864 --disable-shared \
865 --enable-static \
277ca855 866 --enable-libmount-force-mountinfo \
6e84fb29
JB
867 --disable-agetty \
868 --disable-chfn-chsh \
ca8d370c 869 --disable-cramfs \
6e84fb29
JB
870 --disable-kill \
871 --disable-ldattach \
17cf1024 872 --disable-libmount \
4fa9d824 873 --disable-login \
6e84fb29 874 --disable-losetup \
0ab7cd08
AM
875 --disable-makeinstall-chown \
876 --disable-makeinstall-setuid \
6e84fb29 877 --disable-minix \
4fa9d824 878 --disable-newgrp \
6e84fb29
JB
879 --disable-partx \
880 --disable-raw \
034a23bb 881 --disable-runuser \
67de32db 882 --disable-schedutils \
6e84fb29 883 --disable-setarch \
67de32db 884 --disable-silent-rules \
6e84fb29
JB
885 --disable-su \
886 --disable-sulogin \
232bdb1a 887 --disable-tunelp \
67de32db 888 --disable-use-tty-group \
4fa9d824 889 --disable-utmpdump \
6e84fb29
JB
890 --disable-uuidd \
891 --disable-vipw \
67de32db 892 --disable-wall \
893 --without-audit \
894 --without-ncurses \
f5001161
AM
895 --without-selinux \
896 --without-smack
67de32db 897
898# configure gets it unconditionally wrong
573fc850 899%{__sed} -i -e 's/#define HAVE_WIDECHAR 1//' config.h
67de32db 900
6e84fb29
JB
901%{__make} \
902%if %{with uClibc}
903 LDFLAGS="-Wl,-static"
904%endif
905%if %{with dietlibc}
906 CPPFLAGS="$CPPFLAGS -D_BSD_SOURCE" \
907 LDFLAGS="-lcompat"
908%endif
909
910%{__make} install \
911 DESTDIR=$(pwd)/initrd
67de32db 912
913%{__make} clean
914%endif
915
7cafc16a
JB
916# raw is obsolete
917# wall is packaged in SysVinit-tools
442c8732 918# chfn,chsh,newgrp,vigr,vipw packaged in pwdutils / shadow
67de32db 919%configure \
920 --bindir=/bin \
921 --sbindir=/sbin \
f7f13771 922 %{?with_apidocs:--docdir=%{_gtkdocdir}} \
442c8732 923 --disable-chfn-chsh \
028b554f 924 --enable-fdformat \
f7f13771 925 %{?with_apidocs:--enable-gtk-doc} \
67de32db 926 --enable-kill \
6e84fb29 927 --enable-libblkid \
442c8732 928 --enable-libmount-support-mtab \
6e84fb29
JB
929 --enable-line \
930 --enable-login \
67de32db 931 --enable-login-chown-vcs \
442c8732
JB
932 --disable-makeinstall-chown \
933 --disable-makeinstall-setuid \
934 --disable-newgrp \
67de32db 935 --enable-partx \
028b554f 936 --enable-poman \
22a14820 937 --enable-pg \
442c8732 938 --disable-raw \
034a23bb 939 --enable-runuser%{!?with_su:=no} \
442c8732 940 --disable-silent-rules \
034a23bb 941 --enable-su%{!?with_su:=no} \
6e84fb29 942 --enable-sulogin \
232bdb1a 943 --enable-tunelp \
442c8732 944 --disable-use-tty-group \
6e84fb29 945 --enable-utmpdump \
442c8732
JB
946 --disable-vipw \
947 --disable-wall \
67de32db 948 --enable-write \
971f9098 949 --with-python=3 \
67de32db 950 --with-audit \
c017f60f 951 --with-bashcompletiondir=%{bash_compdir} \
f5001161 952 --with-selinux%{!?with_selinux:=no} \
993f4721 953 --with-smack \
0deefbb8
MK
954 --with-readline \
955 %{!?with_systemd:--without-systemd}
956
67de32db 957%{__make}
958
959%install
960rm -rf $RPM_BUILD_ROOT
14086cfb 961install -d $RPM_BUILD_ROOT/etc/{pam.d,rc.d/init.d,sysconfig,security,terminal-colors.d} \
d18bf877
JR
962 $RPM_BUILD_ROOT{/%{_lib},/var/{lock,lib/libuuid}} \
963 $RPM_BUILD_ROOT{/lib/systemd/pld-helpers.d,%{systemdunitdir}}
67de32db 964%{?with_dietlibc:install -d $RPM_BUILD_ROOT%{dietlibdir}}
965
966%{__make} install \
967 DESTDIR=$RPM_BUILD_ROOT
968
8b6144a3 969%{__mv} $RPM_BUILD_ROOT%{_sbindir}/{addpart,delpart,partx} $RPM_BUILD_ROOT/sbin
67de32db 970
3ec837fc 971cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/login
67de32db 972install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/blockdev
3ec837fc 973cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/blockdev
d18bf877
JR
974cp -p %{SOURCE12} $RPM_BUILD_ROOT%{systemdunitdir}/blockdev.service
975cp -p %{SOURCE13} $RPM_BUILD_ROOT/lib/systemd/pld-helpers.d/blockdev.sh
034a23bb 976%if %{with su}
2d2bdd48 977ln -s ../sbin/runuser $RPM_BUILD_ROOT/bin/runuser
db301a98
AM
978cp -p %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/su
979cp -p %{SOURCE7} $RPM_BUILD_ROOT/etc/pam.d/su-l
034a23bb
JB
980cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/pam.d/runuser
981cp -p %{SOURCE9} $RPM_BUILD_ROOT/etc/pam.d/runuser-l
982%endif
67de32db 983
984:> $RPM_BUILD_ROOT/etc/security/blacklist.login
985:> $RPM_BUILD_ROOT/var/lock/wtmpxlock
986:> $RPM_BUILD_ROOT%{_sysconfdir}/blkid.tab
987
c7c0c6cb 988for lib in blkid fdisk mount smartcols uuid; do
6a162ea7 989 %{__mv} $RPM_BUILD_ROOT%{_libdir}/lib${lib}.so.* $RPM_BUILD_ROOT/%{_lib}
67de32db 990 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${lib}.so.*.*.*) \
991 $RPM_BUILD_ROOT%{_libdir}/lib${lib}.so
992done
993
8b6144a3
JB
994# python module
995%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/libmount/pylibmount.la
996# obsoleted by pkg-config (libuuid.la temporarily kept because of packages built with it)
c7c0c6cb 997%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{blkid,fdisk,mount,smartcols}.la
8b6144a3 998
db37f8cd 999ln -s hwclock $RPM_BUILD_ROOT/sbin/clock
a40f6dee 1000echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/man8/clock.8
7cafc16a
JB
1001echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/de/man8/clock.8
1002echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/fr/man8/clock.8
1003echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/sr/man8/clock.8
67de32db 1004
63bd1af6 1005ln -s utmpdump $RPM_BUILD_ROOT%{_bindir}/utmpx-dump
db37f8cd 1006ln -s mkswap $RPM_BUILD_ROOT/sbin/mkfs.swap
63bd1af6 1007
7cafc16a 1008# install non-english man pages, but prefer upstream translations over Source1
67de32db 1009for d in cs de es fi fr hu id it ja ko nl pl ; do
1010 for m in man1 man5 man8 ; do
1011 if [ -d man/$d/$m ]; then
1012 install -d $RPM_BUILD_ROOT%{_mandir}/$d/$m
7cafc16a
JB
1013 for f in man/$d/$m/* ; do
1014 if [ ! -f $RPM_BUILD_ROOT%{_mandir}/$d/$m/$(basename $f) ]; then
1015 cp -p "$f" $RPM_BUILD_ROOT%{_mandir}/$d/$m
1016 fi
1017 done
67de32db 1018 fi
1019 done
1020done
7cafc16a
JB
1021
1022# obsolete
1023%{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man8/raw.8
7cafc16a
JB
1024# packaged in SysVinit-tools
1025%{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man1/wall.1
7cafc16a 1026# packaged in pwdutils / shadow
442c8732
JB
1027%{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man1/{chfn,chsh,newgrp}.1 \
1028 $RPM_BUILD_ROOT%{_mandir}/*/man8/{vigr,vipw}.8
67de32db 1029
6e84fb29
JB
1030%ifarch sparc sparcv9 sparc64
1031# programs not built on sparc
67de32db 1032%{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man8/{cfdisk,sfdisk}.8
1033%endif
1034
f7f13771 1035%if %{with apidocs}
6e84fb29 1036# examples
028b554f 1037%{__rm} $RPM_BUILD_ROOT%{_gtkdocdir}/getopt-example.{bash,tcsh}
f7f13771 1038%else
028b554f 1039%{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/getopt-example.{bash,tcsh}
f7f13771 1040%endif
6e84fb29 1041
67de32db 1042%if %{with initrd}
1043install -d $RPM_BUILD_ROOT%{_libdir}/initrd
6e84fb29
JB
1044install -p initrd/bin/* $RPM_BUILD_ROOT%{_libdir}/initrd
1045install -p initrd/sbin/* $RPM_BUILD_ROOT%{_libdir}/initrd
67de32db 1046ln -s fsck $RPM_BUILD_ROOT%{_libdir}/initrd/e2fsck
1047
1048# We don't need those
4a52de32 1049%{__rm} $RPM_BUILD_ROOT%{_libdir}/initrd/{cal,col,colcrt,colrm,column,ctrlaltdel,dmesg,flock,fsfreeze,fstrim,getopt,hexdump,ipcmk,ipcrm,ipcs,isosize,logger,lslocks,mcookie,mkfs*,readprofile,renice,rev,rtcwake,script,scriptreplay,setsid,tunelp,wdctl,whereis}
2d2bdd48 1050%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{blkid,mount}.la
67de32db 1051
1052%if %{with dietlibc}
6e84fb29 1053cp -a initrd/%{_lib}/lib*.a $RPM_BUILD_ROOT%{dietlibdir}
67de32db 1054%endif
1055%endif
1056
0057a448 1057%find_lang %{name}
67de32db 1058
1059%clean
1060rm -rf $RPM_BUILD_ROOT
1061
1062%post -n blockdev
1063/sbin/chkconfig --add blockdev
1064%service blockdev restart
d18bf877 1065%systemd_post blockdev.service
67de32db 1066
1067%preun -n blockdev
1068if [ "$1" = "0" ]; then
1069 %service blockdev stop
1070 /sbin/chkconfig --del blockdev
1071fi
d18bf877
JR
1072%systemd_preun blockdev.service
1073
1074%postun -n blockdev
1075%systemd_reload
1076
1077%triggerpostun -n blockdev -- blockdev < 2.24-4
1078%systemd_trigger blockdev.service
67de32db 1079
1080%post -n libblkid -p /sbin/ldconfig
1081%postun -n libblkid -p /sbin/ldconfig
1082
1083%post -n libuuid -p /sbin/ldconfig
1084%postun -n libuuid -p /sbin/ldconfig
1085
1086%pre -n uuidd
1087if [ "$(getgid libuuid 2>/dev/null)" = "222" ]; then
2d2bdd48 1088 /usr/sbin/groupmod -n uuidd libuuid
67de32db 1089fi
1090%groupadd -g 222 uuidd
1091if [ "$(id -u libuuid 2>/dev/null)" = "222" ]; then
2d2bdd48 1092 /usr/sbin/usermod -l uuidd libuuid
67de32db 1093fi
1094%useradd -u 222 -r -d /var/lib/libuuid -s /bin/false -c "UUID generator helper daemon" -g uuidd uuidd
1095
1096%postun -n uuidd
1097if [ "$1" = "0" ]; then
2d2bdd48
TP
1098 %userremove uuidd
1099 %groupremove uuidd
67de32db 1100fi
1101
c7c0c6cb
JB
1102%post -n libfdisk -p /sbin/ldconfig
1103%postun -n libfdisk -p /sbin/ldconfig
1104
67de32db 1105%post -n libmount -p /sbin/ldconfig
1106%postun -n libmount -p /sbin/ldconfig
1107
8b6144a3
JB
1108%post -n libsmartcols -p /sbin/ldconfig
1109%postun -n libsmartcols -p /sbin/ldconfig
1110
0057a448 1111%files -f %{name}.lang
67de32db 1112%defattr(644,root,root,755)
028b554f 1113%doc AUTHORS ChangeLog NEWS README README.licensing Documentation misc-utils/getopt-example.{bash,tcsh}
a310d05b 1114# common for many utilities (hexdump,cal,dmesg,fdisk,cfdisk - not libraries)
83c7e57e 1115%dir /etc/terminal-colors.d
a310d05b
JB
1116%{_mandir}/man5/terminal-colors.d.5*
1117%lang(de) %{_mandir}/de/man5/terminal-colors.d.5*
1118%lang(fr) %{_mandir}/fr/man5/terminal-colors.d.5*
1119%lang(sr) %{_mandir}/sr/man5/terminal-colors.d.5*
67de32db 1120
a310d05b
JB
1121# disk-utils/mkfs
1122%attr(755,root,root) /sbin/mkfs
1123%{_mandir}/man8/mkfs.8*
1124%lang(de) %{_mandir}/de/man8/mkfs.8*
1125%lang(es) %{_mandir}/es/man8/mkfs.8*
1126%lang(fr) %{_mandir}/fr/man8/mkfs.8*
1127%lang(hu) %{_mandir}/hu/man8/mkfs.8*
1128%lang(ja) %{_mandir}/ja/man8/mkfs.8*
1129%lang(ko) %{_mandir}/ko/man8/mkfs.8*
1130%lang(pl) %{_mandir}/pl/man8/mkfs.8*
1131%lang(pt_BR) %{_mandir}/pt_BR/man8/mkfs.8*
1132%lang(sr) %{_mandir}/sr/man8/mkfs.8*
7cafc16a 1133
a310d05b
JB
1134# disk-utils/mkswap
1135%attr(755,root,root) /sbin/mkfs.swap
1136%attr(755,root,root) /sbin/mkswap
1137%{_mandir}/man8/mkswap.8*
1138%lang(de) %{_mandir}/de/man8/mkswap.8*
1139%lang(es) %{_mandir}/es/man8/mkswap.8*
1140%lang(fr) %{_mandir}/fr/man8/mkswap.8*
1141%lang(hu) %{_mandir}/hu/man8/mkswap.8*
1142%lang(it) %{_mandir}/it/man8/mkswap.8*
1143%lang(ja) %{_mandir}/ja/man8/mkswap.8*
1144%lang(ko) %{_mandir}/ko/man8/mkswap.8*
1145%lang(pl) %{_mandir}/pl/man8/mkswap.8*
1146%lang(sr) %{_mandir}/sr/man8/mkswap.8*
67de32db 1147
a310d05b
JB
1148# disk-utils/bfs
1149%attr(755,root,root) /sbin/mkfs.bfs
1150%{_mandir}/man8/mkfs.bfs.8*
1151%lang(de) %{_mandir}/de/man8/mkfs.bfs.8*
1152%lang(fr) %{_mandir}/fr/man8/mkfs.bfs.8*
1153%lang(ja) %{_mandir}/ja/man8/mkfs.bfs.8*
1154%lang(pt_BR) %{_mandir}/pt_BR/man8/mkfs.bfs.8*
1155%lang(sr) %{_mandir}/sr/man8/mkfs.bfs.8*
67de32db 1156
a310d05b
JB
1157# disk-utils/cramfs
1158%attr(755,root,root) /sbin/fsck.cramfs
1159%attr(755,root,root) /sbin/mkfs.cramfs
1160%{_mandir}/man8/fsck.cramfs.8*
1161%{_mandir}/man8/mkfs.cramfs.8*
1162%lang(de) %{_mandir}/de/man8/fsck.cramfs.8*
1163%lang(de) %{_mandir}/de/man8/mkfs.cramfs.8*
1164%lang(fr) %{_mandir}/fr/man8/fsck.cramfs.8*
1165%lang(fr) %{_mandir}/fr/man8/mkfs.cramfs.8*
1166%lang(pt_BR) %{_mandir}/pt_BR/man8/fsck.cramfs.8*
1167%lang(pt_BR) %{_mandir}/pt_BR/man8/mkfs.cramfs.8*
1168%lang(sr) %{_mandir}/sr/man8/fsck.cramfs.8*
1169%lang(sr) %{_mandir}/sr/man8/mkfs.cramfs.8*
1170%lang(uk) %{_mandir}/uk/man8/fsck.cramfs.8*
67de32db 1171
a310d05b
JB
1172# disk-utils/minix
1173%attr(755,root,root) /sbin/fsck.minix
1174%attr(755,root,root) /sbin/mkfs.minix
1175%{_mandir}/man8/fsck.minix.8*
1176%{_mandir}/man8/mkfs.minix.8*
1177%lang(de) %{_mandir}/de/man8/fsck.minix.8*
1178%lang(de) %{_mandir}/de/man8/mkfs.minix.8*
1179%lang(es) %{_mandir}/es/man8/fsck.minix.8*
1180%lang(es) %{_mandir}/es/man8/mkfs.minix.8*
1181%lang(fr) %{_mandir}/fr/man8/fsck.minix.8*
1182%lang(fr) %{_mandir}/fr/man8/mkfs.minix.8*
1183%lang(ja) %{_mandir}/ja/man8/fsck.minix.8*
1184%lang(ja) %{_mandir}/ja/man8/mkfs.minix.8*
1185%lang(ko) %{_mandir}/ko/man8/fsck.minix.8*
1186%lang(ko) %{_mandir}/ko/man8/mkfs.minix.8*
1187%lang(pl) %{_mandir}/pl/man8/fsck.minix.8*
1188%lang(pl) %{_mandir}/pl/man8/mkfs.minix.8*
1189%lang(pt_BR) %{_mandir}/pt_BR/man8/fsck.minix.8*
1190%lang(pt_BR) %{_mandir}/pt_BR/man8/mkfs.minix.8*
1191%lang(sr) %{_mandir}/sr/man8/fsck.minix.8*
1192%lang(sr) %{_mandir}/sr/man8/mkfs.minix.8*
1193
1194# disk-utils/isosize
1195%attr(755,root,root) %{_bindir}/isosize
1196%{_mandir}/man8/isosize.8*
1197%lang(de) %{_mandir}/de/man8/isosize.8*
1198%lang(fr) %{_mandir}/fr/man8/isosize.8*
1199%lang(ja) %{_mandir}/ja/man8/isosize.8*
1200%lang(pt_BR) %{_mandir}/pt_BR/man8/isosize.8*
1201%lang(sr) %{_mandir}/sr/man8/isosize.8*
1202%lang(uk) %{_mandir}/uk/man8/isosize.8*
1203
1204# disk-utils/swaplabel
1205%attr(755,root,root) /sbin/swaplabel
1206%{_mandir}/man8/swaplabel.8*
1207%lang(de) %{_mandir}/de/man8/swaplabel.8*
1208%lang(fr) %{_mandir}/fr/man8/swaplabel.8*
1209%lang(pt_BR) %{_mandir}/pt_BR/man8/swaplabel.8*
1210%lang(sr) %{_mandir}/sr/man8/swaplabel.8*
1211
1212# disk-utils/fdformat
1213%attr(755,root,root) %{_sbindir}/fdformat
1214%{_mandir}/man8/fdformat.8*
1215%lang(de) %{_mandir}/de/man8/fdformat.8*
1216%lang(es) %{_mandir}/es/man8/fdformat.8*
1217%lang(fr) %{_mandir}/fr/man8/fdformat.8*
1218%lang(hu) %{_mandir}/hu/man8/fdformat.8*
1219%lang(id) %{_mandir}/id/man8/fdformat.8*
1220%lang(ja) %{_mandir}/ja/man8/fdformat.8*
1221%lang(ko) %{_mandir}/ko/man8/fdformat.8*
1222%lang(pl) %{_mandir}/pl/man8/fdformat.8*
1223%lang(pt_BR) %{_mandir}/pt_BR/man8/fdformat.8*
1224%lang(sr) %{_mandir}/sr/man8/fdformat.8*
1225%lang(uk) %{_mandir}/uk/man8/fdformat.8*
1226
1227# disk-utils/fdisk
1228%attr(755,root,root) /sbin/fdisk
1229%{_mandir}/man8/fdisk.8*
1230%lang(de) %{_mandir}/de/man8/fdisk.8*
1231%lang(es) %{_mandir}/es/man8/fdisk.8*
1232%lang(fr) %{_mandir}/fr/man8/fdisk.8*
1233%lang(it) %{_mandir}/it/man8/fdisk.8*
1234%lang(ja) %{_mandir}/ja/man8/fdisk.8*
1235%lang(ko) %{_mandir}/ko/man8/fdisk.8*
1236%lang(pl) %{_mandir}/pl/man8/fdisk.8*
1237%lang(pt_BR) %{_mandir}/pt_BR/man8/fdisk.8*
1238%lang(sr) %{_mandir}/sr/man8/fdisk.8*
1239
1240# disk-utils/cfdisk,sfdisk
1241%ifnarch sparc sparc64
1242%attr(755,root,root) /sbin/cfdisk
1243%attr(755,root,root) /sbin/sfdisk
1244%{_mandir}/man8/cfdisk.8*
1245%{_mandir}/man8/sfdisk.8*
1246%lang(de) %{_mandir}/de/man8/cfdisk.8*
1247%lang(de) %{_mandir}/de/man8/sfdisk.8*
1248%lang(fr) %{_mandir}/fr/man8/cfdisk.8*
1249%lang(fr) %{_mandir}/fr/man8/sfdisk.8*
1250%lang(it) %{_mandir}/it/man8/cfdisk.8*
1251%lang(ja) %{_mandir}/ja/man8/cfdisk.8*
1252%lang(ja) %{_mandir}/ja/man8/sfdisk.8*
1253%lang(pt_BR) %{_mandir}/pt_BR/man8/cfdisk.8*
1254%lang(pt_BR) %{_mandir}/pt_BR/man8/sfdisk.8*
1255%lang(sr) %{_mandir}/sr/man8/cfdisk.8*
1256%lang(sr) %{_mandir}/sr/man8/sfdisk.8*
1257%lang(uk) %{_mandir}/uk/man8/cfdisk.8*
1258%endif
ed1c99f8 1259
a310d05b 1260# disk-utils/partx
2e2cdb35 1261%attr(755,root,root) /sbin/addpart
67de32db 1262%attr(755,root,root) /sbin/delpart
4a52de32 1263%attr(755,root,root) /sbin/partx
a310d05b
JB
1264%attr(755,root,root) %{_sbindir}/resizepart
1265%{_mandir}/man8/addpart.8*
1266%{_mandir}/man8/delpart.8*
1267%{_mandir}/man8/partx.8*
1268%{_mandir}/man8/resizepart.8*
1269%lang(de) %{_mandir}/de/man8/addpart.8*
1270%lang(de) %{_mandir}/de/man8/delpart.8*
1271%lang(de) %{_mandir}/de/man8/partx.8*
1272%lang(de) %{_mandir}/de/man8/resizepart.8*
1273%lang(es) %{_mandir}/es/man8/addpart.8*
1274%lang(es) %{_mandir}/es/man8/delpart.8*
1275%lang(es) %{_mandir}/es/man8/resizepart.8*
1276%lang(fr) %{_mandir}/fr/man8/addpart.8*
1277%lang(fr) %{_mandir}/fr/man8/delpart.8*
1278%lang(fr) %{_mandir}/fr/man8/partx.8*
1279%lang(fr) %{_mandir}/fr/man8/resizepart.8*
1280%lang(pt_BR) %{_mandir}/pt_BR/man8/addpart.8*
1281%lang(pt_BR) %{_mandir}/pt_BR/man8/delpart.8*
1282%lang(pt_BR) %{_mandir}/pt_BR/man8/partx.8*
1283%lang(pt_BR) %{_mandir}/pt_BR/man8/resizepart.8*
1284%lang(sr) %{_mandir}/sr/man8/addpart.8*
1285%lang(sr) %{_mandir}/sr/man8/delpart.8*
1286%lang(sr) %{_mandir}/sr/man8/partx.8*
1287%lang(sr) %{_mandir}/sr/man8/resizepart.8*
1288%lang(uk) %{_mandir}/uk/man8/addpart.8*
1289%lang(uk) %{_mandir}/uk/man8/delpart.8*
1290%lang(uk) %{_mandir}/uk/man8/resizepart.8*
1291
1292# login-utils/last
971f9098
AM
1293%attr(755,root,root) %{_bindir}/last
1294%attr(755,root,root) %{_bindir}/lastb
a310d05b
JB
1295%{_mandir}/man1/last.1*
1296%{_mandir}/man1/lastb.1*
1297%lang(de) %{_mandir}/de/man1/last.1*
1298%lang(de) %{_mandir}/de/man1/lastb.1*
1299%lang(es) %{_mandir}/es/man1/last.1*
1300%lang(es) %{_mandir}/es/man1/lastb.1*
1301%lang(fr) %{_mandir}/fr/man1/last.1*
1302%lang(fr) %{_mandir}/fr/man1/lastb.1*
1303%lang(sr) %{_mandir}/sr/man1/last.1*
1304%lang(sr) %{_mandir}/sr/man1/lastb.1*
1305
1306# login-utils/sulogin
1307%attr(755,root,root) /sbin/sulogin
1308%{_mandir}/man8/sulogin.8*
1309%lang(de) %{_mandir}/de/man8/sulogin.8*
1310%lang(fr) %{_mandir}/fr/man8/sulogin.8*
1311%lang(sr) %{_mandir}/sr/man8/sulogin.8*
1312
1313# login-utils/nologin
1314%attr(755,root,root) /sbin/nologin
1315%{_mandir}/man8/nologin.8*
1316%lang(de) %{_mandir}/de/man8/nologin.8*
1317%lang(sr) %{_mandir}/sr/man8/nologin.8*
1318
1319# login-utils/utmpdump
4fa9d824 1320%attr(755,root,root) %{_bindir}/utmpdump
63bd1af6 1321%attr(755,root,root) %{_bindir}/utmpx-dump
a310d05b
JB
1322%{_mandir}/man1/utmpdump.1*
1323%lang(de) %{_mandir}/de/man1/utmpdump.1*
1324%lang(fr) %{_mandir}/fr/man1/utmpdump.1*
1325%lang(sr) %{_mandir}/sr/man1/utmpdump.1*
1326# no longer used?
1327%ghost /var/lock/wtmpxlock
67de32db 1328
a310d05b
JB
1329# login-utils/runuser,su
1330%if %{with su}
1331%attr(755,root,root) /bin/runuser
1332%attr(755,root,root) /sbin/runuser
1333%attr(4755,root,root) /bin/su
1334%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/runuser
1335%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/runuser-l
1336%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/su
1337%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/su-l
1338%{_mandir}/man1/runuser.1*
1339%{_mandir}/man1/su.1*
1340%lang(de) %{_mandir}/de/man1/runuser.1*
1341%lang(de) %{_mandir}/de/man1/su.1*
1342%lang(fr) %{_mandir}/fr/man1/runuser.1*
1343%lang(sr) %{_mandir}/sr/man1/runuser.1*
1344%lang(sr) %{_mandir}/sr/man1/su.1*
0deefbb8 1345%endif
8b6144a3 1346
a310d05b
JB
1347# login-utils/lslogins
1348%attr(755,root,root) %{_bindir}/lslogins
1349%{_mandir}/man1/lslogins.1*
1350%lang(de) %{_mandir}/de/man1/lslogins.1*
1351%lang(sr) %{_mandir}/sr/man1/lslogins.1*
1352
1353# misc-utils/cal
1354%attr(755,root,root) %{_bindir}/cal
67de32db 1355%{_mandir}/man1/cal.1*
a310d05b
JB
1356%lang(de) %{_mandir}/de/man1/cal.1*
1357%lang(fi) %{_mandir}/fi/man1/cal.1*
1358%lang(fr) %{_mandir}/fr/man1/cal.1*
1359%lang(hu) %{_mandir}/hu/man1/cal.1*
1360%lang(id) %{_mandir}/id/man1/cal.1*
1361%lang(ja) %{_mandir}/ja/man1/cal.1*
1362%lang(ko) %{_mandir}/ko/man1/cal.1*
1363%lang(pl) %{_mandir}/pl/man1/cal.1*
1364%lang(sr) %{_mandir}/sr/man1/cal.1*
1365
1366# misc-utils/logger
1367%attr(755,root,root) %{_bindir}/logger
67de32db 1368%{_mandir}/man1/logger.1*
a310d05b
JB
1369%lang(de) %{_mandir}/de/man1/logger.1*
1370%lang(fr) %{_mandir}/fr/man1/logger.1*
1371%lang(hu) %{_mandir}/hu/man1/logger.1*
1372%lang(id) %{_mandir}/id/man1/logger.1*
1373%lang(ja) %{_mandir}/ja/man1/logger.1*
1374%lang(ko) %{_mandir}/ko/man1/logger.1*
1375%lang(pl) %{_mandir}/pl/man1/logger.1*
1376%lang(sr) %{_mandir}/sr/man1/logger.1*
1377
1378# misc/utils/look
1379%attr(755,root,root) %{_bindir}/look
67de32db 1380%{_mandir}/man1/look.1*
a310d05b
JB
1381%lang(de) %{_mandir}/de/man1/look.1*
1382%lang(es) %{_mandir}/es/man1/look.1*
1383%lang(ja) %{_mandir}/ja/man1/look.1*
1384%lang(ko) %{_mandir}/ko/man1/look.1*
1385%lang(pl) %{_mandir}/pl/man1/look.1*
1386%lang(sr) %{_mandir}/sr/man1/look.1*
1387
1388# misc-utils/mcookie
1389%attr(755,root,root) %{_bindir}/mcookie
67de32db 1390%{_mandir}/man1/mcookie.1*
a310d05b
JB
1391%lang(de) %{_mandir}/de/man1/mcookie.1*
1392%lang(fr) %{_mandir}/fr/man1/mcookie.1*
1393%lang(ja) %{_mandir}/ja/man1/mcookie.1*
1394%lang(ko) %{_mandir}/ko/man1/mcookie.1*
1395%lang(sr) %{_mandir}/sr/man1/mcookie.1*
1396
1397# misc-utils/namei
1398%attr(755,root,root) %{_bindir}/namei
67de32db 1399%{_mandir}/man1/namei.1*
a310d05b
JB
1400%lang(de) %{_mandir}/de/man1/namei.1*
1401%lang(es) %{_mandir}/es/man1/namei.1*
1402%lang(fr) %{_mandir}/fr/man1/namei.1*
1403%lang(ja) %{_mandir}/ja/man1/namei.1*
1404%lang(ko) %{_mandir}/ko/man1/namei.1*
1405%lang(sr) %{_mandir}/sr/man1/namei.1*
1406
1407# misc-utils/whereis
1408%attr(755,root,root) %{_bindir}/whereis
67de32db 1409%{_mandir}/man1/whereis.1*
a310d05b
JB
1410%lang(de) %{_mandir}/de/man1/whereis.1*
1411%lang(es) %{_mandir}/es/man1/whereis.1*
1412%lang(fi) %{_mandir}/fi/man1/whereis.1*
1413%lang(fr) %{_mandir}/fr/man1/whereis.1*
1414%lang(hu) %{_mandir}/hu/man1/whereis.1*
1415%lang(ja) %{_mandir}/ja/man1/whereis.1*
1416%lang(ko) %{_mandir}/ko/man1/whereis.1*
1417%lang(pl) %{_mandir}/pl/man1/whereis.1*
1418%lang(sr) %{_mandir}/sr/man1/whereis.1*
1419
1420# misc-utils/lslocks
1421%attr(755,root,root) %{_bindir}/lslocks
4fa9d824 1422%{_mandir}/man8/lslocks.8*
a310d05b
JB
1423%lang(de) %{_mandir}/de/man8/lslocks.8*
1424%lang(fr) %{_mandir}/fr/man8/lslocks.8*
1425%lang(sr) %{_mandir}/sr/man8/lslocks.8*
1426
1427# misc-utils/lsblk
1428%attr(755,root,root) /bin/lsblk
1429%{_mandir}/man8/lsblk.8*
1430%lang(de) %{_mandir}/de/man8/lsblk.8*
1431%lang(fr) %{_mandir}/fr/man8/lsblk.8*
1432%lang(sr) %{_mandir}/sr/man8/lsblk.8*
1433
1434# misc-utils/uuidparse
1435%attr(755,root,root) %{_bindir}/uuidparse
1436%{_mandir}/man1/uuidparse.1*
1437%lang(de) %{_mandir}/de/man1/uuidparse.1*
1438%lang(sr) %{_mandir}/sr/man1/uuidparse.1*
1439
1440# misc-utils/blkid
1441%ghost %{_sysconfdir}/blkid.tab
1442%attr(755,root,root) /sbin/blkid
1443%{_mandir}/man8/blkid.8*
1444%lang(de) %{_mandir}/de/man8/blkid.8*
1445%lang(fr) %{_mandir}/fr/man8/blkid.8*
1446%lang(sr) %{_mandir}/sr/man8/blkid.8*
1447
1448# misc-utils/findfs
1449%attr(755,root,root) /sbin/findfs
1450%{_mandir}/man8/findfs.8*
1451%lang(de) %{_mandir}/de/man8/findfs.8*
1452%lang(fr) %{_mandir}/fr/man8/findfs.8*
1453%lang(sr) %{_mandir}/sr/man8/findfs.8*
1454
1455# misc-utils/wipefs
1456%attr(755,root,root) /sbin/wipefs
67de32db 1457%{_mandir}/man8/wipefs.8*
a310d05b
JB
1458%lang(de) %{_mandir}/de/man8/wipefs.8*
1459%lang(sr) %{_mandir}/sr/man8/wipefs.8*
1460
1461# misc-utils/kill
1462%attr(755,root,root) /bin/kill
1463%{_mandir}/man1/kill.1*
67de32db 1464%lang(de) %{_mandir}/de/man1/kill.1*
a310d05b
JB
1465%lang(fi) %{_mandir}/fi/man1/kill.1*
1466%lang(fr) %{_mandir}/fr/man1/kill.1*
1467%lang(hu) %{_mandir}/hu/man1/kill.1*
1468%lang(id) %{_mandir}/id/man1/kill.1*
1469%lang(it) %{_mandir}/it/man1/kill.1*
1470%lang(ja) %{_mandir}/ja/man1/kill.1*
1471%lang(ko) %{_mandir}/ko/man1/kill.1*
1472%lang(nl) %{_mandir}/nl/man1/kill.1*
1473%lang(pl) %{_mandir}/pl/man1/kill.1*
1474%lang(sr) %{_mandir}/sr/man1/kill.1*
1475
1476# misc-utils/rename
1477%attr(755,root,root) %{_bindir}/rename
1478%{_mandir}/man1/rename.1*
7cafc16a 1479%lang(de) %{_mandir}/de/man1/rename.1*
a310d05b
JB
1480%lang(fr) %{_mandir}/fr/man1/rename.1*
1481%lang(ja) %{_mandir}/ja/man1/rename.1*
1482%lang(sr) %{_mandir}/sr/man1/rename.1*
1483
1484# misc-utils/getopt
1485%attr(755,root,root) %{_bindir}/getopt
1486%{_mandir}/man1/getopt.1*
1487%lang(de) %{_mandir}/de/man1/getopt.1*
1488%lang(es) %{_mandir}/es/man1/getopt.1*
1489%lang(fr) %{_mandir}/fr/man1/getopt.1*
1490%lang(ja) %{_mandir}/ja/man1/getopt.1*
1491%lang(ko) %{_mandir}/ko/man1/getopt.1*
1492%lang(pl) %{_mandir}/pl/man1/getopt.1*
1493%lang(sr) %{_mandir}/sr/man1/getopt.1*
1494
1495# misc-utils/fincore
1496%attr(755,root,root) %{_bindir}/fincore
1497%{_mandir}/man1/fincore.1*
1498%lang(de) %{_mandir}/de/man1/fincore.1*
1499%lang(sr) %{_mandir}/sr/man1/fincore.1*
1500
1501# misc-utils/hardlink
1502%attr(755,root,root) %{_bindir}/hardlink
1503%{_mandir}/man1/hardlink.1*
1504%lang(de) %{_mandir}/de/man1/hardlink.1*
1505
1506# misc-utils/lsfd
1507%attr(755,root,root) /bin/lsfd
1508%{_mandir}/man1/lsfd.1*
1509%lang(de) %{_mandir}/de/man1/lsfd.1*
1510
1511# schedutils/chrt
1512%attr(755,root,root) %{_bindir}/chrt
1513%{_mandir}/man1/chrt.1*
1514%lang(de) %{_mandir}/de/man1/chrt.1*
1515%lang(fr) %{_mandir}/fr/man1/chrt.1*
1516%lang(sr) %{_mandir}/sr/man1/chrt.1*
1517
1518# schedutils/ionice
1519%attr(755,root,root) %{_bindir}/ionice
1520%{_mandir}/man1/ionice.1*
1521%lang(de) %{_mandir}/de/man1/ionice.1*
1522%lang(fr) %{_mandir}/fr/man1/ionice.1*
1523%lang(sr) %{_mandir}/sr/man1/ionice.1*
1524
1525# schedutils/taskset
1526%attr(755,root,root) %{_bindir}/taskset
1527%{_mandir}/man1/taskset.1*
028b554f 1528%lang(de) %{_mandir}/de/man1/taskset.1*
a310d05b
JB
1529%lang(fr) %{_mandir}/fr/man1/taskset.1*
1530%lang(sr) %{_mandir}/sr/man1/taskset.1*
1531
1532# schedutils/uclampset
1533%attr(755,root,root) %{_bindir}/uclampset
1534%{_mandir}/man1/uclampset.1*
7cafc16a 1535%lang(de) %{_mandir}/de/man1/uclampset.1*
a310d05b
JB
1536%lang(sr) %{_mandir}/sr/man1/uclampset.1*
1537
1538# sys-utils/lsmem
1539%attr(755,root,root) %{_bindir}/lsmem
1540%{_mandir}/man1/lsmem.1*
1541%lang(de) %{_mandir}/de/man1/lsmem.1*
1542%lang(sr) %{_mandir}/sr/man1/lsmem.1*
1543
1544# sys-utils/chmem
1545%{_mandir}/man8/chmem.8*
1546%attr(755,root,root) %{_bindir}/chmem
7cafc16a 1547%lang(de) %{_mandir}/de/man8/chmem.8*
a310d05b
JB
1548%lang(sr) %{_mandir}/sr/man8/chmem.8*
1549
1550# sys-utils/flock
1551%attr(755,root,root) %{_bindir}/flock
1552%{_mandir}/man1/flock.1*
1553%lang(de) %{_mandir}/de/man1/flock.1*
1554%lang(fr) %{_mandir}/fr/man1/flock.1*
1555%lang(sr) %{_mandir}/sr/man1/flock.1*
1556
1557# sys-utils/choom
1558%attr(755,root,root) %{_bindir}/choom
1559%{_mandir}/man1/choom.1*
1560%lang(de) %{_mandir}/de/man1/choom.1*
1561%lang(sr) %{_mandir}/sr/man1/choom.1*
1562
1563# sys-utils/ipcmk,ipcrm,ipcs
1564%attr(755,root,root) %{_bindir}/ipcmk
1565%attr(755,root,root) %{_bindir}/ipcrm
1566%attr(755,root,root) %{_bindir}/ipcs
1567%{_mandir}/man1/ipcrm.1*
1568%{_mandir}/man1/ipcmk.1*
1569%{_mandir}/man1/ipcs.1*
1570%lang(de) %{_mandir}/de/man1/ipcmk.1*
1571%lang(de) %{_mandir}/de/man1/ipcrm.1*
1572%lang(de) %{_mandir}/de/man1/ipcs.1*
d55244da
JB
1573%lang(es) %{_mandir}/es/man1/ipcrm.1*
1574%lang(es) %{_mandir}/es/man1/ipcs.1*
7cafc16a
JB
1575%lang(fr) %{_mandir}/fr/man1/ipcmk.1*
1576%lang(fr) %{_mandir}/fr/man1/ipcrm.1*
1577%lang(fr) %{_mandir}/fr/man1/ipcs.1*
d55244da
JB
1578%lang(ja) %{_mandir}/ja/man1/ipcrm.1*
1579%lang(ja) %{_mandir}/ja/man1/ipcs.1*
1580%lang(ko) %{_mandir}/ko/man1/ipcrm.1*
1581%lang(ko) %{_mandir}/ko/man1/ipcs.1*
1582%lang(pl) %{_mandir}/pl/man1/ipcrm.1*
1583%lang(pl) %{_mandir}/pl/man1/ipcs.1*
7cafc16a
JB
1584%lang(sr) %{_mandir}/sr/man1/ipcmk.1*
1585%lang(sr) %{_mandir}/sr/man1/ipcrm.1*
1586%lang(sr) %{_mandir}/sr/man1/ipcs.1*
a310d05b
JB
1587
1588# sys-utils/irqtop
1589%attr(755,root,root) %{_bindir}/irqtop
1590%{_mandir}/man1/irqtop.1*
1591%lang(de) %{_mandir}/de/man1/irqtop.1*
7cafc16a 1592%lang(sr) %{_mandir}/sr/man1/irqtop.1*
a310d05b
JB
1593
1594# sys-utils/lsirq
1595%attr(755,root,root) %{_bindir}/lsirq
1596%{_mandir}/man1/lsirq.1*
1597%lang(de) %{_mandir}/de/man1/lsirq.1*
7cafc16a 1598%lang(sr) %{_mandir}/sr/man1/lsirq.1*
a310d05b
JB
1599
1600# sys-utils/lsipc
1601%attr(755,root,root) %{_bindir}/lsipc
1602%{_mandir}/man1/lsipc.1*
1603%lang(de) %{_mandir}/de/man1/lsipc.1*
1604%lang(sr) %{_mandir}/sr/man1/lsipc.1*
1605
1606# sys-utils/renice
1607%attr(755,root,root) %{_bindir}/renice
1608%{_mandir}/man1/renice.1*
1609%lang(de) %{_mandir}/de/man1/renice.1*
1610%lang(es) %{_mandir}/es/man1/renice.1*
a310d05b 1611%lang(fr) %{_mandir}/fr/man1/renice.1*
d55244da
JB
1612%lang(ja) %{_mandir}/ja/man1/renice.1*
1613%lang(ko) %{_mandir}/ko/man1/renice.1*
1614%lang(pl) %{_mandir}/pl/man1/renice.1*
7cafc16a 1615%lang(sr) %{_mandir}/sr/man1/renice.1*
a310d05b
JB
1616
1617# sys-utils/rfkill
1618%attr(755,root,root) %{_sbindir}/rfkill
1619%{_mandir}/man8/rfkill.8*
1620%lang(de) %{_mandir}/de/man8/rfkill.8*
1621%lang(sr) %{_mandir}/sr/man8/rfkill.8*
1622
1623# sys-utils/setsid
1624%attr(755,root,root) %{_bindir}/setsid
1625%{_mandir}/man1/setsid.1*
1626%lang(de) %{_mandir}/de/man1/setsid.1*
1627%lang(es) %{_mandir}/es/man1/setsid.1*
a310d05b 1628%lang(fr) %{_mandir}/fr/man1/setsid.1*
d55244da
JB
1629%lang(it) %{_mandir}/it/man1/setsid.1*
1630%lang(ja) %{_mandir}/ja/man1/setsid.1*
1631%lang(ko) %{_mandir}/ko/man1/setsid.1*
7cafc16a 1632%lang(sr) %{_mandir}/sr/man1/setsid.1*
a310d05b
JB
1633
1634# sys-utils/readprofile
1635%attr(755,root,root) %{_sbindir}/readprofile
1636%{_mandir}/man8/readprofile.8*
1637%lang(de) %{_mandir}/de/man8/readprofile.8*
1638%lang(es) %{_mandir}/es/man8/readprofile.8*
1639%lang(fr) %{_mandir}/fr/man8/readprofile.8*
1640%lang(ja) %{_mandir}/ja/man8/readprofile.8*
1641%lang(ko) %{_mandir}/ko/man8/readprofile.8*
1642%lang(sr) %{_mandir}/sr/man8/readprofile.8*
1643
1644# sys-utils/fstrim
1645%attr(755,root,root) /sbin/fstrim
1646%if %{with systemd}
1647%{systemdunitdir}/fstrim.service
1648%{systemdunitdir}/fstrim.timer
1649%endif
1650%{_mandir}/man8/fstrim.8*
1651%lang(de) %{_mandir}/de/man8/fstrim.8*
1652%lang(fr) %{_mandir}/fr/man8/fstrim.8*
1653%lang(sr) %{_mandir}/sr/man8/fstrim.8*
1654
1655# sys-utils/dmesg
1656%attr(755,root,root) /bin/dmesg
1657%{_mandir}/man1/dmesg.1*
1658%lang(de) %{_mandir}/de/man1/dmesg.1*
1659%lang(fr) %{_mandir}/fr/man1/dmesg.1*
d55244da
JB
1660%lang(ja) %{_mandir}/ja/man1/dmesg.1*
1661%lang(ko) %{_mandir}/ko/man1/dmesg.1*
1662%lang(pl) %{_mandir}/pl/man1/dmesg.1*
a310d05b
JB
1663%lang(sr) %{_mandir}/sr/man1/dmesg.1*
1664
1665# sys-utils/ctrlaltdel
1666%attr(755,root,root) /sbin/ctrlaltdel
1667%{_mandir}/man8/ctrlaltdel.8*
1668%lang(de) %{_mandir}/de/man8/ctrlaltdel.8*
1669%lang(es) %{_mandir}/es/man8/ctrlaltdel.8*
1670%lang(fr) %{_mandir}/fr/man8/ctrlaltdel.8*
1671%lang(hu) %{_mandir}/hu/man8/ctrlaltdel.8*
1672%lang(ja) %{_mandir}/ja/man8/ctrlaltdel.8*
1673%lang(ko) %{_mandir}/ko/man8/ctrlaltdel.8*
1674%lang(pl) %{_mandir}/pl/man8/ctrlaltdel.8*
7cafc16a 1675%lang(sr) %{_mandir}/sr/man8/ctrlaltdel.8*
a310d05b
JB
1676
1677# sys-utils/fsfreeze
1678%attr(755,root,root) /sbin/fsfreeze
1679%{_mandir}/man8/fsfreeze.8*
1680%lang(de) %{_mandir}/de/man8/fsfreeze.8*
1681%lang(fr) %{_mandir}/fr/man8/fsfreeze.8*
7cafc16a 1682%lang(sr) %{_mandir}/sr/man8/fsfreeze.8*
a310d05b
JB
1683
1684# sys-utils/blkdiscard
1685%attr(755,root,root) /sbin/blkdiscard
1686%{_mandir}/man8/blkdiscard.8*
1687%lang(de) %{_mandir}/de/man8/blkdiscard.8*
1688%lang(fr) %{_mandir}/fr/man8/blkdiscard.8*
1689%lang(sr) %{_mandir}/sr/man8/blkdiscard.8*
1690
1691# sys-utils/blkzone
1692%attr(755,root,root) /sbin/blkzone
1693%{_mandir}/man8/blkzone.8*
1694%lang(de) %{_mandir}/de/man8/blkzone.8*
1695%lang(sr) %{_mandir}/sr/man8/blkzone.8*
1696
1697# sys-utils/ldattach
1698%attr(755,root,root) %{_sbindir}/ldattach
1699%{_mandir}/man8/ldattach.8*
1700%lang(de) %{_mandir}/de/man8/ldattach.8*
1701%lang(fr) %{_mandir}/fr/man8/ldattach.8*
7cafc16a 1702%lang(sr) %{_mandir}/sr/man8/ldattach.8*
a310d05b
JB
1703
1704# sys-utils/rtcwake
1705%attr(755,root,root) %{_sbindir}/rtcwake
1706%{_mandir}/man8/rtcwake.8*
1707%lang(de) %{_mandir}/de/man8/rtcwake.8*
1708%lang(fr) %{_mandir}/fr/man8/rtcwake.8*
7cafc16a 1709%lang(sr) %{_mandir}/sr/man8/rtcwake.8*
a310d05b
JB
1710
1711# sys-utils/setarch
1712%attr(755,root,root) %{_bindir}/linux32
1713%attr(755,root,root) %{_bindir}/linux64
1714%attr(755,root,root) %{_bindir}/setarch
1715%attr(755,root,root) %{_bindir}/uname26
1716%{_mandir}/man8/linux32.8*
1717%{_mandir}/man8/linux64.8*
1718%{_mandir}/man8/setarch.8*
1719%{_mandir}/man8/uname26.8*
1720%lang(de) %{_mandir}/de/man8/setarch.8*
1721%lang(fr) %{_mandir}/fr/man8/setarch.8*
1722%lang(sr) %{_mandir}/sr/man8/setarch.8*
1723%ifarch s390 s390x
1724%attr(755,root,root) %{_bindir}/s390
1725%attr(755,root,root) %{_bindir}/s390x
1726%{_mandir}/man8/s390.8*
1727%{_mandir}/man8/s390x.8*
1728%endif
1729%ifarch %{ix86} %{x8664} x32 ia64
1730%attr(755,root,root) %{_bindir}/i386
1731%{_mandir}/man8/i386.8*
1732%endif
1733%ifarch %{x8664} x32
1734%attr(755,root,root) %{_bindir}/x86_64
1735%{_mandir}/man8/x86_64.8*
1736%endif
1737%ifarch hppa
1738%attr(755,root,root) %{_bindir}/parisc
1739%attr(755,root,root) %{_bindir}/parisc32
1740%attr(755,root,root) %{_bindir}/parisc64
1741%{_mandir}/man8/parisc.8*
1742%{_mandir}/man8/parisc32.8*
1743%{_mandir}/man8/parisc64.8*
1744%endif
1745%ifarch ia64
1746%attr(755,root,root) %{_bindir}/ia64
1747%{_mandir}/man8/ia64.8*
1748%endif
1749%ifarch mips mipsel mips64 mips64el
1750%attr(755,root,root) %{_bindir}/mips
1751%attr(755,root,root) %{_bindir}/mips32
1752%attr(755,root,root) %{_bindir}/mips64
1753%{_mandir}/man8/mips.8*
1754%{_mandir}/man8/mips32.8*
1755%{_mandir}/man8/mips64.8*
1756%endif
1757%ifarch ppc ppc64
1758%attr(755,root,root) %{_bindir}/ppc
1759%attr(755,root,root) %{_bindir}/ppc32
1760%attr(755,root,root) %{_bindir}/ppc64
1761%{_mandir}/man8/ppc.8*
1762%{_mandir}/man8/ppc32.8*
1763%{_mandir}/man8/ppc64.8*
1764%endif
1765%ifarch sparc sparcv9 sparc64
1766%attr(755,root,root) %{_bindir}/sparc
1767%attr(755,root,root) %{_bindir}/sparc32
1768%attr(755,root,root) %{_bindir}/sparc32bash
1769%attr(755,root,root) %{_bindir}/sparc64
1770%{_mandir}/man8/sparc.8*
1771%{_mandir}/man8/sparc32.8*
1772%{_mandir}/man8/sparc32bash.8*
1773%{_mandir}/man8/sparc64.8*
1774%endif
1775
1776# sys-utils/eject
1777%attr(755,root,root) %{_bindir}/eject
1778%{_mandir}/man1/eject.1*
1779%lang(de) %{_mandir}/de/man1/eject.1*
1780%lang(sr) %{_mandir}/sr/man1/eject.1*
1781
1782# sys-utils/zramctl
1783%attr(755,root,root) /sbin/zramctl
1784%{_mandir}/man8/zramctl.8*
1785%lang(de) %{_mandir}/de/man8/zramctl.8*
7cafc16a 1786%lang(sr) %{_mandir}/sr/man8/zramctl.8*
67de32db 1787
a310d05b
JB
1788# sys-utils/prlimit
1789%attr(755,root,root) %{_bindir}/prlimit
1790%{_mandir}/man1/prlimit.1*
1791%lang(de) %{_mandir}/de/man1/prlimit.1*
1792%lang(fr) %{_mandir}/fr/man1/prlimit.1*
1793%lang(sr) %{_mandir}/sr/man1/prlimit.1*
7cafc16a 1794
a310d05b
JB
1795# sys-utils/lsns
1796%attr(755,root,root) %{_bindir}/lsns
1797%{_mandir}/man8/lsns.8*
1798%lang(de) %{_mandir}/de/man8/lsns.8*
1799%lang(sr) %{_mandir}/sr/man8/lsns.8*
1800
1801# sys-utils/lscpu
1802%attr(755,root,root) %{_bindir}/lscpu
1803%{_mandir}/man1/lscpu.1*
1804%lang(de) %{_mandir}/de/man1/lscpu.1*
1805%lang(fr) %{_mandir}/fr/man1/lscpu.1*
1806%lang(sr) %{_mandir}/sr/man1/lscpu.1*
1807
1808# sys-utils/chcpu
1809%attr(755,root,root) /sbin/chcpu
1810%{_mandir}/man8/chcpu.8*
1811%lang(de) %{_mandir}/de/man8/chcpu.8*
1812%lang(fr) %{_mandir}/fr/man8/chcpu.8*
1813%lang(sr) %{_mandir}/sr/man8/chcpu.8*
1814
1815# sys-utils/wdctl
1816%attr(755,root,root) /bin/wdctl
1817%{_mandir}/man8/wdctl.8*
1818%lang(de) %{_mandir}/de/man8/wdctl.8*
1819%lang(fr) %{_mandir}/fr/man8/wdctl.8*
1820%lang(sr) %{_mandir}/sr/man8/wdctl.8*
1821
1822# sys-utils/fallocate
1823%attr(755,root,root) %{_bindir}/fallocate
1824%{_mandir}/man1/fallocate.1*
1825%lang(de) %{_mandir}/de/man1/fallocate.1*
1826%lang(fr) %{_mandir}/fr/man1/fallocate.1*
1827%lang(sr) %{_mandir}/sr/man1/fallocate.1*
1828
1829# sys-utils/switch_root
1830%attr(755,root,root) /sbin/switch_root
1831%{_mandir}/man8/switch_root.8*
1832%lang(de) %{_mandir}/de/man8/switch_root.8*
1833%lang(fr) %{_mandir}/fr/man8/switch_root.8*
1834%lang(sr) %{_mandir}/sr/man8/switch_root.8*
1835
1836# sys-utils/unshare
1837%attr(755,root,root) %{_bindir}/unshare
1838%{_mandir}/man1/unshare.1*
1839%lang(de) %{_mandir}/de/man1/unshare.1*
1840%lang(fr) %{_mandir}/fr/man1/unshare.1*
1841%lang(sr) %{_mandir}/sr/man1/unshare.1*
1842
1843# sys-utils/nsenter
1844%attr(755,root,root) %{_bindir}/nsenter
1845%{_mandir}/man1/nsenter.1*
1846%lang(de) %{_mandir}/de/man1/nsenter.1*
1847%lang(fr) %{_mandir}/fr/man1/nsenter.1*
1848%lang(sr) %{_mandir}/sr/man1/nsenter.1*
1849
1850# sys-utils/hwclock
1851%attr(755,root,root) /sbin/clock
1852%attr(755,root,root) /sbin/hwclock
1853%{_mandir}/man5/adjtime_config.5*
1854%{_mandir}/man8/clock.8*
1855%{_mandir}/man8/hwclock.8*
1856%lang(de) %{_mandir}/de/man5/adjtime_config.5*
1857%lang(de) %{_mandir}/de/man8/clock.8*
1858%lang(de) %{_mandir}/de/man8/hwclock.8*
1859%lang(es) %{_mandir}/es/man8/clock.8*
1860%lang(es) %{_mandir}/es/man8/hwclock.8*
1861%lang(fr) %{_mandir}/fr/man8/clock.8*
1862%lang(fr) %{_mandir}/fr/man8/hwclock.8*
1863%lang(ja) %{_mandir}/ja/man8/clock.8*
1864%lang(ja) %{_mandir}/ja/man8/hwclock.8*
1865%lang(sr) %{_mandir}/sr/man5/adjtime_config.5*
1866%lang(sr) %{_mandir}/sr/man8/clock.8*
1867%lang(sr) %{_mandir}/sr/man8/hwclock.8*
1868
1869# sys-utils/serpriv
1870%attr(755,root,root) %{_bindir}/setpriv
1871%{_mandir}/man1/setpriv.1*
1872%lang(de) %{_mandir}/de/man1/setpriv.1*
1873%lang(sr) %{_mandir}/sr/man1/setpriv.1*
1874
1875# term-utils/script,scriptreplay,scriptlive
1876%attr(755,root,root) %{_bindir}/script
1877%attr(755,root,root) %{_bindir}/scriptlive
1878%attr(755,root,root) %{_bindir}/scriptreplay
1879%{_mandir}/man1/script.1*
1880%{_mandir}/man1/scriptlive.1*
1881%{_mandir}/man1/scriptreplay.1*
1882%lang(de) %{_mandir}/de/man1/script.1*
1883%lang(de) %{_mandir}/de/man1/scriptlive.1*
1884%lang(de) %{_mandir}/de/man1/scriptreplay.1*
1885%lang(es) %{_mandir}/es/man1/script.1*
1886%lang(fr) %{_mandir}/fr/man1/script.1*
1887%lang(fr) %{_mandir}/fr/man1/scriptreplay.1*
1888%lang(id) %{_mandir}/id/man1/script.1*
1889%lang(ja) %{_mandir}/ja/man1/script.1*
1890%lang(ko) %{_mandir}/ko/man1/script.1*
1891%lang(pl) %{_mandir}/pl/man1/script.1*
1892%lang(sr) %{_mandir}/sr/man1/script.1*
1893%lang(sr) %{_mandir}/sr/man1/scriptlive.1*
1894%lang(sr) %{_mandir}/sr/man1/scriptreplay.1*
1895
1896# term-utils/setterm
1897%attr(755,root,root) %{_bindir}/setterm
1898%{_mandir}/man1/setterm.1*
1899%lang(de) %{_mandir}/de/man1/setterm.1*
1900%lang(es) %{_mandir}/es/man1/setterm.1*
1901%lang(fr) %{_mandir}/fr/man1/setterm.1*
1902%lang(hu) %{_mandir}/hu/man1/setterm.1*
1903%lang(ja) %{_mandir}/ja/man1/setterm.1*
1904%lang(ko) %{_mandir}/ko/man1/setterm.1*
1905%lang(pl) %{_mandir}/pl/man1/setterm.1*
1906%lang(sr) %{_mandir}/sr/man1/setterm.1*
67de32db 1907
a310d05b
JB
1908# term-utils/mesg
1909%attr(755,root,root) %{_bindir}/mesg
1910%{_mandir}/man1/mesg.1*
1911%lang(de) %{_mandir}/de/man1/mesg.1*
1912%lang(fr) %{_mandir}/fr/man1/mesg.1*
1913%lang(sr) %{_mandir}/sr/man1/mesg.1*
7cafc16a 1914
a310d05b
JB
1915# term-utils/write
1916%attr(2755,root,tty) %{_bindir}/write
1917%{_mandir}/man1/write.1*
1918%lang(de) %{_mandir}/de/man1/write.1*
1919%lang(es) %{_mandir}/es/man1/write.1*
1920%lang(fi) %{_mandir}/fi/man1/write.1*
1921%lang(fr) %{_mandir}/fr/man1/write.1*
1922%lang(hu) %{_mandir}/hu/man1/write.1*
1923%lang(id) %{_mandir}/id/man1/write.1*
1924%lang(ja) %{_mandir}/ja/man1/write.1*
1925%lang(ko) %{_mandir}/ko/man1/write.1*
1926%lang(pl) %{_mandir}/pl/man1/write.1*
1927%lang(sr) %{_mandir}/sr/man1/write.1*
67de32db 1928
a310d05b
JB
1929# text-utils/col,colcrt,colrm,column
1930%attr(755,root,root) %{_bindir}/col
1931%attr(755,root,root) %{_bindir}/colcrt
1932%attr(755,root,root) %{_bindir}/colrm
1933%attr(755,root,root) %{_bindir}/column
1934%{_mandir}/man1/col.1*
1935%{_mandir}/man1/colcrt.1*
1936%{_mandir}/man1/colrm.1*
1937%{_mandir}/man1/column.1*
1938%lang(de) %{_mandir}/de/man1/col.1*
1939%lang(de) %{_mandir}/de/man1/colcrt.1*
1940%lang(de) %{_mandir}/de/man1/colrm.1*
1941%lang(de) %{_mandir}/de/man1/column.1*
1942%lang(es) %{_mandir}/es/man1/colrm.1*
1943%lang(es) %{_mandir}/es/man1/column.1*
1944%lang(fi) %{_mandir}/fi/man1/column.1*
1945%lang(fr) %{_mandir}/fr/man1/col.1*
1946%lang(hu) %{_mandir}/hu/man1/colrm.1*
1947%lang(ja) %{_mandir}/ja/man1/col.1*
1948%lang(ja) %{_mandir}/ja/man1/colcrt.1*
1949%lang(ja) %{_mandir}/ja/man1/colrm.1*
1950%lang(ja) %{_mandir}/ja/man1/column.1*
1951%lang(ko) %{_mandir}/ko/man1/col.1*
1952%lang(ko) %{_mandir}/ko/man1/colcrt.1*
1953%lang(ko) %{_mandir}/ko/man1/colrm.1*
1954%lang(ko) %{_mandir}/ko/man1/column.1*
1955%lang(pl) %{_mandir}/pl/man1/col.1*
1956%lang(pl) %{_mandir}/pl/man1/colcrt.1*
1957%lang(pl) %{_mandir}/pl/man1/colrm.1*
1958%lang(sr) %{_mandir}/sr/man1/col.1*
1959%lang(sr) %{_mandir}/sr/man1/colcrt.1*
1960%lang(sr) %{_mandir}/sr/man1/colrm.1*
1961%lang(sr) %{_mandir}/sr/man1/column.1*
7cafc16a 1962
a310d05b
JB
1963# text-utils/hexdump
1964%attr(755,root,root) %{_bindir}/hexdump
1965%{_mandir}/man1/hexdump.1*
1966%lang(de) %{_mandir}/de/man1/hexdump.1*
1967%lang(hu) %{_mandir}/hu/man1/hexdump.1*
1968%lang(ja) %{_mandir}/ja/man1/hexdump.1*
1969%lang(ko) %{_mandir}/ko/man1/hexdump.1*
1970%lang(pl) %{_mandir}/pl/man1/hexdump.1*
1971%lang(sr) %{_mandir}/sr/man1/hexdump.1*
67de32db 1972
a310d05b
JB
1973# text-utils/rev
1974%attr(755,root,root) %{_bindir}/rev
1975%{_mandir}/man1/rev.1*
1976%lang(de) %{_mandir}/de/man1/rev.1*
1977%lang(es) %{_mandir}/es/man1/rev.1*
1978%lang(fr) %{_mandir}/fr/man1/rev.1*
1979%lang(ja) %{_mandir}/ja/man1/rev.1*
1980%lang(ko) %{_mandir}/ko/man1/rev.1*
1981%lang(pl) %{_mandir}/pl/man1/rev.1*
1982%lang(sr) %{_mandir}/sr/man1/rev.1*
1983%lang(uk) %{_mandir}/uk/man1/rev.1*
034a23bb 1984
a310d05b
JB
1985# text-utils/line
1986%attr(755,root,root) %{_bindir}/line
1987%{_mandir}/man1/line.1*
1988%lang(de) %{_mandir}/de/man1/line.1*
1989%lang(es) %{_mandir}/es/man1/line.1*
1990%lang(fr) %{_mandir}/fr/man1/line.1*
1991%lang(ja) %{_mandir}/ja/man1/line.1*
1992%lang(sr) %{_mandir}/sr/man1/line.1*
1993%lang(uk) %{_mandir}/uk/man1/line.1*
1994
1995# text-utils/more,pg
1996%attr(755,root,root) /bin/more
1997%attr(755,root,root) %{_bindir}/pg
1998%{_mandir}/man1/more.1*
1999%{_mandir}/man1/pg.1*
2000%lang(de) %{_mandir}/de/man1/more.1*
2001%lang(de) %{_mandir}/de/man1/pg.1*
2002%lang(es) %{_mandir}/es/man1/more.1*
2003%lang(fi) %{_mandir}/fi/man1/more.1*
2004%lang(fr) %{_mandir}/fr/man1/more.1*
2005%lang(hu) %{_mandir}/hu/man1/more.1*
2006%lang(id) %{_mandir}/id/man1/more.1*
2007%lang(ja) %{_mandir}/ja/man1/more.1*
2008%lang(ko) %{_mandir}/ko/man1/more.1*
2009%lang(pl) %{_mandir}/pl/man1/more.1*
2010%lang(sr) %{_mandir}/sr/man1/more.1*
2011%lang(sr) %{_mandir}/sr/man1/pg.1*
2012
2013# text-utils/ul
2014%attr(755,root,root) %{_bindir}/ul
2015%{_mandir}/man1/ul.1*
2016%lang(de) %{_mandir}/de/man1/ul.1*
2017%lang(es) %{_mandir}/es/man1/ul.1*
2018%lang(ja) %{_mandir}/ja/man1/ul.1*
2019%lang(ko) %{_mandir}/ko/man1/ul.1*
2020%lang(pl) %{_mandir}/pl/man1/ul.1*
2021%lang(sr) %{_mandir}/sr/man1/ul.1*
67de32db 2022
2023%files -n blockdev
2024%defattr(644,root,root,755)
2025%attr(754,root,root) /etc/rc.d/init.d/blockdev
2026%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/blockdev
2027%attr(755,root,root) /sbin/blockdev
2028%{_mandir}/man8/blockdev.8*
028b554f 2029%lang(de) %{_mandir}/de/man8/blockdev.8*
7cafc16a 2030%lang(fr) %{_mandir}/fr/man8/blockdev.8*
67de32db 2031%lang(ja) %{_mandir}/ja/man8/blockdev.8*
7cafc16a
JB
2032%lang(pt_BR) %{_mandir}/pt_BR/man8/blockdev.8*
2033%lang(sr) %{_mandir}/sr/man8/blockdev.8*
2034%lang(uk) %{_mandir}/uk/man8/blockdev.8*
d18bf877
JR
2035%{systemdunitdir}/blockdev.service
2036%attr(755,root,root) /lib/systemd/pld-helpers.d/blockdev.sh
67de32db 2037
2038%files -n mount
2039%defattr(644,root,root,755)
a310d05b
JB
2040
2041# misc-utils/findmnt
8b6144a3 2042%attr(755,root,root) /bin/findmnt
a310d05b
JB
2043%{_mandir}/man8/findmnt.8*
2044%lang(de) %{_mandir}/de/man8/findmnt.8*
2045%lang(fr) %{_mandir}/fr/man8/findmnt.8*
2046%lang(sr) %{_mandir}/sr/man8/findmnt.8*
2047
2048# sys-utils/mount
67de32db 2049%attr(4755,root,root) /bin/mount
2050%attr(4755,root,root) /bin/umount
67de32db 2051%{_mandir}/man5/fstab.5*
67de32db 2052%{_mandir}/man8/mount.8*
2053%{_mandir}/man8/umount.8*
67de32db 2054%lang(cs) %{_mandir}/cs/man5/fstab.5*
7cafc16a 2055%lang(de) %{_mandir}/de/man5/fstab.5*
7cafc16a
JB
2056%lang(de) %{_mandir}/de/man8/mount.8*
2057%lang(de) %{_mandir}/de/man8/umount.8*
67de32db 2058%lang(es) %{_mandir}/es/man5/fstab.5*
2059%lang(es) %{_mandir}/es/man8/mount.8*
2060%lang(es) %{_mandir}/es/man8/umount.8*
67de32db 2061%lang(fr) %{_mandir}/fr/man5/fstab.5*
2062%lang(fr) %{_mandir}/fr/man8/mount.8*
2063%lang(fr) %{_mandir}/fr/man8/umount.8*
67de32db 2064%lang(hu) %{_mandir}/hu/man5/fstab.5*
2065%lang(hu) %{_mandir}/hu/man8/mount.8*
2066%lang(hu) %{_mandir}/hu/man8/umount.8*
67de32db 2067%lang(it) %{_mandir}/it/man5/fstab.5*
2068%lang(it) %{_mandir}/it/man8/mount.8*
2069%lang(it) %{_mandir}/it/man8/umount.8*
67de32db 2070%lang(ja) %{_mandir}/ja/man5/fstab.5*
2071%lang(ja) %{_mandir}/ja/man8/mount.8*
2072%lang(ja) %{_mandir}/ja/man8/umount.8*
67de32db 2073%lang(ko) %{_mandir}/ko/man5/fstab.5*
2074%lang(ko) %{_mandir}/ko/man8/mount.8*
2075%lang(ko) %{_mandir}/ko/man8/umount.8*
67de32db 2076%lang(pl) %{_mandir}/pl/man5/fstab.5*
2077%lang(pl) %{_mandir}/pl/man8/mount.8*
2078%lang(pl) %{_mandir}/pl/man8/umount.8*
7cafc16a 2079%lang(sr) %{_mandir}/sr/man5/fstab.5*
7cafc16a
JB
2080%lang(sr) %{_mandir}/sr/man8/mount.8*
2081%lang(sr) %{_mandir}/sr/man8/umount.8*
a310d05b
JB
2082
2083# sys-utils/swapon
2084%attr(755,root,root) /sbin/swapon
2085%attr(755,root,root) /sbin/swapoff
2086%{_mandir}/man8/swapon.8*
2087%{_mandir}/man8/swapoff.8*
2088%lang(de) %{_mandir}/de/man8/swapon.8*
2089%lang(de) %{_mandir}/de/man8/swapoff.8*
2090%lang(es) %{_mandir}/es/man8/swapon.8*
2091%lang(es) %{_mandir}/es/man8/swapoff.8*
2092%lang(fr) %{_mandir}/fr/man8/swapon.8*
2093%lang(fr) %{_mandir}/fr/man8/swapoff.8*
2094%lang(it) %{_mandir}/it/man8/swapon.8*
2095%lang(it) %{_mandir}/it/man8/swapoff.8*
2096%lang(ja) %{_mandir}/ja/man8/swapon.8*
2097%lang(ja) %{_mandir}/ja/man8/swapoff.8*
2098%lang(ko) %{_mandir}/ko/man8/swapon.8*
2099%lang(ko) %{_mandir}/ko/man8/swapoff.8*
2100%lang(pl) %{_mandir}/pl/man8/swapon.8*
2101%lang(pl) %{_mandir}/pl/man8/swapoff.8*
7cafc16a
JB
2102%lang(sr) %{_mandir}/sr/man8/swapon.8*
2103%lang(sr) %{_mandir}/sr/man8/swapoff.8*
67de32db 2104
a310d05b
JB
2105# sys-utils/mountpoint
2106%attr(755,root,root) /bin/mountpoint
2107%{_mandir}/man1/mountpoint.1*
2108%lang(de) %{_mandir}/de/man1/mountpoint.1*
2109%lang(fr) %{_mandir}/fr/man1/mountpoint.1*
2110%lang(sr) %{_mandir}/sr/man1/mountpoint.1*
2111
2112# sys-utils/pivot_root
2113%attr(755,root,root) /sbin/pivot_root
2114%{_mandir}/man8/pivot_root.8*
2115%lang(de) %{_mandir}/de/man8/pivot_root.8*
2116%lang(fr) %{_mandir}/fr/man8/pivot_root.8*
2117%lang(ja) %{_mandir}/ja/man8/pivot_root.8*
2118%lang(sr) %{_mandir}/sr/man8/pivot_root.8*
2119
67de32db 2120%files -n losetup
2121%defattr(644,root,root,755)
2122%attr(755,root,root) /sbin/losetup
2123%{_mandir}/man8/losetup.8*
7cafc16a 2124%lang(de) %{_mandir}/de/man8/losetup.8*
67de32db 2125%lang(fr) %{_mandir}/fr/man8/losetup.8*
2126%lang(it) %{_mandir}/it/man8/losetup.8*
2127%lang(ja) %{_mandir}/ja/man8/losetup.8*
2128%lang(ko) %{_mandir}/ko/man8/losetup.8*
2129%lang(pl) %{_mandir}/pl/man8/losetup.8*
7cafc16a 2130%lang(sr) %{_mandir}/sr/man8/losetup.8*
67de32db 2131
67de32db 2132%files -n tunelp
2133%defattr(644,root,root,755)
2134%attr(755,root,root) %{_sbindir}/tunelp
2135%{_mandir}/man8/tunelp.8*
7cafc16a 2136%lang(de) %{_mandir}/de/man8/tunelp.8*
67de32db 2137%lang(es) %{_mandir}/es/man8/tunelp.8*
2138%lang(ja) %{_mandir}/ja/man8/tunelp.8*
2139%lang(pl) %{_mandir}/pl/man8/tunelp.8*
7cafc16a 2140%lang(sr) %{_mandir}/sr/man8/tunelp.8*
67de32db 2141
2142%files -n login
2143%defattr(644,root,root,755)
2144%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/login
2145%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.login
2146%attr(755,root,root) /bin/login
2147%{_mandir}/man1/login.1*
2148%lang(de) %{_mandir}/de/man1/login.1*
2149%lang(es) %{_mandir}/es/man1/login.1*
2150%lang(hu) %{_mandir}/hu/man1/login.1*
2151%lang(id) %{_mandir}/id/man1/login.1*
2152%lang(ja) %{_mandir}/ja/man1/login.1*
2153%lang(ko) %{_mandir}/ko/man1/login.1*
2154%lang(pl) %{_mandir}/pl/man1/login.1*
7cafc16a 2155%lang(sr) %{_mandir}/sr/man1/login.1*
67de32db 2156
2157%files -n agetty
2158%defattr(644,root,root,755)
2159%attr(755,root,root) /sbin/agetty
2160%{_mandir}/man8/agetty.8*
7cafc16a 2161%lang(de) %{_mandir}/de/man8/agetty.8*
67de32db 2162%lang(es) %{_mandir}/es/man8/agetty.8*
7cafc16a 2163%lang(fr) %{_mandir}/fr/man8/agetty.8*
67de32db 2164%lang(ja) %{_mandir}/ja/man8/agetty.8*
7cafc16a 2165%lang(sr) %{_mandir}/sr/man8/agetty.8*
67de32db 2166
2167%files -n libblkid
2168%defattr(644,root,root,755)
2169%attr(755,root,root) /%{_lib}/libblkid.so.*.*
2170%attr(755,root,root) %ghost /%{_lib}/libblkid.so.1
2171
2172%files -n libblkid-devel
2173%defattr(644,root,root,755)
2174%attr(755,root,root) %{_libdir}/libblkid.so
67de32db 2175%{_includedir}/blkid
2176%{_pkgconfigdir}/blkid.pc
2177%{_mandir}/man3/libblkid.3*
028b554f 2178%lang(de) %{_mandir}/de/man3/libblkid.3*
7cafc16a
JB
2179%lang(fr) %{_mandir}/fr/man3/libblkid.3*
2180%lang(sr) %{_mandir}/sr/man3/libblkid.3*
67de32db 2181
2182%files -n libblkid-static
2183%defattr(644,root,root,755)
2184%{_libdir}/libblkid.a
2185
2186%if %{with initrd} && %{with dietlibc}
2187%files -n libblkid-dietlibc
2188%defattr(644,root,root,755)
2189%{dietlibdir}/libblkid.a
2190%endif
2191
f7f13771
MK
2192%if %{with apidocs}
2193%files -n libblkid-apidocs
2194%defattr(644,root,root,755)
2195%{_gtkdocdir}/libblkid
2196%endif
2197
67de32db 2198%files -n libuuid
2199%defattr(644,root,root,755)
67de32db 2200%attr(755,root,root) /%{_lib}/libuuid.so.*.*
2201%attr(755,root,root) %ghost /%{_lib}/libuuid.so.1
a310d05b
JB
2202
2203# misc-utils/uuidgen
2204%attr(755,root,root) %{_bindir}/uuidgen
67de32db 2205%{_mandir}/man1/uuidgen.1*
7cafc16a
JB
2206%lang(de) %{_mandir}/de/man1/uuidgen.1*
2207%lang(sr) %{_mandir}/sr/man1/uuidgen.1*
67de32db 2208
2209%files -n libuuid-devel
2210%defattr(644,root,root,755)
2211%attr(755,root,root) %{_libdir}/libuuid.so
2212%{_libdir}/libuuid.la
2213%{_includedir}/uuid
2214%{_pkgconfigdir}/uuid.pc
2215%{_mandir}/man3/uuid*.3*
028b554f 2216%lang(de) %{_mandir}/de/man3/uuid*.3*
7cafc16a
JB
2217%lang(es) %{_mandir}/es/man3/uuid*.3*
2218%lang(fr) %{_mandir}/fr/man3/uuid*.3*
2219%lang(sr) %{_mandir}/sr/man3/uuid*.3*
67de32db 2220
2221%files -n libuuid-static
2222%defattr(644,root,root,755)
2223%{_libdir}/libuuid.a
2224
2225%if %{with initrd} && %{with dietlibc}
2226%files -n libuuid-dietlibc
2227%defattr(644,root,root,755)
2228%{dietlibdir}/libuuid.a
2229%endif
2230
2231%files -n uuidd
2232%defattr(644,root,root,755)
2233%attr(6755,uuidd,uuidd) %{_sbindir}/uuidd
2234%attr(2775,uuidd,uuidd) /var/lib/libuuid
2235%{_mandir}/man8/uuidd.8*
7cafc16a
JB
2236%lang(de) %{_mandir}/de/man8/uuidd.8*
2237%lang(fr) %{_mandir}/fr/man8/uuidd.8*
2238%lang(sr) %{_mandir}/sr/man8/uuidd.8*
0deefbb8 2239%if %{with systemd}
4fa9d824
AM
2240%{systemdunitdir}/uuidd.service
2241%{systemdunitdir}/uuidd.socket
0deefbb8 2242%endif
67de32db 2243
c7c0c6cb
JB
2244%files -n libfdisk
2245%defattr(644,root,root,755)
2246%doc libfdisk/COPYING
2247%attr(755,root,root) /%{_lib}/libfdisk.so.*.*
2248%attr(755,root,root) %ghost /%{_lib}/libfdisk.so.1
2249
2250%files -n libfdisk-devel
2251%defattr(644,root,root,755)
2252%attr(755,root,root) %{_libdir}/libfdisk.so
2253%{_includedir}/libfdisk
2254%{_pkgconfigdir}/fdisk.pc
2255
2256%files -n libfdisk-static
2257%defattr(644,root,root,755)
2258%{_libdir}/libfdisk.a
2259
f7f13771
MK
2260%if %{with apidocs}
2261%files -n libfdisk-apidocs
2262%defattr(644,root,root,755)
2263%{_gtkdocdir}/libfdisk
2264%endif
2265
67de32db 2266%files -n libmount
2267%defattr(644,root,root,755)
c7c0c6cb 2268%doc libmount/COPYING
67de32db 2269%attr(755,root,root) /%{_lib}/libmount.so.*.*
2270%attr(755,root,root) %ghost /%{_lib}/libmount.so.1
67de32db 2271
2272%files -n libmount-devel
2273%defattr(644,root,root,755)
2274%attr(755,root,root) %{_libdir}/libmount.so
67de32db 2275%{_includedir}/libmount
2276%{_pkgconfigdir}/mount.pc
2277
2278%files -n libmount-static
2279%defattr(644,root,root,755)
2280%{_libdir}/libmount.a
2281
f7f13771
MK
2282%if %{with apidocs}
2283%files -n libmount-apidocs
2284%defattr(644,root,root,755)
2285%{_gtkdocdir}/libmount
2286%endif
2287
8b6144a3
JB
2288%files -n python3-libmount
2289%defattr(644,root,root,755)
2290%dir %{py3_sitedir}/libmount
2291%attr(755,root,root) %{py3_sitedir}/libmount/pylibmount.so
2292%{py3_sitedir}/libmount/__init__.py
2293%{py3_sitedir}/libmount/__pycache__
2294
67de32db 2295%files -n fsck
2296%defattr(644,root,root,755)
2297%attr(755,root,root) /sbin/fsck
2298%{_mandir}/man8/fsck.8*
7cafc16a
JB
2299%lang(de) %{_mandir}/de/man8/fsck.8*
2300%lang(fr) %{_mandir}/fr/man8/fsck.8*
2301%lang(pt_BR) %{_mandir}/pt_BR/man8/fsck.8*
2302%lang(sr) %{_mandir}/sr/man8/fsck.8*
67de32db 2303
8b6144a3 2304%files -n libsmartcols
971f9098 2305%defattr(644,root,root,755)
8b6144a3
JB
2306%attr(755,root,root) /%{_lib}/libsmartcols.so.*.*.*
2307%attr(755,root,root) %ghost /%{_lib}/libsmartcols.so.1
8b6144a3
JB
2308
2309%files -n libsmartcols-devel
2310%defattr(644,root,root,755)
2311%attr(755,root,root) %{_libdir}/libsmartcols.so
2312%{_includedir}/libsmartcols
2313%{_pkgconfigdir}/smartcols.pc
2314
2315%files -n libsmartcols-static
2316%defattr(644,root,root,755)
2317%{_libdir}/libsmartcols.a
971f9098 2318
f7f13771
MK
2319%if %{with apidocs}
2320%files -n libsmartcols-apidocs
2321%defattr(644,root,root,755)
2322%{_gtkdocdir}/libsmartcols
2323%endif
2324
67de32db 2325%if %{with initrd}
2326%files initrd
2327%defattr(644,root,root,755)
6e84fb29
JB
2328%attr(755,root,root) %{_libdir}/initrd/blkid
2329%attr(755,root,root) %{_libdir}/initrd/blockdev
2330%attr(755,root,root) %{_libdir}/initrd/fdformat
2331%attr(755,root,root) %{_libdir}/initrd/fdisk
2332%attr(755,root,root) %{_libdir}/initrd/findfs
2333%attr(755,root,root) %{_libdir}/initrd/hwclock
2334%attr(755,root,root) %{_libdir}/initrd/look
2335%attr(755,root,root) %{_libdir}/initrd/mkswap
2336%attr(755,root,root) %{_libdir}/initrd/namei
2337%attr(755,root,root) %{_libdir}/initrd/rename
2338%ifnarch sparc sparcv9 sparc64
2339%attr(755,root,root) %{_libdir}/initrd/sfdisk
2340%endif
2341%attr(755,root,root) %{_libdir}/initrd/swaplabel
2342%attr(755,root,root) %{_libdir}/initrd/uuidgen
2343%attr(755,root,root) %{_libdir}/initrd/wipefs
2344# not needed?
2345#%attr(755,root,root) %{_libdir}/initrd/chrt
2346# not built because of disabled libmount
2347#%attr(755,root,root) %{_libdir}/initrd/e2fsck
2348#%attr(755,root,root) %{_libdir}/initrd/fsck
67de32db 2349%endif
8b6144a3
JB
2350
2351%files -n bash-completion-util-linux
2352%defattr(644,root,root,755)
56a8c6a4
JB
2353%{bash_compdir}/addpart
2354%{bash_compdir}/blkdiscard
2355%{bash_compdir}/blkid
2356%{bash_compdir}/blkzone
2357%{bash_compdir}/blockdev
2358%{bash_compdir}/cal
2359%{bash_compdir}/cfdisk
2360%{bash_compdir}/chcpu
2361%{bash_compdir}/chmem
2362%{bash_compdir}/chrt
2363%{bash_compdir}/col
2364%{bash_compdir}/colcrt
2365%{bash_compdir}/colrm
2366%{bash_compdir}/column
2367%{bash_compdir}/ctrlaltdel
2368%{bash_compdir}/delpart
2369%{bash_compdir}/dmesg
2370%{bash_compdir}/eject
2371%{bash_compdir}/fallocate
2372%{bash_compdir}/fdformat
2373%{bash_compdir}/fdisk
2374%{bash_compdir}/fincore
2375%{bash_compdir}/findfs
2376%{bash_compdir}/findmnt
2377%{bash_compdir}/flock
2378%{bash_compdir}/fsck
2379%{bash_compdir}/fsck.cramfs
2380%{bash_compdir}/fsck.minix
2381%{bash_compdir}/fsfreeze
2382%{bash_compdir}/fstrim
2383%{bash_compdir}/getopt
a3c78a30 2384%{bash_compdir}/hardlink
56a8c6a4
JB
2385%{bash_compdir}/hexdump
2386%{bash_compdir}/hwclock
2387%{bash_compdir}/ionice
2388%{bash_compdir}/ipcmk
2389%{bash_compdir}/ipcrm
2390%{bash_compdir}/ipcs
aca17f99 2391%{bash_compdir}/irqtop
56a8c6a4
JB
2392%{bash_compdir}/isosize
2393%{bash_compdir}/last
7cafc16a 2394%{bash_compdir}/lastb
56a8c6a4
JB
2395%{bash_compdir}/ldattach
2396%{bash_compdir}/logger
2397%{bash_compdir}/look
2398%{bash_compdir}/losetup
2399%{bash_compdir}/lsblk
2400%{bash_compdir}/lscpu
2401%{bash_compdir}/lsipc
aca17f99 2402%{bash_compdir}/lsirq
56a8c6a4
JB
2403%{bash_compdir}/lslocks
2404%{bash_compdir}/lslogins
2405%{bash_compdir}/lsmem
2406%{bash_compdir}/lsns
2407%{bash_compdir}/mcookie
2408%{bash_compdir}/mesg
2409%{bash_compdir}/mkfs
2410%{bash_compdir}/mkfs.bfs
2411%{bash_compdir}/mkfs.cramfs
2412%{bash_compdir}/mkfs.minix
2413%{bash_compdir}/mkswap
2414%{bash_compdir}/more
2415%{bash_compdir}/mount
2416%{bash_compdir}/mountpoint
2417%{bash_compdir}/namei
2418%{bash_compdir}/nsenter
2419%{bash_compdir}/partx
2420%{bash_compdir}/pg
2421%{bash_compdir}/pivot_root
2422%{bash_compdir}/prlimit
56a8c6a4
JB
2423%{bash_compdir}/readprofile
2424%{bash_compdir}/rename
2425%{bash_compdir}/renice
2426%{bash_compdir}/resizepart
2427%{bash_compdir}/rev
2428%{bash_compdir}/rfkill
2429%{bash_compdir}/rtcwake
2430%{bash_compdir}/runuser
2431%{bash_compdir}/script
2432%{bash_compdir}/scriptlive
2433%{bash_compdir}/scriptreplay
2434%{bash_compdir}/setarch
2435%{bash_compdir}/setpriv
2436%{bash_compdir}/setsid
2437%{bash_compdir}/setterm
2438%{bash_compdir}/sfdisk
2439%{bash_compdir}/su
2440%{bash_compdir}/swaplabel
2441%{bash_compdir}/swapoff
2442%{bash_compdir}/swapon
2443%{bash_compdir}/taskset
2444%{bash_compdir}/tunelp
028b554f 2445%{bash_compdir}/uclampset
56a8c6a4
JB
2446%{bash_compdir}/ul
2447%{bash_compdir}/umount
2448%{bash_compdir}/unshare
2449%{bash_compdir}/utmpdump
2450%{bash_compdir}/uuidd
2451%{bash_compdir}/uuidgen
2452%{bash_compdir}/uuidparse
2453%{bash_compdir}/wdctl
2454%{bash_compdir}/whereis
2455%{bash_compdir}/wipefs
2456%{bash_compdir}/write
2457%{bash_compdir}/zramctl
This page took 2.603019 seconds and 4 git commands to generate.