]> git.pld-linux.org Git - packages/util-linux.git/blame - util-linux.spec
- dropped obsolete utmpx/wtmpx remnants
[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
67de32db 985:> $RPM_BUILD_ROOT%{_sysconfdir}/blkid.tab
986
c7c0c6cb 987for lib in blkid fdisk mount smartcols uuid; do
6a162ea7 988 %{__mv} $RPM_BUILD_ROOT%{_libdir}/lib${lib}.so.* $RPM_BUILD_ROOT/%{_lib}
67de32db 989 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${lib}.so.*.*.*) \
990 $RPM_BUILD_ROOT%{_libdir}/lib${lib}.so
991done
992
8b6144a3
JB
993# python module
994%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/libmount/pylibmount.la
995# obsoleted by pkg-config (libuuid.la temporarily kept because of packages built with it)
c7c0c6cb 996%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{blkid,fdisk,mount,smartcols}.la
8b6144a3 997
db37f8cd 998ln -s hwclock $RPM_BUILD_ROOT/sbin/clock
a40f6dee 999echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/man8/clock.8
7cafc16a
JB
1000echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/de/man8/clock.8
1001echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/fr/man8/clock.8
1002echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/sr/man8/clock.8
67de32db 1003
db37f8cd 1004ln -s mkswap $RPM_BUILD_ROOT/sbin/mkfs.swap
63bd1af6 1005
7cafc16a 1006# install non-english man pages, but prefer upstream translations over Source1
67de32db 1007for d in cs de es fi fr hu id it ja ko nl pl ; do
1008 for m in man1 man5 man8 ; do
1009 if [ -d man/$d/$m ]; then
1010 install -d $RPM_BUILD_ROOT%{_mandir}/$d/$m
7cafc16a
JB
1011 for f in man/$d/$m/* ; do
1012 if [ ! -f $RPM_BUILD_ROOT%{_mandir}/$d/$m/$(basename $f) ]; then
1013 cp -p "$f" $RPM_BUILD_ROOT%{_mandir}/$d/$m
1014 fi
1015 done
67de32db 1016 fi
1017 done
1018done
7cafc16a
JB
1019
1020# obsolete
1021%{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man8/raw.8
7cafc16a
JB
1022# packaged in SysVinit-tools
1023%{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man1/wall.1
7cafc16a 1024# packaged in pwdutils / shadow
442c8732
JB
1025%{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man1/{chfn,chsh,newgrp}.1 \
1026 $RPM_BUILD_ROOT%{_mandir}/*/man8/{vigr,vipw}.8
67de32db 1027
6e84fb29
JB
1028%ifarch sparc sparcv9 sparc64
1029# programs not built on sparc
67de32db 1030%{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man8/{cfdisk,sfdisk}.8
1031%endif
1032
f7f13771 1033%if %{with apidocs}
6e84fb29 1034# examples
028b554f 1035%{__rm} $RPM_BUILD_ROOT%{_gtkdocdir}/getopt-example.{bash,tcsh}
f7f13771 1036%else
028b554f 1037%{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/getopt-example.{bash,tcsh}
f7f13771 1038%endif
6e84fb29 1039
67de32db 1040%if %{with initrd}
1041install -d $RPM_BUILD_ROOT%{_libdir}/initrd
6e84fb29
JB
1042install -p initrd/bin/* $RPM_BUILD_ROOT%{_libdir}/initrd
1043install -p initrd/sbin/* $RPM_BUILD_ROOT%{_libdir}/initrd
67de32db 1044ln -s fsck $RPM_BUILD_ROOT%{_libdir}/initrd/e2fsck
1045
1046# We don't need those
4a52de32 1047%{__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 1048%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{blkid,mount}.la
67de32db 1049
1050%if %{with dietlibc}
6e84fb29 1051cp -a initrd/%{_lib}/lib*.a $RPM_BUILD_ROOT%{dietlibdir}
67de32db 1052%endif
1053%endif
1054
0057a448 1055%find_lang %{name}
67de32db 1056
1057%clean
1058rm -rf $RPM_BUILD_ROOT
1059
1060%post -n blockdev
1061/sbin/chkconfig --add blockdev
1062%service blockdev restart
d18bf877 1063%systemd_post blockdev.service
67de32db 1064
1065%preun -n blockdev
1066if [ "$1" = "0" ]; then
1067 %service blockdev stop
1068 /sbin/chkconfig --del blockdev
1069fi
d18bf877
JR
1070%systemd_preun blockdev.service
1071
1072%postun -n blockdev
1073%systemd_reload
1074
1075%triggerpostun -n blockdev -- blockdev < 2.24-4
1076%systemd_trigger blockdev.service
67de32db 1077
1078%post -n libblkid -p /sbin/ldconfig
1079%postun -n libblkid -p /sbin/ldconfig
1080
1081%post -n libuuid -p /sbin/ldconfig
1082%postun -n libuuid -p /sbin/ldconfig
1083
1084%pre -n uuidd
1085if [ "$(getgid libuuid 2>/dev/null)" = "222" ]; then
2d2bdd48 1086 /usr/sbin/groupmod -n uuidd libuuid
67de32db 1087fi
1088%groupadd -g 222 uuidd
1089if [ "$(id -u libuuid 2>/dev/null)" = "222" ]; then
2d2bdd48 1090 /usr/sbin/usermod -l uuidd libuuid
67de32db 1091fi
1092%useradd -u 222 -r -d /var/lib/libuuid -s /bin/false -c "UUID generator helper daemon" -g uuidd uuidd
1093
1094%postun -n uuidd
1095if [ "$1" = "0" ]; then
2d2bdd48
TP
1096 %userremove uuidd
1097 %groupremove uuidd
67de32db 1098fi
1099
c7c0c6cb
JB
1100%post -n libfdisk -p /sbin/ldconfig
1101%postun -n libfdisk -p /sbin/ldconfig
1102
67de32db 1103%post -n libmount -p /sbin/ldconfig
1104%postun -n libmount -p /sbin/ldconfig
1105
8b6144a3
JB
1106%post -n libsmartcols -p /sbin/ldconfig
1107%postun -n libsmartcols -p /sbin/ldconfig
1108
0057a448 1109%files -f %{name}.lang
67de32db 1110%defattr(644,root,root,755)
028b554f 1111%doc AUTHORS ChangeLog NEWS README README.licensing Documentation misc-utils/getopt-example.{bash,tcsh}
a310d05b 1112# common for many utilities (hexdump,cal,dmesg,fdisk,cfdisk - not libraries)
83c7e57e 1113%dir /etc/terminal-colors.d
a310d05b
JB
1114%{_mandir}/man5/terminal-colors.d.5*
1115%lang(de) %{_mandir}/de/man5/terminal-colors.d.5*
1116%lang(fr) %{_mandir}/fr/man5/terminal-colors.d.5*
1117%lang(sr) %{_mandir}/sr/man5/terminal-colors.d.5*
67de32db 1118
a310d05b
JB
1119# disk-utils/mkfs
1120%attr(755,root,root) /sbin/mkfs
1121%{_mandir}/man8/mkfs.8*
1122%lang(de) %{_mandir}/de/man8/mkfs.8*
1123%lang(es) %{_mandir}/es/man8/mkfs.8*
1124%lang(fr) %{_mandir}/fr/man8/mkfs.8*
1125%lang(hu) %{_mandir}/hu/man8/mkfs.8*
1126%lang(ja) %{_mandir}/ja/man8/mkfs.8*
1127%lang(ko) %{_mandir}/ko/man8/mkfs.8*
1128%lang(pl) %{_mandir}/pl/man8/mkfs.8*
1129%lang(pt_BR) %{_mandir}/pt_BR/man8/mkfs.8*
1130%lang(sr) %{_mandir}/sr/man8/mkfs.8*
7cafc16a 1131
a310d05b
JB
1132# disk-utils/mkswap
1133%attr(755,root,root) /sbin/mkfs.swap
1134%attr(755,root,root) /sbin/mkswap
1135%{_mandir}/man8/mkswap.8*
1136%lang(de) %{_mandir}/de/man8/mkswap.8*
1137%lang(es) %{_mandir}/es/man8/mkswap.8*
1138%lang(fr) %{_mandir}/fr/man8/mkswap.8*
1139%lang(hu) %{_mandir}/hu/man8/mkswap.8*
1140%lang(it) %{_mandir}/it/man8/mkswap.8*
1141%lang(ja) %{_mandir}/ja/man8/mkswap.8*
1142%lang(ko) %{_mandir}/ko/man8/mkswap.8*
1143%lang(pl) %{_mandir}/pl/man8/mkswap.8*
1144%lang(sr) %{_mandir}/sr/man8/mkswap.8*
67de32db 1145
a310d05b
JB
1146# disk-utils/bfs
1147%attr(755,root,root) /sbin/mkfs.bfs
1148%{_mandir}/man8/mkfs.bfs.8*
1149%lang(de) %{_mandir}/de/man8/mkfs.bfs.8*
1150%lang(fr) %{_mandir}/fr/man8/mkfs.bfs.8*
1151%lang(ja) %{_mandir}/ja/man8/mkfs.bfs.8*
1152%lang(pt_BR) %{_mandir}/pt_BR/man8/mkfs.bfs.8*
1153%lang(sr) %{_mandir}/sr/man8/mkfs.bfs.8*
67de32db 1154
a310d05b
JB
1155# disk-utils/cramfs
1156%attr(755,root,root) /sbin/fsck.cramfs
1157%attr(755,root,root) /sbin/mkfs.cramfs
1158%{_mandir}/man8/fsck.cramfs.8*
1159%{_mandir}/man8/mkfs.cramfs.8*
1160%lang(de) %{_mandir}/de/man8/fsck.cramfs.8*
1161%lang(de) %{_mandir}/de/man8/mkfs.cramfs.8*
1162%lang(fr) %{_mandir}/fr/man8/fsck.cramfs.8*
1163%lang(fr) %{_mandir}/fr/man8/mkfs.cramfs.8*
1164%lang(pt_BR) %{_mandir}/pt_BR/man8/fsck.cramfs.8*
1165%lang(pt_BR) %{_mandir}/pt_BR/man8/mkfs.cramfs.8*
1166%lang(sr) %{_mandir}/sr/man8/fsck.cramfs.8*
1167%lang(sr) %{_mandir}/sr/man8/mkfs.cramfs.8*
1168%lang(uk) %{_mandir}/uk/man8/fsck.cramfs.8*
67de32db 1169
a310d05b
JB
1170# disk-utils/minix
1171%attr(755,root,root) /sbin/fsck.minix
1172%attr(755,root,root) /sbin/mkfs.minix
1173%{_mandir}/man8/fsck.minix.8*
1174%{_mandir}/man8/mkfs.minix.8*
1175%lang(de) %{_mandir}/de/man8/fsck.minix.8*
1176%lang(de) %{_mandir}/de/man8/mkfs.minix.8*
1177%lang(es) %{_mandir}/es/man8/fsck.minix.8*
1178%lang(es) %{_mandir}/es/man8/mkfs.minix.8*
1179%lang(fr) %{_mandir}/fr/man8/fsck.minix.8*
1180%lang(fr) %{_mandir}/fr/man8/mkfs.minix.8*
1181%lang(ja) %{_mandir}/ja/man8/fsck.minix.8*
1182%lang(ja) %{_mandir}/ja/man8/mkfs.minix.8*
1183%lang(ko) %{_mandir}/ko/man8/fsck.minix.8*
1184%lang(ko) %{_mandir}/ko/man8/mkfs.minix.8*
1185%lang(pl) %{_mandir}/pl/man8/fsck.minix.8*
1186%lang(pl) %{_mandir}/pl/man8/mkfs.minix.8*
1187%lang(pt_BR) %{_mandir}/pt_BR/man8/fsck.minix.8*
1188%lang(pt_BR) %{_mandir}/pt_BR/man8/mkfs.minix.8*
1189%lang(sr) %{_mandir}/sr/man8/fsck.minix.8*
1190%lang(sr) %{_mandir}/sr/man8/mkfs.minix.8*
1191
1192# disk-utils/isosize
1193%attr(755,root,root) %{_bindir}/isosize
1194%{_mandir}/man8/isosize.8*
1195%lang(de) %{_mandir}/de/man8/isosize.8*
1196%lang(fr) %{_mandir}/fr/man8/isosize.8*
1197%lang(ja) %{_mandir}/ja/man8/isosize.8*
1198%lang(pt_BR) %{_mandir}/pt_BR/man8/isosize.8*
1199%lang(sr) %{_mandir}/sr/man8/isosize.8*
1200%lang(uk) %{_mandir}/uk/man8/isosize.8*
1201
1202# disk-utils/swaplabel
1203%attr(755,root,root) /sbin/swaplabel
1204%{_mandir}/man8/swaplabel.8*
1205%lang(de) %{_mandir}/de/man8/swaplabel.8*
1206%lang(fr) %{_mandir}/fr/man8/swaplabel.8*
1207%lang(pt_BR) %{_mandir}/pt_BR/man8/swaplabel.8*
1208%lang(sr) %{_mandir}/sr/man8/swaplabel.8*
1209
1210# disk-utils/fdformat
1211%attr(755,root,root) %{_sbindir}/fdformat
1212%{_mandir}/man8/fdformat.8*
1213%lang(de) %{_mandir}/de/man8/fdformat.8*
1214%lang(es) %{_mandir}/es/man8/fdformat.8*
1215%lang(fr) %{_mandir}/fr/man8/fdformat.8*
1216%lang(hu) %{_mandir}/hu/man8/fdformat.8*
1217%lang(id) %{_mandir}/id/man8/fdformat.8*
1218%lang(ja) %{_mandir}/ja/man8/fdformat.8*
1219%lang(ko) %{_mandir}/ko/man8/fdformat.8*
1220%lang(pl) %{_mandir}/pl/man8/fdformat.8*
1221%lang(pt_BR) %{_mandir}/pt_BR/man8/fdformat.8*
1222%lang(sr) %{_mandir}/sr/man8/fdformat.8*
1223%lang(uk) %{_mandir}/uk/man8/fdformat.8*
1224
1225# disk-utils/fdisk
1226%attr(755,root,root) /sbin/fdisk
1227%{_mandir}/man8/fdisk.8*
1228%lang(de) %{_mandir}/de/man8/fdisk.8*
1229%lang(es) %{_mandir}/es/man8/fdisk.8*
1230%lang(fr) %{_mandir}/fr/man8/fdisk.8*
1231%lang(it) %{_mandir}/it/man8/fdisk.8*
1232%lang(ja) %{_mandir}/ja/man8/fdisk.8*
1233%lang(ko) %{_mandir}/ko/man8/fdisk.8*
1234%lang(pl) %{_mandir}/pl/man8/fdisk.8*
1235%lang(pt_BR) %{_mandir}/pt_BR/man8/fdisk.8*
1236%lang(sr) %{_mandir}/sr/man8/fdisk.8*
1237
1238# disk-utils/cfdisk,sfdisk
1239%ifnarch sparc sparc64
1240%attr(755,root,root) /sbin/cfdisk
1241%attr(755,root,root) /sbin/sfdisk
1242%{_mandir}/man8/cfdisk.8*
1243%{_mandir}/man8/sfdisk.8*
1244%lang(de) %{_mandir}/de/man8/cfdisk.8*
1245%lang(de) %{_mandir}/de/man8/sfdisk.8*
1246%lang(fr) %{_mandir}/fr/man8/cfdisk.8*
1247%lang(fr) %{_mandir}/fr/man8/sfdisk.8*
1248%lang(it) %{_mandir}/it/man8/cfdisk.8*
1249%lang(ja) %{_mandir}/ja/man8/cfdisk.8*
1250%lang(ja) %{_mandir}/ja/man8/sfdisk.8*
1251%lang(pt_BR) %{_mandir}/pt_BR/man8/cfdisk.8*
1252%lang(pt_BR) %{_mandir}/pt_BR/man8/sfdisk.8*
1253%lang(sr) %{_mandir}/sr/man8/cfdisk.8*
1254%lang(sr) %{_mandir}/sr/man8/sfdisk.8*
1255%lang(uk) %{_mandir}/uk/man8/cfdisk.8*
1256%endif
ed1c99f8 1257
a310d05b 1258# disk-utils/partx
2e2cdb35 1259%attr(755,root,root) /sbin/addpart
67de32db 1260%attr(755,root,root) /sbin/delpart
4a52de32 1261%attr(755,root,root) /sbin/partx
a310d05b
JB
1262%attr(755,root,root) %{_sbindir}/resizepart
1263%{_mandir}/man8/addpart.8*
1264%{_mandir}/man8/delpart.8*
1265%{_mandir}/man8/partx.8*
1266%{_mandir}/man8/resizepart.8*
1267%lang(de) %{_mandir}/de/man8/addpart.8*
1268%lang(de) %{_mandir}/de/man8/delpart.8*
1269%lang(de) %{_mandir}/de/man8/partx.8*
1270%lang(de) %{_mandir}/de/man8/resizepart.8*
1271%lang(es) %{_mandir}/es/man8/addpart.8*
1272%lang(es) %{_mandir}/es/man8/delpart.8*
1273%lang(es) %{_mandir}/es/man8/resizepart.8*
1274%lang(fr) %{_mandir}/fr/man8/addpart.8*
1275%lang(fr) %{_mandir}/fr/man8/delpart.8*
1276%lang(fr) %{_mandir}/fr/man8/partx.8*
1277%lang(fr) %{_mandir}/fr/man8/resizepart.8*
1278%lang(pt_BR) %{_mandir}/pt_BR/man8/addpart.8*
1279%lang(pt_BR) %{_mandir}/pt_BR/man8/delpart.8*
1280%lang(pt_BR) %{_mandir}/pt_BR/man8/partx.8*
1281%lang(pt_BR) %{_mandir}/pt_BR/man8/resizepart.8*
1282%lang(sr) %{_mandir}/sr/man8/addpart.8*
1283%lang(sr) %{_mandir}/sr/man8/delpart.8*
1284%lang(sr) %{_mandir}/sr/man8/partx.8*
1285%lang(sr) %{_mandir}/sr/man8/resizepart.8*
1286%lang(uk) %{_mandir}/uk/man8/addpart.8*
1287%lang(uk) %{_mandir}/uk/man8/delpart.8*
1288%lang(uk) %{_mandir}/uk/man8/resizepart.8*
1289
1290# login-utils/last
971f9098
AM
1291%attr(755,root,root) %{_bindir}/last
1292%attr(755,root,root) %{_bindir}/lastb
a310d05b
JB
1293%{_mandir}/man1/last.1*
1294%{_mandir}/man1/lastb.1*
1295%lang(de) %{_mandir}/de/man1/last.1*
1296%lang(de) %{_mandir}/de/man1/lastb.1*
1297%lang(es) %{_mandir}/es/man1/last.1*
1298%lang(es) %{_mandir}/es/man1/lastb.1*
1299%lang(fr) %{_mandir}/fr/man1/last.1*
1300%lang(fr) %{_mandir}/fr/man1/lastb.1*
1301%lang(sr) %{_mandir}/sr/man1/last.1*
1302%lang(sr) %{_mandir}/sr/man1/lastb.1*
1303
1304# login-utils/sulogin
1305%attr(755,root,root) /sbin/sulogin
1306%{_mandir}/man8/sulogin.8*
1307%lang(de) %{_mandir}/de/man8/sulogin.8*
1308%lang(fr) %{_mandir}/fr/man8/sulogin.8*
1309%lang(sr) %{_mandir}/sr/man8/sulogin.8*
1310
1311# login-utils/nologin
1312%attr(755,root,root) /sbin/nologin
1313%{_mandir}/man8/nologin.8*
1314%lang(de) %{_mandir}/de/man8/nologin.8*
1315%lang(sr) %{_mandir}/sr/man8/nologin.8*
1316
1317# login-utils/utmpdump
4fa9d824 1318%attr(755,root,root) %{_bindir}/utmpdump
a310d05b
JB
1319%{_mandir}/man1/utmpdump.1*
1320%lang(de) %{_mandir}/de/man1/utmpdump.1*
1321%lang(fr) %{_mandir}/fr/man1/utmpdump.1*
1322%lang(sr) %{_mandir}/sr/man1/utmpdump.1*
67de32db 1323
a310d05b
JB
1324# login-utils/runuser,su
1325%if %{with su}
1326%attr(755,root,root) /bin/runuser
1327%attr(755,root,root) /sbin/runuser
1328%attr(4755,root,root) /bin/su
1329%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/runuser
1330%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/runuser-l
1331%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/su
1332%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/su-l
1333%{_mandir}/man1/runuser.1*
1334%{_mandir}/man1/su.1*
1335%lang(de) %{_mandir}/de/man1/runuser.1*
1336%lang(de) %{_mandir}/de/man1/su.1*
1337%lang(fr) %{_mandir}/fr/man1/runuser.1*
1338%lang(sr) %{_mandir}/sr/man1/runuser.1*
1339%lang(sr) %{_mandir}/sr/man1/su.1*
0deefbb8 1340%endif
8b6144a3 1341
a310d05b
JB
1342# login-utils/lslogins
1343%attr(755,root,root) %{_bindir}/lslogins
1344%{_mandir}/man1/lslogins.1*
1345%lang(de) %{_mandir}/de/man1/lslogins.1*
1346%lang(sr) %{_mandir}/sr/man1/lslogins.1*
1347
1348# misc-utils/cal
1349%attr(755,root,root) %{_bindir}/cal
67de32db 1350%{_mandir}/man1/cal.1*
a310d05b
JB
1351%lang(de) %{_mandir}/de/man1/cal.1*
1352%lang(fi) %{_mandir}/fi/man1/cal.1*
1353%lang(fr) %{_mandir}/fr/man1/cal.1*
1354%lang(hu) %{_mandir}/hu/man1/cal.1*
1355%lang(id) %{_mandir}/id/man1/cal.1*
1356%lang(ja) %{_mandir}/ja/man1/cal.1*
1357%lang(ko) %{_mandir}/ko/man1/cal.1*
1358%lang(pl) %{_mandir}/pl/man1/cal.1*
1359%lang(sr) %{_mandir}/sr/man1/cal.1*
1360
1361# misc-utils/logger
1362%attr(755,root,root) %{_bindir}/logger
67de32db 1363%{_mandir}/man1/logger.1*
a310d05b
JB
1364%lang(de) %{_mandir}/de/man1/logger.1*
1365%lang(fr) %{_mandir}/fr/man1/logger.1*
1366%lang(hu) %{_mandir}/hu/man1/logger.1*
1367%lang(id) %{_mandir}/id/man1/logger.1*
1368%lang(ja) %{_mandir}/ja/man1/logger.1*
1369%lang(ko) %{_mandir}/ko/man1/logger.1*
1370%lang(pl) %{_mandir}/pl/man1/logger.1*
1371%lang(sr) %{_mandir}/sr/man1/logger.1*
1372
1373# misc/utils/look
1374%attr(755,root,root) %{_bindir}/look
67de32db 1375%{_mandir}/man1/look.1*
a310d05b
JB
1376%lang(de) %{_mandir}/de/man1/look.1*
1377%lang(es) %{_mandir}/es/man1/look.1*
1378%lang(ja) %{_mandir}/ja/man1/look.1*
1379%lang(ko) %{_mandir}/ko/man1/look.1*
1380%lang(pl) %{_mandir}/pl/man1/look.1*
1381%lang(sr) %{_mandir}/sr/man1/look.1*
1382
1383# misc-utils/mcookie
1384%attr(755,root,root) %{_bindir}/mcookie
67de32db 1385%{_mandir}/man1/mcookie.1*
a310d05b
JB
1386%lang(de) %{_mandir}/de/man1/mcookie.1*
1387%lang(fr) %{_mandir}/fr/man1/mcookie.1*
1388%lang(ja) %{_mandir}/ja/man1/mcookie.1*
1389%lang(ko) %{_mandir}/ko/man1/mcookie.1*
1390%lang(sr) %{_mandir}/sr/man1/mcookie.1*
1391
1392# misc-utils/namei
1393%attr(755,root,root) %{_bindir}/namei
67de32db 1394%{_mandir}/man1/namei.1*
a310d05b
JB
1395%lang(de) %{_mandir}/de/man1/namei.1*
1396%lang(es) %{_mandir}/es/man1/namei.1*
1397%lang(fr) %{_mandir}/fr/man1/namei.1*
1398%lang(ja) %{_mandir}/ja/man1/namei.1*
1399%lang(ko) %{_mandir}/ko/man1/namei.1*
1400%lang(sr) %{_mandir}/sr/man1/namei.1*
1401
1402# misc-utils/whereis
1403%attr(755,root,root) %{_bindir}/whereis
67de32db 1404%{_mandir}/man1/whereis.1*
a310d05b
JB
1405%lang(de) %{_mandir}/de/man1/whereis.1*
1406%lang(es) %{_mandir}/es/man1/whereis.1*
1407%lang(fi) %{_mandir}/fi/man1/whereis.1*
1408%lang(fr) %{_mandir}/fr/man1/whereis.1*
1409%lang(hu) %{_mandir}/hu/man1/whereis.1*
1410%lang(ja) %{_mandir}/ja/man1/whereis.1*
1411%lang(ko) %{_mandir}/ko/man1/whereis.1*
1412%lang(pl) %{_mandir}/pl/man1/whereis.1*
1413%lang(sr) %{_mandir}/sr/man1/whereis.1*
1414
1415# misc-utils/lslocks
1416%attr(755,root,root) %{_bindir}/lslocks
4fa9d824 1417%{_mandir}/man8/lslocks.8*
a310d05b
JB
1418%lang(de) %{_mandir}/de/man8/lslocks.8*
1419%lang(fr) %{_mandir}/fr/man8/lslocks.8*
1420%lang(sr) %{_mandir}/sr/man8/lslocks.8*
1421
1422# misc-utils/lsblk
1423%attr(755,root,root) /bin/lsblk
1424%{_mandir}/man8/lsblk.8*
1425%lang(de) %{_mandir}/de/man8/lsblk.8*
1426%lang(fr) %{_mandir}/fr/man8/lsblk.8*
1427%lang(sr) %{_mandir}/sr/man8/lsblk.8*
1428
1429# misc-utils/uuidparse
1430%attr(755,root,root) %{_bindir}/uuidparse
1431%{_mandir}/man1/uuidparse.1*
1432%lang(de) %{_mandir}/de/man1/uuidparse.1*
1433%lang(sr) %{_mandir}/sr/man1/uuidparse.1*
1434
1435# misc-utils/blkid
1436%ghost %{_sysconfdir}/blkid.tab
1437%attr(755,root,root) /sbin/blkid
1438%{_mandir}/man8/blkid.8*
1439%lang(de) %{_mandir}/de/man8/blkid.8*
1440%lang(fr) %{_mandir}/fr/man8/blkid.8*
1441%lang(sr) %{_mandir}/sr/man8/blkid.8*
1442
1443# misc-utils/findfs
1444%attr(755,root,root) /sbin/findfs
1445%{_mandir}/man8/findfs.8*
1446%lang(de) %{_mandir}/de/man8/findfs.8*
1447%lang(fr) %{_mandir}/fr/man8/findfs.8*
1448%lang(sr) %{_mandir}/sr/man8/findfs.8*
1449
1450# misc-utils/wipefs
1451%attr(755,root,root) /sbin/wipefs
67de32db 1452%{_mandir}/man8/wipefs.8*
a310d05b
JB
1453%lang(de) %{_mandir}/de/man8/wipefs.8*
1454%lang(sr) %{_mandir}/sr/man8/wipefs.8*
1455
1456# misc-utils/kill
1457%attr(755,root,root) /bin/kill
1458%{_mandir}/man1/kill.1*
67de32db 1459%lang(de) %{_mandir}/de/man1/kill.1*
a310d05b
JB
1460%lang(fi) %{_mandir}/fi/man1/kill.1*
1461%lang(fr) %{_mandir}/fr/man1/kill.1*
1462%lang(hu) %{_mandir}/hu/man1/kill.1*
1463%lang(id) %{_mandir}/id/man1/kill.1*
1464%lang(it) %{_mandir}/it/man1/kill.1*
1465%lang(ja) %{_mandir}/ja/man1/kill.1*
1466%lang(ko) %{_mandir}/ko/man1/kill.1*
1467%lang(nl) %{_mandir}/nl/man1/kill.1*
1468%lang(pl) %{_mandir}/pl/man1/kill.1*
1469%lang(sr) %{_mandir}/sr/man1/kill.1*
1470
1471# misc-utils/rename
1472%attr(755,root,root) %{_bindir}/rename
1473%{_mandir}/man1/rename.1*
7cafc16a 1474%lang(de) %{_mandir}/de/man1/rename.1*
a310d05b
JB
1475%lang(fr) %{_mandir}/fr/man1/rename.1*
1476%lang(ja) %{_mandir}/ja/man1/rename.1*
1477%lang(sr) %{_mandir}/sr/man1/rename.1*
1478
1479# misc-utils/getopt
1480%attr(755,root,root) %{_bindir}/getopt
1481%{_mandir}/man1/getopt.1*
1482%lang(de) %{_mandir}/de/man1/getopt.1*
1483%lang(es) %{_mandir}/es/man1/getopt.1*
1484%lang(fr) %{_mandir}/fr/man1/getopt.1*
1485%lang(ja) %{_mandir}/ja/man1/getopt.1*
1486%lang(ko) %{_mandir}/ko/man1/getopt.1*
1487%lang(pl) %{_mandir}/pl/man1/getopt.1*
1488%lang(sr) %{_mandir}/sr/man1/getopt.1*
1489
1490# misc-utils/fincore
1491%attr(755,root,root) %{_bindir}/fincore
1492%{_mandir}/man1/fincore.1*
1493%lang(de) %{_mandir}/de/man1/fincore.1*
1494%lang(sr) %{_mandir}/sr/man1/fincore.1*
1495
1496# misc-utils/hardlink
1497%attr(755,root,root) %{_bindir}/hardlink
1498%{_mandir}/man1/hardlink.1*
1499%lang(de) %{_mandir}/de/man1/hardlink.1*
1500
1501# misc-utils/lsfd
1502%attr(755,root,root) /bin/lsfd
1503%{_mandir}/man1/lsfd.1*
1504%lang(de) %{_mandir}/de/man1/lsfd.1*
1505
1506# schedutils/chrt
1507%attr(755,root,root) %{_bindir}/chrt
1508%{_mandir}/man1/chrt.1*
1509%lang(de) %{_mandir}/de/man1/chrt.1*
1510%lang(fr) %{_mandir}/fr/man1/chrt.1*
1511%lang(sr) %{_mandir}/sr/man1/chrt.1*
1512
1513# schedutils/ionice
1514%attr(755,root,root) %{_bindir}/ionice
1515%{_mandir}/man1/ionice.1*
1516%lang(de) %{_mandir}/de/man1/ionice.1*
1517%lang(fr) %{_mandir}/fr/man1/ionice.1*
1518%lang(sr) %{_mandir}/sr/man1/ionice.1*
1519
1520# schedutils/taskset
1521%attr(755,root,root) %{_bindir}/taskset
1522%{_mandir}/man1/taskset.1*
028b554f 1523%lang(de) %{_mandir}/de/man1/taskset.1*
a310d05b
JB
1524%lang(fr) %{_mandir}/fr/man1/taskset.1*
1525%lang(sr) %{_mandir}/sr/man1/taskset.1*
1526
1527# schedutils/uclampset
1528%attr(755,root,root) %{_bindir}/uclampset
1529%{_mandir}/man1/uclampset.1*
7cafc16a 1530%lang(de) %{_mandir}/de/man1/uclampset.1*
a310d05b
JB
1531%lang(sr) %{_mandir}/sr/man1/uclampset.1*
1532
1533# sys-utils/lsmem
1534%attr(755,root,root) %{_bindir}/lsmem
1535%{_mandir}/man1/lsmem.1*
1536%lang(de) %{_mandir}/de/man1/lsmem.1*
1537%lang(sr) %{_mandir}/sr/man1/lsmem.1*
1538
1539# sys-utils/chmem
1540%{_mandir}/man8/chmem.8*
1541%attr(755,root,root) %{_bindir}/chmem
7cafc16a 1542%lang(de) %{_mandir}/de/man8/chmem.8*
a310d05b
JB
1543%lang(sr) %{_mandir}/sr/man8/chmem.8*
1544
1545# sys-utils/flock
1546%attr(755,root,root) %{_bindir}/flock
1547%{_mandir}/man1/flock.1*
1548%lang(de) %{_mandir}/de/man1/flock.1*
1549%lang(fr) %{_mandir}/fr/man1/flock.1*
1550%lang(sr) %{_mandir}/sr/man1/flock.1*
1551
1552# sys-utils/choom
1553%attr(755,root,root) %{_bindir}/choom
1554%{_mandir}/man1/choom.1*
1555%lang(de) %{_mandir}/de/man1/choom.1*
1556%lang(sr) %{_mandir}/sr/man1/choom.1*
1557
1558# sys-utils/ipcmk,ipcrm,ipcs
1559%attr(755,root,root) %{_bindir}/ipcmk
1560%attr(755,root,root) %{_bindir}/ipcrm
1561%attr(755,root,root) %{_bindir}/ipcs
1562%{_mandir}/man1/ipcrm.1*
1563%{_mandir}/man1/ipcmk.1*
1564%{_mandir}/man1/ipcs.1*
1565%lang(de) %{_mandir}/de/man1/ipcmk.1*
1566%lang(de) %{_mandir}/de/man1/ipcrm.1*
1567%lang(de) %{_mandir}/de/man1/ipcs.1*
d55244da
JB
1568%lang(es) %{_mandir}/es/man1/ipcrm.1*
1569%lang(es) %{_mandir}/es/man1/ipcs.1*
7cafc16a
JB
1570%lang(fr) %{_mandir}/fr/man1/ipcmk.1*
1571%lang(fr) %{_mandir}/fr/man1/ipcrm.1*
1572%lang(fr) %{_mandir}/fr/man1/ipcs.1*
d55244da
JB
1573%lang(ja) %{_mandir}/ja/man1/ipcrm.1*
1574%lang(ja) %{_mandir}/ja/man1/ipcs.1*
1575%lang(ko) %{_mandir}/ko/man1/ipcrm.1*
1576%lang(ko) %{_mandir}/ko/man1/ipcs.1*
1577%lang(pl) %{_mandir}/pl/man1/ipcrm.1*
1578%lang(pl) %{_mandir}/pl/man1/ipcs.1*
7cafc16a
JB
1579%lang(sr) %{_mandir}/sr/man1/ipcmk.1*
1580%lang(sr) %{_mandir}/sr/man1/ipcrm.1*
1581%lang(sr) %{_mandir}/sr/man1/ipcs.1*
a310d05b
JB
1582
1583# sys-utils/irqtop
1584%attr(755,root,root) %{_bindir}/irqtop
1585%{_mandir}/man1/irqtop.1*
1586%lang(de) %{_mandir}/de/man1/irqtop.1*
7cafc16a 1587%lang(sr) %{_mandir}/sr/man1/irqtop.1*
a310d05b
JB
1588
1589# sys-utils/lsirq
1590%attr(755,root,root) %{_bindir}/lsirq
1591%{_mandir}/man1/lsirq.1*
1592%lang(de) %{_mandir}/de/man1/lsirq.1*
7cafc16a 1593%lang(sr) %{_mandir}/sr/man1/lsirq.1*
a310d05b
JB
1594
1595# sys-utils/lsipc
1596%attr(755,root,root) %{_bindir}/lsipc
1597%{_mandir}/man1/lsipc.1*
1598%lang(de) %{_mandir}/de/man1/lsipc.1*
1599%lang(sr) %{_mandir}/sr/man1/lsipc.1*
1600
1601# sys-utils/renice
1602%attr(755,root,root) %{_bindir}/renice
1603%{_mandir}/man1/renice.1*
1604%lang(de) %{_mandir}/de/man1/renice.1*
1605%lang(es) %{_mandir}/es/man1/renice.1*
a310d05b 1606%lang(fr) %{_mandir}/fr/man1/renice.1*
d55244da
JB
1607%lang(ja) %{_mandir}/ja/man1/renice.1*
1608%lang(ko) %{_mandir}/ko/man1/renice.1*
1609%lang(pl) %{_mandir}/pl/man1/renice.1*
7cafc16a 1610%lang(sr) %{_mandir}/sr/man1/renice.1*
a310d05b
JB
1611
1612# sys-utils/rfkill
1613%attr(755,root,root) %{_sbindir}/rfkill
1614%{_mandir}/man8/rfkill.8*
1615%lang(de) %{_mandir}/de/man8/rfkill.8*
1616%lang(sr) %{_mandir}/sr/man8/rfkill.8*
1617
1618# sys-utils/setsid
1619%attr(755,root,root) %{_bindir}/setsid
1620%{_mandir}/man1/setsid.1*
1621%lang(de) %{_mandir}/de/man1/setsid.1*
1622%lang(es) %{_mandir}/es/man1/setsid.1*
a310d05b 1623%lang(fr) %{_mandir}/fr/man1/setsid.1*
d55244da
JB
1624%lang(it) %{_mandir}/it/man1/setsid.1*
1625%lang(ja) %{_mandir}/ja/man1/setsid.1*
1626%lang(ko) %{_mandir}/ko/man1/setsid.1*
7cafc16a 1627%lang(sr) %{_mandir}/sr/man1/setsid.1*
a310d05b
JB
1628
1629# sys-utils/readprofile
1630%attr(755,root,root) %{_sbindir}/readprofile
1631%{_mandir}/man8/readprofile.8*
1632%lang(de) %{_mandir}/de/man8/readprofile.8*
1633%lang(es) %{_mandir}/es/man8/readprofile.8*
1634%lang(fr) %{_mandir}/fr/man8/readprofile.8*
1635%lang(ja) %{_mandir}/ja/man8/readprofile.8*
1636%lang(ko) %{_mandir}/ko/man8/readprofile.8*
1637%lang(sr) %{_mandir}/sr/man8/readprofile.8*
1638
1639# sys-utils/fstrim
1640%attr(755,root,root) /sbin/fstrim
1641%if %{with systemd}
1642%{systemdunitdir}/fstrim.service
1643%{systemdunitdir}/fstrim.timer
1644%endif
1645%{_mandir}/man8/fstrim.8*
1646%lang(de) %{_mandir}/de/man8/fstrim.8*
1647%lang(fr) %{_mandir}/fr/man8/fstrim.8*
1648%lang(sr) %{_mandir}/sr/man8/fstrim.8*
1649
1650# sys-utils/dmesg
1651%attr(755,root,root) /bin/dmesg
1652%{_mandir}/man1/dmesg.1*
1653%lang(de) %{_mandir}/de/man1/dmesg.1*
1654%lang(fr) %{_mandir}/fr/man1/dmesg.1*
d55244da
JB
1655%lang(ja) %{_mandir}/ja/man1/dmesg.1*
1656%lang(ko) %{_mandir}/ko/man1/dmesg.1*
1657%lang(pl) %{_mandir}/pl/man1/dmesg.1*
a310d05b
JB
1658%lang(sr) %{_mandir}/sr/man1/dmesg.1*
1659
1660# sys-utils/ctrlaltdel
1661%attr(755,root,root) /sbin/ctrlaltdel
1662%{_mandir}/man8/ctrlaltdel.8*
1663%lang(de) %{_mandir}/de/man8/ctrlaltdel.8*
1664%lang(es) %{_mandir}/es/man8/ctrlaltdel.8*
1665%lang(fr) %{_mandir}/fr/man8/ctrlaltdel.8*
1666%lang(hu) %{_mandir}/hu/man8/ctrlaltdel.8*
1667%lang(ja) %{_mandir}/ja/man8/ctrlaltdel.8*
1668%lang(ko) %{_mandir}/ko/man8/ctrlaltdel.8*
1669%lang(pl) %{_mandir}/pl/man8/ctrlaltdel.8*
7cafc16a 1670%lang(sr) %{_mandir}/sr/man8/ctrlaltdel.8*
a310d05b
JB
1671
1672# sys-utils/fsfreeze
1673%attr(755,root,root) /sbin/fsfreeze
1674%{_mandir}/man8/fsfreeze.8*
1675%lang(de) %{_mandir}/de/man8/fsfreeze.8*
1676%lang(fr) %{_mandir}/fr/man8/fsfreeze.8*
7cafc16a 1677%lang(sr) %{_mandir}/sr/man8/fsfreeze.8*
a310d05b
JB
1678
1679# sys-utils/blkdiscard
1680%attr(755,root,root) /sbin/blkdiscard
1681%{_mandir}/man8/blkdiscard.8*
1682%lang(de) %{_mandir}/de/man8/blkdiscard.8*
1683%lang(fr) %{_mandir}/fr/man8/blkdiscard.8*
1684%lang(sr) %{_mandir}/sr/man8/blkdiscard.8*
1685
1686# sys-utils/blkzone
1687%attr(755,root,root) /sbin/blkzone
1688%{_mandir}/man8/blkzone.8*
1689%lang(de) %{_mandir}/de/man8/blkzone.8*
1690%lang(sr) %{_mandir}/sr/man8/blkzone.8*
1691
1692# sys-utils/ldattach
1693%attr(755,root,root) %{_sbindir}/ldattach
1694%{_mandir}/man8/ldattach.8*
1695%lang(de) %{_mandir}/de/man8/ldattach.8*
1696%lang(fr) %{_mandir}/fr/man8/ldattach.8*
7cafc16a 1697%lang(sr) %{_mandir}/sr/man8/ldattach.8*
a310d05b
JB
1698
1699# sys-utils/rtcwake
1700%attr(755,root,root) %{_sbindir}/rtcwake
1701%{_mandir}/man8/rtcwake.8*
1702%lang(de) %{_mandir}/de/man8/rtcwake.8*
1703%lang(fr) %{_mandir}/fr/man8/rtcwake.8*
7cafc16a 1704%lang(sr) %{_mandir}/sr/man8/rtcwake.8*
a310d05b
JB
1705
1706# sys-utils/setarch
1707%attr(755,root,root) %{_bindir}/linux32
1708%attr(755,root,root) %{_bindir}/linux64
1709%attr(755,root,root) %{_bindir}/setarch
1710%attr(755,root,root) %{_bindir}/uname26
1711%{_mandir}/man8/linux32.8*
1712%{_mandir}/man8/linux64.8*
1713%{_mandir}/man8/setarch.8*
1714%{_mandir}/man8/uname26.8*
1715%lang(de) %{_mandir}/de/man8/setarch.8*
1716%lang(fr) %{_mandir}/fr/man8/setarch.8*
1717%lang(sr) %{_mandir}/sr/man8/setarch.8*
1718%ifarch s390 s390x
1719%attr(755,root,root) %{_bindir}/s390
1720%attr(755,root,root) %{_bindir}/s390x
1721%{_mandir}/man8/s390.8*
1722%{_mandir}/man8/s390x.8*
1723%endif
1724%ifarch %{ix86} %{x8664} x32 ia64
1725%attr(755,root,root) %{_bindir}/i386
1726%{_mandir}/man8/i386.8*
1727%endif
1728%ifarch %{x8664} x32
1729%attr(755,root,root) %{_bindir}/x86_64
1730%{_mandir}/man8/x86_64.8*
1731%endif
1732%ifarch hppa
1733%attr(755,root,root) %{_bindir}/parisc
1734%attr(755,root,root) %{_bindir}/parisc32
1735%attr(755,root,root) %{_bindir}/parisc64
1736%{_mandir}/man8/parisc.8*
1737%{_mandir}/man8/parisc32.8*
1738%{_mandir}/man8/parisc64.8*
1739%endif
1740%ifarch ia64
1741%attr(755,root,root) %{_bindir}/ia64
1742%{_mandir}/man8/ia64.8*
1743%endif
1744%ifarch mips mipsel mips64 mips64el
1745%attr(755,root,root) %{_bindir}/mips
1746%attr(755,root,root) %{_bindir}/mips32
1747%attr(755,root,root) %{_bindir}/mips64
1748%{_mandir}/man8/mips.8*
1749%{_mandir}/man8/mips32.8*
1750%{_mandir}/man8/mips64.8*
1751%endif
1752%ifarch ppc ppc64
1753%attr(755,root,root) %{_bindir}/ppc
1754%attr(755,root,root) %{_bindir}/ppc32
1755%attr(755,root,root) %{_bindir}/ppc64
1756%{_mandir}/man8/ppc.8*
1757%{_mandir}/man8/ppc32.8*
1758%{_mandir}/man8/ppc64.8*
1759%endif
1760%ifarch sparc sparcv9 sparc64
1761%attr(755,root,root) %{_bindir}/sparc
1762%attr(755,root,root) %{_bindir}/sparc32
1763%attr(755,root,root) %{_bindir}/sparc32bash
1764%attr(755,root,root) %{_bindir}/sparc64
1765%{_mandir}/man8/sparc.8*
1766%{_mandir}/man8/sparc32.8*
1767%{_mandir}/man8/sparc32bash.8*
1768%{_mandir}/man8/sparc64.8*
1769%endif
1770
1771# sys-utils/eject
1772%attr(755,root,root) %{_bindir}/eject
1773%{_mandir}/man1/eject.1*
1774%lang(de) %{_mandir}/de/man1/eject.1*
1775%lang(sr) %{_mandir}/sr/man1/eject.1*
1776
1777# sys-utils/zramctl
1778%attr(755,root,root) /sbin/zramctl
1779%{_mandir}/man8/zramctl.8*
1780%lang(de) %{_mandir}/de/man8/zramctl.8*
7cafc16a 1781%lang(sr) %{_mandir}/sr/man8/zramctl.8*
67de32db 1782
a310d05b
JB
1783# sys-utils/prlimit
1784%attr(755,root,root) %{_bindir}/prlimit
1785%{_mandir}/man1/prlimit.1*
1786%lang(de) %{_mandir}/de/man1/prlimit.1*
1787%lang(fr) %{_mandir}/fr/man1/prlimit.1*
1788%lang(sr) %{_mandir}/sr/man1/prlimit.1*
7cafc16a 1789
a310d05b
JB
1790# sys-utils/lsns
1791%attr(755,root,root) %{_bindir}/lsns
1792%{_mandir}/man8/lsns.8*
1793%lang(de) %{_mandir}/de/man8/lsns.8*
1794%lang(sr) %{_mandir}/sr/man8/lsns.8*
1795
1796# sys-utils/lscpu
1797%attr(755,root,root) %{_bindir}/lscpu
1798%{_mandir}/man1/lscpu.1*
1799%lang(de) %{_mandir}/de/man1/lscpu.1*
1800%lang(fr) %{_mandir}/fr/man1/lscpu.1*
1801%lang(sr) %{_mandir}/sr/man1/lscpu.1*
1802
1803# sys-utils/chcpu
1804%attr(755,root,root) /sbin/chcpu
1805%{_mandir}/man8/chcpu.8*
1806%lang(de) %{_mandir}/de/man8/chcpu.8*
1807%lang(fr) %{_mandir}/fr/man8/chcpu.8*
1808%lang(sr) %{_mandir}/sr/man8/chcpu.8*
1809
1810# sys-utils/wdctl
1811%attr(755,root,root) /bin/wdctl
1812%{_mandir}/man8/wdctl.8*
1813%lang(de) %{_mandir}/de/man8/wdctl.8*
1814%lang(fr) %{_mandir}/fr/man8/wdctl.8*
1815%lang(sr) %{_mandir}/sr/man8/wdctl.8*
1816
1817# sys-utils/fallocate
1818%attr(755,root,root) %{_bindir}/fallocate
1819%{_mandir}/man1/fallocate.1*
1820%lang(de) %{_mandir}/de/man1/fallocate.1*
1821%lang(fr) %{_mandir}/fr/man1/fallocate.1*
1822%lang(sr) %{_mandir}/sr/man1/fallocate.1*
1823
1824# sys-utils/switch_root
1825%attr(755,root,root) /sbin/switch_root
1826%{_mandir}/man8/switch_root.8*
1827%lang(de) %{_mandir}/de/man8/switch_root.8*
1828%lang(fr) %{_mandir}/fr/man8/switch_root.8*
1829%lang(sr) %{_mandir}/sr/man8/switch_root.8*
1830
1831# sys-utils/unshare
1832%attr(755,root,root) %{_bindir}/unshare
1833%{_mandir}/man1/unshare.1*
1834%lang(de) %{_mandir}/de/man1/unshare.1*
1835%lang(fr) %{_mandir}/fr/man1/unshare.1*
1836%lang(sr) %{_mandir}/sr/man1/unshare.1*
1837
1838# sys-utils/nsenter
1839%attr(755,root,root) %{_bindir}/nsenter
1840%{_mandir}/man1/nsenter.1*
1841%lang(de) %{_mandir}/de/man1/nsenter.1*
1842%lang(fr) %{_mandir}/fr/man1/nsenter.1*
1843%lang(sr) %{_mandir}/sr/man1/nsenter.1*
1844
1845# sys-utils/hwclock
1846%attr(755,root,root) /sbin/clock
1847%attr(755,root,root) /sbin/hwclock
1848%{_mandir}/man5/adjtime_config.5*
1849%{_mandir}/man8/clock.8*
1850%{_mandir}/man8/hwclock.8*
1851%lang(de) %{_mandir}/de/man5/adjtime_config.5*
1852%lang(de) %{_mandir}/de/man8/clock.8*
1853%lang(de) %{_mandir}/de/man8/hwclock.8*
1854%lang(es) %{_mandir}/es/man8/clock.8*
1855%lang(es) %{_mandir}/es/man8/hwclock.8*
1856%lang(fr) %{_mandir}/fr/man8/clock.8*
1857%lang(fr) %{_mandir}/fr/man8/hwclock.8*
1858%lang(ja) %{_mandir}/ja/man8/clock.8*
1859%lang(ja) %{_mandir}/ja/man8/hwclock.8*
1860%lang(sr) %{_mandir}/sr/man5/adjtime_config.5*
1861%lang(sr) %{_mandir}/sr/man8/clock.8*
1862%lang(sr) %{_mandir}/sr/man8/hwclock.8*
1863
1864# sys-utils/serpriv
1865%attr(755,root,root) %{_bindir}/setpriv
1866%{_mandir}/man1/setpriv.1*
1867%lang(de) %{_mandir}/de/man1/setpriv.1*
1868%lang(sr) %{_mandir}/sr/man1/setpriv.1*
1869
1870# term-utils/script,scriptreplay,scriptlive
1871%attr(755,root,root) %{_bindir}/script
1872%attr(755,root,root) %{_bindir}/scriptlive
1873%attr(755,root,root) %{_bindir}/scriptreplay
1874%{_mandir}/man1/script.1*
1875%{_mandir}/man1/scriptlive.1*
1876%{_mandir}/man1/scriptreplay.1*
1877%lang(de) %{_mandir}/de/man1/script.1*
1878%lang(de) %{_mandir}/de/man1/scriptlive.1*
1879%lang(de) %{_mandir}/de/man1/scriptreplay.1*
1880%lang(es) %{_mandir}/es/man1/script.1*
1881%lang(fr) %{_mandir}/fr/man1/script.1*
1882%lang(fr) %{_mandir}/fr/man1/scriptreplay.1*
1883%lang(id) %{_mandir}/id/man1/script.1*
1884%lang(ja) %{_mandir}/ja/man1/script.1*
1885%lang(ko) %{_mandir}/ko/man1/script.1*
1886%lang(pl) %{_mandir}/pl/man1/script.1*
1887%lang(sr) %{_mandir}/sr/man1/script.1*
1888%lang(sr) %{_mandir}/sr/man1/scriptlive.1*
1889%lang(sr) %{_mandir}/sr/man1/scriptreplay.1*
1890
1891# term-utils/setterm
1892%attr(755,root,root) %{_bindir}/setterm
1893%{_mandir}/man1/setterm.1*
1894%lang(de) %{_mandir}/de/man1/setterm.1*
1895%lang(es) %{_mandir}/es/man1/setterm.1*
1896%lang(fr) %{_mandir}/fr/man1/setterm.1*
1897%lang(hu) %{_mandir}/hu/man1/setterm.1*
1898%lang(ja) %{_mandir}/ja/man1/setterm.1*
1899%lang(ko) %{_mandir}/ko/man1/setterm.1*
1900%lang(pl) %{_mandir}/pl/man1/setterm.1*
1901%lang(sr) %{_mandir}/sr/man1/setterm.1*
67de32db 1902
a310d05b
JB
1903# term-utils/mesg
1904%attr(755,root,root) %{_bindir}/mesg
1905%{_mandir}/man1/mesg.1*
1906%lang(de) %{_mandir}/de/man1/mesg.1*
1907%lang(fr) %{_mandir}/fr/man1/mesg.1*
1908%lang(sr) %{_mandir}/sr/man1/mesg.1*
7cafc16a 1909
a310d05b
JB
1910# term-utils/write
1911%attr(2755,root,tty) %{_bindir}/write
1912%{_mandir}/man1/write.1*
1913%lang(de) %{_mandir}/de/man1/write.1*
1914%lang(es) %{_mandir}/es/man1/write.1*
1915%lang(fi) %{_mandir}/fi/man1/write.1*
1916%lang(fr) %{_mandir}/fr/man1/write.1*
1917%lang(hu) %{_mandir}/hu/man1/write.1*
1918%lang(id) %{_mandir}/id/man1/write.1*
1919%lang(ja) %{_mandir}/ja/man1/write.1*
1920%lang(ko) %{_mandir}/ko/man1/write.1*
1921%lang(pl) %{_mandir}/pl/man1/write.1*
1922%lang(sr) %{_mandir}/sr/man1/write.1*
67de32db 1923
a310d05b
JB
1924# text-utils/col,colcrt,colrm,column
1925%attr(755,root,root) %{_bindir}/col
1926%attr(755,root,root) %{_bindir}/colcrt
1927%attr(755,root,root) %{_bindir}/colrm
1928%attr(755,root,root) %{_bindir}/column
1929%{_mandir}/man1/col.1*
1930%{_mandir}/man1/colcrt.1*
1931%{_mandir}/man1/colrm.1*
1932%{_mandir}/man1/column.1*
1933%lang(de) %{_mandir}/de/man1/col.1*
1934%lang(de) %{_mandir}/de/man1/colcrt.1*
1935%lang(de) %{_mandir}/de/man1/colrm.1*
1936%lang(de) %{_mandir}/de/man1/column.1*
1937%lang(es) %{_mandir}/es/man1/colrm.1*
1938%lang(es) %{_mandir}/es/man1/column.1*
1939%lang(fi) %{_mandir}/fi/man1/column.1*
1940%lang(fr) %{_mandir}/fr/man1/col.1*
1941%lang(hu) %{_mandir}/hu/man1/colrm.1*
1942%lang(ja) %{_mandir}/ja/man1/col.1*
1943%lang(ja) %{_mandir}/ja/man1/colcrt.1*
1944%lang(ja) %{_mandir}/ja/man1/colrm.1*
1945%lang(ja) %{_mandir}/ja/man1/column.1*
1946%lang(ko) %{_mandir}/ko/man1/col.1*
1947%lang(ko) %{_mandir}/ko/man1/colcrt.1*
1948%lang(ko) %{_mandir}/ko/man1/colrm.1*
1949%lang(ko) %{_mandir}/ko/man1/column.1*
1950%lang(pl) %{_mandir}/pl/man1/col.1*
1951%lang(pl) %{_mandir}/pl/man1/colcrt.1*
1952%lang(pl) %{_mandir}/pl/man1/colrm.1*
1953%lang(sr) %{_mandir}/sr/man1/col.1*
1954%lang(sr) %{_mandir}/sr/man1/colcrt.1*
1955%lang(sr) %{_mandir}/sr/man1/colrm.1*
1956%lang(sr) %{_mandir}/sr/man1/column.1*
7cafc16a 1957
a310d05b
JB
1958# text-utils/hexdump
1959%attr(755,root,root) %{_bindir}/hexdump
1960%{_mandir}/man1/hexdump.1*
1961%lang(de) %{_mandir}/de/man1/hexdump.1*
1962%lang(hu) %{_mandir}/hu/man1/hexdump.1*
1963%lang(ja) %{_mandir}/ja/man1/hexdump.1*
1964%lang(ko) %{_mandir}/ko/man1/hexdump.1*
1965%lang(pl) %{_mandir}/pl/man1/hexdump.1*
1966%lang(sr) %{_mandir}/sr/man1/hexdump.1*
67de32db 1967
a310d05b
JB
1968# text-utils/rev
1969%attr(755,root,root) %{_bindir}/rev
1970%{_mandir}/man1/rev.1*
1971%lang(de) %{_mandir}/de/man1/rev.1*
1972%lang(es) %{_mandir}/es/man1/rev.1*
1973%lang(fr) %{_mandir}/fr/man1/rev.1*
1974%lang(ja) %{_mandir}/ja/man1/rev.1*
1975%lang(ko) %{_mandir}/ko/man1/rev.1*
1976%lang(pl) %{_mandir}/pl/man1/rev.1*
1977%lang(sr) %{_mandir}/sr/man1/rev.1*
1978%lang(uk) %{_mandir}/uk/man1/rev.1*
034a23bb 1979
a310d05b
JB
1980# text-utils/line
1981%attr(755,root,root) %{_bindir}/line
1982%{_mandir}/man1/line.1*
1983%lang(de) %{_mandir}/de/man1/line.1*
1984%lang(es) %{_mandir}/es/man1/line.1*
1985%lang(fr) %{_mandir}/fr/man1/line.1*
1986%lang(ja) %{_mandir}/ja/man1/line.1*
1987%lang(sr) %{_mandir}/sr/man1/line.1*
1988%lang(uk) %{_mandir}/uk/man1/line.1*
1989
1990# text-utils/more,pg
1991%attr(755,root,root) /bin/more
1992%attr(755,root,root) %{_bindir}/pg
1993%{_mandir}/man1/more.1*
1994%{_mandir}/man1/pg.1*
1995%lang(de) %{_mandir}/de/man1/more.1*
1996%lang(de) %{_mandir}/de/man1/pg.1*
1997%lang(es) %{_mandir}/es/man1/more.1*
1998%lang(fi) %{_mandir}/fi/man1/more.1*
1999%lang(fr) %{_mandir}/fr/man1/more.1*
2000%lang(hu) %{_mandir}/hu/man1/more.1*
2001%lang(id) %{_mandir}/id/man1/more.1*
2002%lang(ja) %{_mandir}/ja/man1/more.1*
2003%lang(ko) %{_mandir}/ko/man1/more.1*
2004%lang(pl) %{_mandir}/pl/man1/more.1*
2005%lang(sr) %{_mandir}/sr/man1/more.1*
2006%lang(sr) %{_mandir}/sr/man1/pg.1*
2007
2008# text-utils/ul
2009%attr(755,root,root) %{_bindir}/ul
2010%{_mandir}/man1/ul.1*
2011%lang(de) %{_mandir}/de/man1/ul.1*
2012%lang(es) %{_mandir}/es/man1/ul.1*
2013%lang(ja) %{_mandir}/ja/man1/ul.1*
2014%lang(ko) %{_mandir}/ko/man1/ul.1*
2015%lang(pl) %{_mandir}/pl/man1/ul.1*
2016%lang(sr) %{_mandir}/sr/man1/ul.1*
67de32db 2017
2018%files -n blockdev
2019%defattr(644,root,root,755)
2020%attr(754,root,root) /etc/rc.d/init.d/blockdev
2021%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/blockdev
2022%attr(755,root,root) /sbin/blockdev
2023%{_mandir}/man8/blockdev.8*
028b554f 2024%lang(de) %{_mandir}/de/man8/blockdev.8*
7cafc16a 2025%lang(fr) %{_mandir}/fr/man8/blockdev.8*
67de32db 2026%lang(ja) %{_mandir}/ja/man8/blockdev.8*
7cafc16a
JB
2027%lang(pt_BR) %{_mandir}/pt_BR/man8/blockdev.8*
2028%lang(sr) %{_mandir}/sr/man8/blockdev.8*
2029%lang(uk) %{_mandir}/uk/man8/blockdev.8*
d18bf877
JR
2030%{systemdunitdir}/blockdev.service
2031%attr(755,root,root) /lib/systemd/pld-helpers.d/blockdev.sh
67de32db 2032
2033%files -n mount
2034%defattr(644,root,root,755)
a310d05b
JB
2035
2036# misc-utils/findmnt
8b6144a3 2037%attr(755,root,root) /bin/findmnt
a310d05b
JB
2038%{_mandir}/man8/findmnt.8*
2039%lang(de) %{_mandir}/de/man8/findmnt.8*
2040%lang(fr) %{_mandir}/fr/man8/findmnt.8*
2041%lang(sr) %{_mandir}/sr/man8/findmnt.8*
2042
2043# sys-utils/mount
67de32db 2044%attr(4755,root,root) /bin/mount
2045%attr(4755,root,root) /bin/umount
67de32db 2046%{_mandir}/man5/fstab.5*
67de32db 2047%{_mandir}/man8/mount.8*
2048%{_mandir}/man8/umount.8*
67de32db 2049%lang(cs) %{_mandir}/cs/man5/fstab.5*
7cafc16a 2050%lang(de) %{_mandir}/de/man5/fstab.5*
7cafc16a
JB
2051%lang(de) %{_mandir}/de/man8/mount.8*
2052%lang(de) %{_mandir}/de/man8/umount.8*
67de32db 2053%lang(es) %{_mandir}/es/man5/fstab.5*
2054%lang(es) %{_mandir}/es/man8/mount.8*
2055%lang(es) %{_mandir}/es/man8/umount.8*
67de32db 2056%lang(fr) %{_mandir}/fr/man5/fstab.5*
2057%lang(fr) %{_mandir}/fr/man8/mount.8*
2058%lang(fr) %{_mandir}/fr/man8/umount.8*
67de32db 2059%lang(hu) %{_mandir}/hu/man5/fstab.5*
2060%lang(hu) %{_mandir}/hu/man8/mount.8*
2061%lang(hu) %{_mandir}/hu/man8/umount.8*
67de32db 2062%lang(it) %{_mandir}/it/man5/fstab.5*
2063%lang(it) %{_mandir}/it/man8/mount.8*
2064%lang(it) %{_mandir}/it/man8/umount.8*
67de32db 2065%lang(ja) %{_mandir}/ja/man5/fstab.5*
2066%lang(ja) %{_mandir}/ja/man8/mount.8*
2067%lang(ja) %{_mandir}/ja/man8/umount.8*
67de32db 2068%lang(ko) %{_mandir}/ko/man5/fstab.5*
2069%lang(ko) %{_mandir}/ko/man8/mount.8*
2070%lang(ko) %{_mandir}/ko/man8/umount.8*
67de32db 2071%lang(pl) %{_mandir}/pl/man5/fstab.5*
2072%lang(pl) %{_mandir}/pl/man8/mount.8*
2073%lang(pl) %{_mandir}/pl/man8/umount.8*
7cafc16a 2074%lang(sr) %{_mandir}/sr/man5/fstab.5*
7cafc16a
JB
2075%lang(sr) %{_mandir}/sr/man8/mount.8*
2076%lang(sr) %{_mandir}/sr/man8/umount.8*
a310d05b
JB
2077
2078# sys-utils/swapon
2079%attr(755,root,root) /sbin/swapon
2080%attr(755,root,root) /sbin/swapoff
2081%{_mandir}/man8/swapon.8*
2082%{_mandir}/man8/swapoff.8*
2083%lang(de) %{_mandir}/de/man8/swapon.8*
2084%lang(de) %{_mandir}/de/man8/swapoff.8*
2085%lang(es) %{_mandir}/es/man8/swapon.8*
2086%lang(es) %{_mandir}/es/man8/swapoff.8*
2087%lang(fr) %{_mandir}/fr/man8/swapon.8*
2088%lang(fr) %{_mandir}/fr/man8/swapoff.8*
2089%lang(it) %{_mandir}/it/man8/swapon.8*
2090%lang(it) %{_mandir}/it/man8/swapoff.8*
2091%lang(ja) %{_mandir}/ja/man8/swapon.8*
2092%lang(ja) %{_mandir}/ja/man8/swapoff.8*
2093%lang(ko) %{_mandir}/ko/man8/swapon.8*
2094%lang(ko) %{_mandir}/ko/man8/swapoff.8*
2095%lang(pl) %{_mandir}/pl/man8/swapon.8*
2096%lang(pl) %{_mandir}/pl/man8/swapoff.8*
7cafc16a
JB
2097%lang(sr) %{_mandir}/sr/man8/swapon.8*
2098%lang(sr) %{_mandir}/sr/man8/swapoff.8*
67de32db 2099
a310d05b
JB
2100# sys-utils/mountpoint
2101%attr(755,root,root) /bin/mountpoint
2102%{_mandir}/man1/mountpoint.1*
2103%lang(de) %{_mandir}/de/man1/mountpoint.1*
2104%lang(fr) %{_mandir}/fr/man1/mountpoint.1*
2105%lang(sr) %{_mandir}/sr/man1/mountpoint.1*
2106
2107# sys-utils/pivot_root
2108%attr(755,root,root) /sbin/pivot_root
2109%{_mandir}/man8/pivot_root.8*
2110%lang(de) %{_mandir}/de/man8/pivot_root.8*
2111%lang(fr) %{_mandir}/fr/man8/pivot_root.8*
2112%lang(ja) %{_mandir}/ja/man8/pivot_root.8*
2113%lang(sr) %{_mandir}/sr/man8/pivot_root.8*
2114
67de32db 2115%files -n losetup
2116%defattr(644,root,root,755)
2117%attr(755,root,root) /sbin/losetup
2118%{_mandir}/man8/losetup.8*
7cafc16a 2119%lang(de) %{_mandir}/de/man8/losetup.8*
67de32db 2120%lang(fr) %{_mandir}/fr/man8/losetup.8*
2121%lang(it) %{_mandir}/it/man8/losetup.8*
2122%lang(ja) %{_mandir}/ja/man8/losetup.8*
2123%lang(ko) %{_mandir}/ko/man8/losetup.8*
2124%lang(pl) %{_mandir}/pl/man8/losetup.8*
7cafc16a 2125%lang(sr) %{_mandir}/sr/man8/losetup.8*
67de32db 2126
67de32db 2127%files -n tunelp
2128%defattr(644,root,root,755)
2129%attr(755,root,root) %{_sbindir}/tunelp
2130%{_mandir}/man8/tunelp.8*
7cafc16a 2131%lang(de) %{_mandir}/de/man8/tunelp.8*
67de32db 2132%lang(es) %{_mandir}/es/man8/tunelp.8*
2133%lang(ja) %{_mandir}/ja/man8/tunelp.8*
2134%lang(pl) %{_mandir}/pl/man8/tunelp.8*
7cafc16a 2135%lang(sr) %{_mandir}/sr/man8/tunelp.8*
67de32db 2136
2137%files -n login
2138%defattr(644,root,root,755)
2139%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/login
2140%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.login
2141%attr(755,root,root) /bin/login
2142%{_mandir}/man1/login.1*
2143%lang(de) %{_mandir}/de/man1/login.1*
2144%lang(es) %{_mandir}/es/man1/login.1*
2145%lang(hu) %{_mandir}/hu/man1/login.1*
2146%lang(id) %{_mandir}/id/man1/login.1*
2147%lang(ja) %{_mandir}/ja/man1/login.1*
2148%lang(ko) %{_mandir}/ko/man1/login.1*
2149%lang(pl) %{_mandir}/pl/man1/login.1*
7cafc16a 2150%lang(sr) %{_mandir}/sr/man1/login.1*
67de32db 2151
2152%files -n agetty
2153%defattr(644,root,root,755)
2154%attr(755,root,root) /sbin/agetty
2155%{_mandir}/man8/agetty.8*
7cafc16a 2156%lang(de) %{_mandir}/de/man8/agetty.8*
67de32db 2157%lang(es) %{_mandir}/es/man8/agetty.8*
7cafc16a 2158%lang(fr) %{_mandir}/fr/man8/agetty.8*
67de32db 2159%lang(ja) %{_mandir}/ja/man8/agetty.8*
7cafc16a 2160%lang(sr) %{_mandir}/sr/man8/agetty.8*
67de32db 2161
2162%files -n libblkid
2163%defattr(644,root,root,755)
2164%attr(755,root,root) /%{_lib}/libblkid.so.*.*
2165%attr(755,root,root) %ghost /%{_lib}/libblkid.so.1
2166
2167%files -n libblkid-devel
2168%defattr(644,root,root,755)
2169%attr(755,root,root) %{_libdir}/libblkid.so
67de32db 2170%{_includedir}/blkid
2171%{_pkgconfigdir}/blkid.pc
2172%{_mandir}/man3/libblkid.3*
028b554f 2173%lang(de) %{_mandir}/de/man3/libblkid.3*
7cafc16a
JB
2174%lang(fr) %{_mandir}/fr/man3/libblkid.3*
2175%lang(sr) %{_mandir}/sr/man3/libblkid.3*
67de32db 2176
2177%files -n libblkid-static
2178%defattr(644,root,root,755)
2179%{_libdir}/libblkid.a
2180
2181%if %{with initrd} && %{with dietlibc}
2182%files -n libblkid-dietlibc
2183%defattr(644,root,root,755)
2184%{dietlibdir}/libblkid.a
2185%endif
2186
f7f13771
MK
2187%if %{with apidocs}
2188%files -n libblkid-apidocs
2189%defattr(644,root,root,755)
2190%{_gtkdocdir}/libblkid
2191%endif
2192
67de32db 2193%files -n libuuid
2194%defattr(644,root,root,755)
67de32db 2195%attr(755,root,root) /%{_lib}/libuuid.so.*.*
2196%attr(755,root,root) %ghost /%{_lib}/libuuid.so.1
a310d05b
JB
2197
2198# misc-utils/uuidgen
2199%attr(755,root,root) %{_bindir}/uuidgen
67de32db 2200%{_mandir}/man1/uuidgen.1*
7cafc16a
JB
2201%lang(de) %{_mandir}/de/man1/uuidgen.1*
2202%lang(sr) %{_mandir}/sr/man1/uuidgen.1*
67de32db 2203
2204%files -n libuuid-devel
2205%defattr(644,root,root,755)
2206%attr(755,root,root) %{_libdir}/libuuid.so
2207%{_libdir}/libuuid.la
2208%{_includedir}/uuid
2209%{_pkgconfigdir}/uuid.pc
2210%{_mandir}/man3/uuid*.3*
028b554f 2211%lang(de) %{_mandir}/de/man3/uuid*.3*
7cafc16a
JB
2212%lang(es) %{_mandir}/es/man3/uuid*.3*
2213%lang(fr) %{_mandir}/fr/man3/uuid*.3*
2214%lang(sr) %{_mandir}/sr/man3/uuid*.3*
67de32db 2215
2216%files -n libuuid-static
2217%defattr(644,root,root,755)
2218%{_libdir}/libuuid.a
2219
2220%if %{with initrd} && %{with dietlibc}
2221%files -n libuuid-dietlibc
2222%defattr(644,root,root,755)
2223%{dietlibdir}/libuuid.a
2224%endif
2225
2226%files -n uuidd
2227%defattr(644,root,root,755)
2228%attr(6755,uuidd,uuidd) %{_sbindir}/uuidd
2229%attr(2775,uuidd,uuidd) /var/lib/libuuid
2230%{_mandir}/man8/uuidd.8*
7cafc16a
JB
2231%lang(de) %{_mandir}/de/man8/uuidd.8*
2232%lang(fr) %{_mandir}/fr/man8/uuidd.8*
2233%lang(sr) %{_mandir}/sr/man8/uuidd.8*
0deefbb8 2234%if %{with systemd}
4fa9d824
AM
2235%{systemdunitdir}/uuidd.service
2236%{systemdunitdir}/uuidd.socket
0deefbb8 2237%endif
67de32db 2238
c7c0c6cb
JB
2239%files -n libfdisk
2240%defattr(644,root,root,755)
2241%doc libfdisk/COPYING
2242%attr(755,root,root) /%{_lib}/libfdisk.so.*.*
2243%attr(755,root,root) %ghost /%{_lib}/libfdisk.so.1
2244
2245%files -n libfdisk-devel
2246%defattr(644,root,root,755)
2247%attr(755,root,root) %{_libdir}/libfdisk.so
2248%{_includedir}/libfdisk
2249%{_pkgconfigdir}/fdisk.pc
2250
2251%files -n libfdisk-static
2252%defattr(644,root,root,755)
2253%{_libdir}/libfdisk.a
2254
f7f13771
MK
2255%if %{with apidocs}
2256%files -n libfdisk-apidocs
2257%defattr(644,root,root,755)
2258%{_gtkdocdir}/libfdisk
2259%endif
2260
67de32db 2261%files -n libmount
2262%defattr(644,root,root,755)
c7c0c6cb 2263%doc libmount/COPYING
67de32db 2264%attr(755,root,root) /%{_lib}/libmount.so.*.*
2265%attr(755,root,root) %ghost /%{_lib}/libmount.so.1
67de32db 2266
2267%files -n libmount-devel
2268%defattr(644,root,root,755)
2269%attr(755,root,root) %{_libdir}/libmount.so
67de32db 2270%{_includedir}/libmount
2271%{_pkgconfigdir}/mount.pc
2272
2273%files -n libmount-static
2274%defattr(644,root,root,755)
2275%{_libdir}/libmount.a
2276
f7f13771
MK
2277%if %{with apidocs}
2278%files -n libmount-apidocs
2279%defattr(644,root,root,755)
2280%{_gtkdocdir}/libmount
2281%endif
2282
8b6144a3
JB
2283%files -n python3-libmount
2284%defattr(644,root,root,755)
2285%dir %{py3_sitedir}/libmount
2286%attr(755,root,root) %{py3_sitedir}/libmount/pylibmount.so
2287%{py3_sitedir}/libmount/__init__.py
2288%{py3_sitedir}/libmount/__pycache__
2289
67de32db 2290%files -n fsck
2291%defattr(644,root,root,755)
2292%attr(755,root,root) /sbin/fsck
2293%{_mandir}/man8/fsck.8*
7cafc16a
JB
2294%lang(de) %{_mandir}/de/man8/fsck.8*
2295%lang(fr) %{_mandir}/fr/man8/fsck.8*
2296%lang(pt_BR) %{_mandir}/pt_BR/man8/fsck.8*
2297%lang(sr) %{_mandir}/sr/man8/fsck.8*
67de32db 2298
8b6144a3 2299%files -n libsmartcols
971f9098 2300%defattr(644,root,root,755)
8b6144a3
JB
2301%attr(755,root,root) /%{_lib}/libsmartcols.so.*.*.*
2302%attr(755,root,root) %ghost /%{_lib}/libsmartcols.so.1
8b6144a3
JB
2303
2304%files -n libsmartcols-devel
2305%defattr(644,root,root,755)
2306%attr(755,root,root) %{_libdir}/libsmartcols.so
2307%{_includedir}/libsmartcols
2308%{_pkgconfigdir}/smartcols.pc
2309
2310%files -n libsmartcols-static
2311%defattr(644,root,root,755)
2312%{_libdir}/libsmartcols.a
971f9098 2313
f7f13771
MK
2314%if %{with apidocs}
2315%files -n libsmartcols-apidocs
2316%defattr(644,root,root,755)
2317%{_gtkdocdir}/libsmartcols
2318%endif
2319
67de32db 2320%if %{with initrd}
2321%files initrd
2322%defattr(644,root,root,755)
6e84fb29
JB
2323%attr(755,root,root) %{_libdir}/initrd/blkid
2324%attr(755,root,root) %{_libdir}/initrd/blockdev
2325%attr(755,root,root) %{_libdir}/initrd/fdformat
2326%attr(755,root,root) %{_libdir}/initrd/fdisk
2327%attr(755,root,root) %{_libdir}/initrd/findfs
2328%attr(755,root,root) %{_libdir}/initrd/hwclock
2329%attr(755,root,root) %{_libdir}/initrd/look
2330%attr(755,root,root) %{_libdir}/initrd/mkswap
2331%attr(755,root,root) %{_libdir}/initrd/namei
2332%attr(755,root,root) %{_libdir}/initrd/rename
2333%ifnarch sparc sparcv9 sparc64
2334%attr(755,root,root) %{_libdir}/initrd/sfdisk
2335%endif
2336%attr(755,root,root) %{_libdir}/initrd/swaplabel
2337%attr(755,root,root) %{_libdir}/initrd/uuidgen
2338%attr(755,root,root) %{_libdir}/initrd/wipefs
2339# not needed?
2340#%attr(755,root,root) %{_libdir}/initrd/chrt
2341# not built because of disabled libmount
2342#%attr(755,root,root) %{_libdir}/initrd/e2fsck
2343#%attr(755,root,root) %{_libdir}/initrd/fsck
67de32db 2344%endif
8b6144a3
JB
2345
2346%files -n bash-completion-util-linux
2347%defattr(644,root,root,755)
56a8c6a4
JB
2348%{bash_compdir}/addpart
2349%{bash_compdir}/blkdiscard
2350%{bash_compdir}/blkid
2351%{bash_compdir}/blkzone
2352%{bash_compdir}/blockdev
2353%{bash_compdir}/cal
2354%{bash_compdir}/cfdisk
2355%{bash_compdir}/chcpu
2356%{bash_compdir}/chmem
2357%{bash_compdir}/chrt
2358%{bash_compdir}/col
2359%{bash_compdir}/colcrt
2360%{bash_compdir}/colrm
2361%{bash_compdir}/column
2362%{bash_compdir}/ctrlaltdel
2363%{bash_compdir}/delpart
2364%{bash_compdir}/dmesg
2365%{bash_compdir}/eject
2366%{bash_compdir}/fallocate
2367%{bash_compdir}/fdformat
2368%{bash_compdir}/fdisk
2369%{bash_compdir}/fincore
2370%{bash_compdir}/findfs
2371%{bash_compdir}/findmnt
2372%{bash_compdir}/flock
2373%{bash_compdir}/fsck
2374%{bash_compdir}/fsck.cramfs
2375%{bash_compdir}/fsck.minix
2376%{bash_compdir}/fsfreeze
2377%{bash_compdir}/fstrim
2378%{bash_compdir}/getopt
a3c78a30 2379%{bash_compdir}/hardlink
56a8c6a4
JB
2380%{bash_compdir}/hexdump
2381%{bash_compdir}/hwclock
2382%{bash_compdir}/ionice
2383%{bash_compdir}/ipcmk
2384%{bash_compdir}/ipcrm
2385%{bash_compdir}/ipcs
aca17f99 2386%{bash_compdir}/irqtop
56a8c6a4
JB
2387%{bash_compdir}/isosize
2388%{bash_compdir}/last
7cafc16a 2389%{bash_compdir}/lastb
56a8c6a4
JB
2390%{bash_compdir}/ldattach
2391%{bash_compdir}/logger
2392%{bash_compdir}/look
2393%{bash_compdir}/losetup
2394%{bash_compdir}/lsblk
2395%{bash_compdir}/lscpu
2396%{bash_compdir}/lsipc
aca17f99 2397%{bash_compdir}/lsirq
56a8c6a4
JB
2398%{bash_compdir}/lslocks
2399%{bash_compdir}/lslogins
2400%{bash_compdir}/lsmem
2401%{bash_compdir}/lsns
2402%{bash_compdir}/mcookie
2403%{bash_compdir}/mesg
2404%{bash_compdir}/mkfs
2405%{bash_compdir}/mkfs.bfs
2406%{bash_compdir}/mkfs.cramfs
2407%{bash_compdir}/mkfs.minix
2408%{bash_compdir}/mkswap
2409%{bash_compdir}/more
2410%{bash_compdir}/mount
2411%{bash_compdir}/mountpoint
2412%{bash_compdir}/namei
2413%{bash_compdir}/nsenter
2414%{bash_compdir}/partx
2415%{bash_compdir}/pg
2416%{bash_compdir}/pivot_root
2417%{bash_compdir}/prlimit
56a8c6a4
JB
2418%{bash_compdir}/readprofile
2419%{bash_compdir}/rename
2420%{bash_compdir}/renice
2421%{bash_compdir}/resizepart
2422%{bash_compdir}/rev
2423%{bash_compdir}/rfkill
2424%{bash_compdir}/rtcwake
2425%{bash_compdir}/runuser
2426%{bash_compdir}/script
2427%{bash_compdir}/scriptlive
2428%{bash_compdir}/scriptreplay
2429%{bash_compdir}/setarch
2430%{bash_compdir}/setpriv
2431%{bash_compdir}/setsid
2432%{bash_compdir}/setterm
2433%{bash_compdir}/sfdisk
2434%{bash_compdir}/su
2435%{bash_compdir}/swaplabel
2436%{bash_compdir}/swapoff
2437%{bash_compdir}/swapon
2438%{bash_compdir}/taskset
2439%{bash_compdir}/tunelp
028b554f 2440%{bash_compdir}/uclampset
56a8c6a4
JB
2441%{bash_compdir}/ul
2442%{bash_compdir}/umount
2443%{bash_compdir}/unshare
2444%{bash_compdir}/utmpdump
2445%{bash_compdir}/uuidd
2446%{bash_compdir}/uuidgen
2447%{bash_compdir}/uuidparse
2448%{bash_compdir}/wdctl
2449%{bash_compdir}/whereis
2450%{bash_compdir}/wipefs
2451%{bash_compdir}/write
2452%{bash_compdir}/zramctl
This page took 0.642736 seconds and 4 git commands to generate.