]> git.pld-linux.org Git - packages/util-linux.git/blame - util-linux.spec
up to 2.36.2
[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:
ab1c0a80 13%bcond_with uClibc # link initrd version with static glibc instead of uClibc
67de32db 14%bcond_without dietlibc # link initrd version with dietlibc instead of uClibc
dd83e5d1 15%bcond_without selinux # SELinux support
034a23bb 16%bcond_without su # su/runuser programs
67de32db 17%if "%{pld_release}" == "ac"
6e84fb29
JB
18%bcond_with initrd # don't build initrd version
19%bcond_with fallocate # fallocate utility (needs glibc 2.11 to compile)
67de32db 20%else
adda81e8 21%bcond_with initrd # don't build initrd version
67de32db 22%bcond_without fallocate # fallocate utility (needs glibc 2.11 to compile)
23%endif
24
25%if "%{pld_release}" == "ac"
26%define pam_ver 0.79.0
27%else
298c2787 28%define pam_ver 1:1.1.8-5
67de32db 29%endif
30
31Summary: Collection of basic system utilities for Linux
32Summary(de.UTF-8): Sammlung von grundlegenden Systemdienstprogrammen für Linux
33Summary(es.UTF-8): Colectánea de utilitarios básicos de sistema para Linux
34Summary(fr.UTF-8): Ensemble d'utilitaires système de base pour Linux
35Summary(pl.UTF-8): Zbiór podstawowych narzędzi systemowych dla Linuksa
36Summary(pt_BR.UTF-8): Coletânea de utilitários básicos de sistema para Linux
37Summary(ru.UTF-8): Набор базовых системных утилит для Linux
38Summary(tr.UTF-8): Temel sistem araçları
39Summary(uk.UTF-8): Набір базових системних утиліт для Linux
0057a448 40Name: util-linux
eac2ebdc 41Version: 2.36.2
c30672d0 42Release: 1
56a8c6a4 43License: GPL v2+, GPL v3 (hwclock)
67de32db 44Group: Applications/System
debc0a65 45# https://github.com/karelzak/util-linux (GitHub backup)
aca17f99 46Source0: https://www.kernel.org/pub/linux/utils/util-linux/v2.36/%{name}-%{version}.tar.xz
eac2ebdc 47# Source0-md5: f78419af679ac9678190ad961eb3cf27
e70bda7d 48Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
67de32db 49# Source1-md5: 3c940c7e7fe699eaa2ddb1bffb3de2fe
50Source2: login.pamd
0057a448 51Source3: %{name}-blockdev.init
52Source4: %{name}-blockdev.sysconfig
db301a98
AM
53Source6: su.pamd
54Source7: su-l.pamd
034a23bb
JB
55Source8: runuser.pamd
56Source9: runuser-l.pamd
9ebc19a0
JR
57Source10: nologin.c
58Source11: nologin.8
d18bf877
JR
59Source12: blockdev.service
60Source13: blockdev.sh
f1f79628
JR
61Patch0: %{name}-fdformat-ide.patch
62Patch1: %{name}-fhs.patch
63Patch2: %{name}-login-lastlog.patch
64Patch3: %{name}-procpartitions.patch
65Patch4: su-paths.patch
768477bc
JB
66Patch5: %{name}-ac.patch
67Patch6: %{name}-diet.patch
27aa4766 68Patch7: %{name}-pl.po.patch
8b6144a3 69URL: https://github.com/karelzak/util-linux
67de32db 70BuildRequires: audit-libs-devel >= 1.0.6
86e58ad2 71BuildRequires: autoconf >= 2.60
67de32db 72BuildRequires: automake >= 1:1.10
22a14820 73BuildRequires: gettext-tools >= 0.18.3
67de32db 74%{?with_fallocate:BuildRequires: glibc-devel >= 6:2.11}
3146265b 75BuildRequires: gtk-doc >= 1.10
d1fc3015 76BuildRequires: gtk-doc-automake >= 1.10
d18bf877 77BuildRequires: libcap-ng-devel
768477bc
JB
78%ifarch ppc ppc64
79# for lscpu
80BuildRequires: librtas-devel
81%endif
0db61bcb 82%{?with_selinux:BuildRequires: libselinux-devel >= 2.0}
67de32db 83%{?with_selinux:BuildRequires: libsepol-devel}
5d3a1d7c 84BuildRequires: libtool >= 2:2.2
67de32db 85BuildRequires: linux-libc-headers >= 7:2.6.27
86BuildRequires: ncurses-devel >= 5.0
87BuildRequires: pam-devel >= %{pam_ver}
88BuildRequires: pkgconfig
971f9098 89BuildRequires: python3-devel
993f4721 90BuildRequires: readline-devel
67de32db 91BuildRequires: rpm >= 4.4.9-56
56a8c6a4 92BuildRequires: rpmbuild(macros) >= 1.673
67de32db 93BuildRequires: sed >= 4.0
6b476dc1 94BuildRequires: systemd-devel >= 1:209
a7980c08 95BuildRequires: tar >= 1:1.22
5d31eab4 96BuildRequires: udev-devel
a7980c08 97BuildRequires: xz
67de32db 98BuildRequires: zlib-devel
99%if %{with initrd}
100 %if %{with uClibc}
101BuildRequires: uClibc-static >= 2:0.9.29
102 %else
103 %if %{with dietlibc}
535578d6 104BuildRequires: dietlibc-static >= 2:0.32-14
67de32db 105 %else
106BuildRequires: glibc-static
107 %endif
108 %endif
109%endif
589e99da 110Requires: libblkid = %{version}-%{release}
c7c0c6cb 111Requires: libfdisk = %{version}-%{release}
4a52de32 112Requires: libmount = %{version}-%{release}
0db61bcb 113%{?with_selinux:Requires: libselinux >= 2.0}
8b6144a3 114Requires: libsmartcols = %{version}-%{release}
26f68a7d 115Requires: pam >= %{pam_ver}
4fa9d824 116Provides: eject = %{version}-%{release}
67de32db 117Provides: fdisk
ce75a7fc 118Provides: hardlink
67de32db 119Provides: linux32
120Provides: sparc32
67de32db 121Obsoletes: cramfs
4fa9d824 122Obsoletes: eject
ce75a7fc 123Obsoletes: hardlink
67de32db 124Obsoletes: ionice
125Obsoletes: linux32
126Obsoletes: rawdevices
0ab7cd08 127Obsoletes: rfkill
67de32db 128Obsoletes: schedutils
129Obsoletes: setarch
130Obsoletes: sparc32
232bdb1a 131Obsoletes: util-linux-chkdupexe
28b99029 132Obsoletes: util-linux-ng < 2.20-1
67de32db 133Obsoletes: util-linux-suids
971f9098 134Conflicts: SysVinit-tools < 2.88-15
67de32db 135Conflicts: e2fsprogs < 1.41.8-5
cc3d4f31 136Conflicts: rc-scripts < 0.4.9-2
67de32db 137Conflicts: shadow-extras < 1:4.0.3-6
034a23bb 138%if %{with su}
034a23bb
JB
139Conflicts: coreutils < 8.19
140%endif
67de32db 141BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
142
143%define debugcflags -O1 -g
144
145# for some reason known only to rpm there must be "\\|" not "\|" here
146%define dietarch %(echo %{_target_cpu} | sed -e 's/i.86\\|pentium.\\|athlon/i386/;s/amd64/x86_64/;s/armv.*/arm/')
147%define dietlibdir %{_prefix}/lib/dietlibc/lib-%{dietarch}
148
149%ifarch ppc ppc64
150# for dietlibc
151%define filterout_ld -Wl,-z,relro
152%endif
153
154%description
155util-linux contains a large variety of low-level system utilities
156necessary for a functional Linux system. This includes, among other
157things, configuration tools such as fdisk and system programs such as
158logger.
159
160%description -l de.UTF-8
161util-linux enthält eine große Anzahl an
162low-level-Systemdienstprogrammen, die für ein funktionierendes
163Linux-System erforderlich sind. Dazu gehören Konfigurationstools wie
164'fdisk' und Systemprogramme wie 'logger'.
165
166%description -l es.UTF-8
167util-linux contiene una gran variedad de utilitarios de sistema de
168bajo nivel necesarios a un sistema Linux funcional. Esto incluye,
169entre otras cosas, herramientas de configuración como fdisk y
170programas de sistema como logger.
171
172%description -l fr.UTF-8
173util-linux contient une grande variété d'utilitaire système bas niveau
174nécessaires au fonctionnement d'un système Linux. Cela comprend, entre
175autres, les outils de configuration comme fdisk et des programmes
176systèmes comme logger.
177
178%description -l pl.UTF-8
179util-linux zawiera wiele różnych, niskopoziomowych narzędzi
180systemowych niezbędnych do prawidłowego działania Linuksa. W pakiecie
181znajdują się między innymi narzędzia konfiguracyjne, takie jak fdisk i
182programy systemowe, takie jak logger.
183
184%description -l pt_BR.UTF-8
185util-linux contém uma grande variedade de utilitários de sistema de
186baixo-nível necessários para um sistema Linux funcional. Isso inclui,
187entre outras coisas, ferramentas de configuração como fdisk e
188programas de sistema como logger.
189
190%description -l ru.UTF-8
191Этот пакет содержит большой набор системных утилит низкого уровня,
192которые необходимы для функционирования системы Linux. Он включает, в
193числе прочих, инструменты конфигурации, такие как fdisk, и системные
194программы, такие как logger.
195
196%description -l tr.UTF-8
197şlevsel durumdaki bir Linux sistemi için gerekli birçok alt düzey
198sistem araçlarını içerir. Bunlar arasında fdisk gibi yapılandırma
199uygulamaları ve logger gibi sistem programları sayılabilir.
200
201%description -l uk.UTF-8
202Цей пакет містить великий набір системних утиліт низького рівня, які
203необхідні для функціонування системи Linux. Він містить, окрім інших,
204конфігураційні інструменти (такі як fdisk) та системні програми (такі
205як logger).
206
207%package -n blockdev
208Summary: Support for blockdev
209Summary(pl.UTF-8): Obsługa blockdev
56a8c6a4 210License: GPL v2+
67de32db 211Group: Applications/System
212Requires(post,preun): /sbin/chkconfig
d18bf877 213Requires(post,preun,postun): systemd-units >= 38
67de32db 214Requires: coreutils
1401d1d4 215Requires: rc-scripts >= 0.4.3.0
d18bf877 216Requires: systemd-units >= 38
67de32db 217
218%description -n blockdev
219The utility blockdev allows one to call block device ioctls from the
220command line. This package also includes initscript to set blockdev
221parameters at system startup.
222
223%description -n blockdev -l pl.UTF-8
224Narzędzie blockdev pozwala na wywołania ioctl dla urządzeń blokowych z
225linii poleceń. Ten pakiet zawiera także skrypt inicjalizacyjny do
226ustawiania parametrów blockdev przy starcie systemu.
227
228%package -n losetup
229Summary: Programs for setting up and configuring loopback devices
230Summary(de.UTF-8): Programme zum Einrichten und Konfigurieren von Loopback-Geräten
231Summary(fr.UTF-8): Programmes pour mettre en place et configurer les loopback
232Summary(pl.UTF-8): Program do konfiguracji urządzenia blokowego loopback
233Summary(ru.UTF-8): Программы для настройки loopback-устройств
234Summary(tr.UTF-8): Yerel-çevrim aygıtlarının kurulması ve ayarlanması için programlar
235Summary(uk.UTF-8): Програми для конфігурації loopback-пристроїв
56a8c6a4 236License: GPL v2+
67de32db 237Group: Applications/System
8b6144a3 238Requires: libsmartcols = %{version}-%{release}
67de32db 239
240%description -n losetup
241Linux supports a special block device called the loopback device,
242which maps a normal file onto a virtual block device. This package
243contains programs for setting up and removing the mapping between
244files and loopback devices.
245
246Block loopback devices should not be confused with the networking
247loopback device, which is configured with the normal ifconfig command.
248
249%description -n losetup -l de.UTF-8
250Linux unterstützt ein spezielles Blockgerät, das sogenannte Loopback,
251das eine normale Datei auf ein virtuelles Blockgerät abbildet. Das
252Paket enthält Programme zum Einrichten und Entfernen der Zuordnung
253zwischen Dateien und Loopback-Geräten.
254
255%description -n losetup -l fr.UTF-8
256Linux gère un périphérique bloc spécial appelé « loopback », qui
257correspond à un fichier normal sur un périphérique bloc virtuel. Ce
258paquetage contient les programmes pour configurer et supprimer la
259correspondance entre les fichiers et les périphériques loopback.
260
261Les périphériques bloc loopback ne doivent pas être confondus avec le
262périphérique loopback du réseau, configuré avec la commande ifconfig
263normale.
264
265%description -n losetup -l pl.UTF-8
266Linux wspiera specjalne urządzenie blokowe loopback, które mapuje
267normalny plik w wirtualne urządzenie blokowe. Pakiet ten zawiera
268program, przy pomocy którego będziesz mógł je skonfigurować.
269
270Urządzenie blokowe loopback nie powinno być mylone z sieciowym
271interfejsem loopback, który jest konfigurowany przy pomocy polecenia
272ifconfig.
273
274%description -n losetup -l ru.UTF-8
275Linux поддерживает специальное блочное устройство, называемое
276loopback, которое отображает обычный файл в виртуальное блочное
277устройство. Это позволяет использовать файл как виртуальную файловую
278систему. Losetup используется для связи loopback-устройств с обычными
279файлами или блочными устройствами, для отсоединения loopback-устройств
280и запросов их статуса.
281
282%description -n losetup -l tr.UTF-8
283Linux özel bir blok aygıt olan yerel-çevrim aygıtını (loopback device)
284destekler. Bu aygıt normal bir dosyanın sanal bir blok aygıtı üzerine
285haritasını çıkarır. Bu paket, dosyalar ve yerel-çevrim aygıtları
286arasındaki haritalama işleminin kurulması ve kaldırılması için
287programlar içerir. Blok yerel-çevrim aygıtı ifconfig komutu ile
288yapılandırılan ağ yerel-çevrim aygıtı ile karıştırılmamalıdır.
289
290%description -n losetup -l uk.UTF-8
291Linux підтримує спеціальний блочний пристрій, loopback, який
292відображує звичайний файл у віртуальний блочний пристрій. Це дозволяє
293використовувати файл як віртуальну файлову систему. Losetup
294використовують для зв'язку loopback-пристроїв зі звичайними файлами
295або блочними пристроями, для від'єднання loopback-пристроїв та
296запросів їх стану.
297
298%package -n mount
299Summary: Programs for mounting and unmounting filesystems
300Summary(de.UTF-8): Programme zum montieren und abmontieren von Dateisystemen
301Summary(fr.UTF-8): Programme pour monter et démonter des systèmes de fichiers
302Summary(pl.UTF-8): Programy do montowania i odmontowywania systemów plików
303Summary(ru.UTF-8): Программы для монтирования и размонтирования файловых систем
304Summary(tr.UTF-8): Dosya sistemlerini bağlamak ve çözmek için programlar
305Summary(uk.UTF-8): Програми для монтування та розмонтування файлових систем
56a8c6a4 306License: GPL v2+
67de32db 307Group: Applications/System
bc9462df 308Requires: libmount = %{version}-%{release}
8b6144a3 309Requires: libsmartcols = %{version}-%{release}
2b77001e 310Conflicts: SysVinit < 2.86-26
26f68a7d
ER
311# C: nfs-utils-common is opposite to http://cvs.pld-linux.org/packages/nfs-utils/nfs-utils.spec?r1=1.165&r2=1.166
312Conflicts: nfs-utils-common < 1.1.3-3
67de32db 313
314%description -n mount
315mount is used for adding new filesystems, both local and networked, to
316your current directory structure. The filesystems must already exist
317for this to work. It can also be used to change the access types the
318kernel uses for already-mounted filesystems.
319
320This package is critical for the functionality of your system.
321
322%description -n mount -l de.UTF-8
323mount wird zum Hinzufügen neuer Dateisysteme (lokal und im Netzwerk)
324zu Ihrer aktuellen Verzeichnisstruktur verwendet. Die Dateisysteme
325müssen bereits existieren. Außerdem können die Zugriffstypen geändert
326werden, die der Kernel für bereits montierte Dateisysteme verwendet.
327
328Dieses Paket ist für Ihr System unbedingt erforderlich.
329
330%description -n mount -l fr.UTF-8
331mount sert à ajouter de nouveaux systèmes de fichiers, locaux ou
332réseaux, à votre structure de répertoire. Les systèmes de fichiers
333doivent déjà exister pour que cela fonctionne. Il peut aussi servir à
334changer les types d'accès pour les systèmes de fichiers déjà montés.
335
336Ce paquetage est critique pour le fonctionnement de votre système.
337
338%description -n mount -l pl.UTF-8
339Program mount jest używany przez system do montowania systemów plików,
340zarówno lokalnych jak i sieciowych (np. NFS).
341
342Pakiet ten jest niezbędny do prawidłowej pracy twojego Linuksa.
343
344%description -n mount -l ru.UTF-8
345Пакет mount содержит программы mount, umount, swapon и swapoff. Файлы
346в вашей системе организованы в виде одного большого дерева или
347иерархии. Эти файлы могут быть размещены на разных устройствах.
348Команда mount присоединяет файловую систему на некотором устройстве к
349дереву файлов вашей системы. Команда umount отсоединяет файловую
350систему от дерева. Swapon и swapoff, соответственно, разрешает и
351запрещает своппинг в определенные файлы и устройства.
352
353%description -n mount -l tr.UTF-8
354mount, hem yerel hem de ağ dosya sistemlerinin dizin yapısına
355eklenmesi için kullanılır. Bunun için bağlanacak dosya sisteminin
356önceden hazırlanmış olması gerekir. Aynı zamanda çekirdeğin bağlanmış
357dosya sistemlerine erişimini değiştirmek için de kullanılır. Bu paket
358sisteminizin işlevselliği açısından kritiktir.
359
360%description -n mount -l uk.UTF-8
361Пакет mount містить програми mount, umount, swapon та swapoff. Файли у
362вашій системі організовані у вигляді одного великого дерева або
363ієрархії. Ці файли можуть бути розташовані на різних пристроях.
364Команда mount під'єднує файлову систему на деякому пристрої до дерева
365файлів вашої системи. Команда umount від'єднує файлову систему від
366дерева. Swapon та swapoff, відповідно, дозволяє та заборонює свопінг у
367визначені файли або пристрої.
368
67de32db 369%package -n tunelp
370Summary: Configures kernel parallel port driver
371Summary(de.UTF-8): Konfiguriert den Kerneltreiber für den parallelen Port
372Summary(fr.UTF-8): Configure le pilote du port parallèle dans le noyau
373Summary(pl.UTF-8): Program do konfigurowania sterownika portu równoległego
374Summary(tr.UTF-8): Çekirdeğin paralel bağlantı noktası sürücüsünü ayarlar
375License: GPL v2+
376Group: Applications/System
377
378%description -n tunelp
379tunelp aids in configuring the kernel parallel port driver.
380
381%description -n tunelp -l de.UTF-8
382tunelp hilft bei der Konfiguration des Kernel-Parallelport-Treibers.
383
384%description -n tunelp -l fr.UTF-8
385« tunelp » aide à configurer le pilote du noyau pour le port
386parallèle.
387
388%description -n tunelp -l pl.UTF-8
389Program do konfigurowania sterownika portu równoległego.
390
391%description -n tunelp -l tr.UTF-8
392Paralel bağlantı noktası sürücüsünü ayarlar.
393
394%package -n login
395Summary: login is used when signing onto a system
396Summary(pl.UTF-8): login jest używany do rozpoczęcia pracy w systemie
56a8c6a4 397License: GPL v2+
67de32db 398Group: Applications/System
399Requires: pam >= %{pam_ver}
400Obsoletes: heimdal-login
401
402%description -n login
403login is used when signing onto a system. It can also be used to
404switch from one user to another at any time (most modern shells have
405support for this feature built into them, however).
406
407%description -n login -l pl.UTF-8
408login jest używany do rozpoczęcia pracy w systemie. Może być używany
409do przełączania z jednego użytkownika na innego w każdym momencie
410(jednak większość nowoczesnych powłok ma takie funkcje wbudowane).
411
412%package -n agetty
413Summary: Alternative Linux getty
414Summary(pl.UTF-8): Alternatywny getty
56a8c6a4 415License: GPL v2+
67de32db 416Group: Applications/System
417Requires: login
418
419%description -n agetty
420agetty is simple Linux getty with serial support.
421
422%description -n agetty -l pl.UTF-8
423agetty jest prostym linuksowym getty z obsługą portu szeregowego.
424
425%package -n libblkid
426Summary: Library to handle device identification and token extraction
427Summary(pl.UTF-8): Biblioteka do obsługi identyfikacji urządzeń
428License: LGPL v2.1+
429Group: Libraries
28b99029 430Obsoletes: util-linux-ng-libs < 2.20-1
67de32db 431
432%description -n libblkid
433Library to handle device identification and token extraction.
434
435%description -n libblkid -l pl.UTF-8
436Biblioteka do obsługi identyfikacji urządzeń i wydobywania tokenów.
437
438%package -n libblkid-devel
439Summary: Header files for blkid library
440Summary(pl.UTF-8): Pliki nagłówkowe biblioteki blkid
441License: LGPL v2.1+
442Group: Development/Libraries
443Requires: libblkid = %{version}-%{release}
28b99029 444Obsoletes: util-linux-ng-devel < 2.20-1
67de32db 445
446%description -n libblkid-devel
447Header files for blkid library.
448
449%description -n libblkid-devel -l pl.UTF-8
450Pliki nagłówkowe biblioteki blkid.
451
452%package -n libblkid-static
453Summary: Static library to handle device identification and token extraction
454Summary(pl.UTF-8): Statyczna biblioteka do obsługi identyfikacji urządzeń
455License: LGPL v2.1+
456Group: Development/Libraries
457Requires: libblkid-devel = %{version}-%{release}
28b99029 458Obsoletes: util-linux-ng-static < 2.20-1
67de32db 459
460%description -n libblkid-static
461Static library to handle device identification and token extraction.
462
463%description -n libblkid-static -l pl.UTF-8
464Statyczna biblioteka do obsługi identyfikacji urządzeń i wydobywania
465tokenów.
466
467%package -n libblkid-dietlibc
468Summary: Static dietlibc library to handle device identification and token extraction
469Summary(pl.UTF-8): Statyczna biblioteka dietlibc do obsługi identyfikacji urządzeń
470License: LGPL v2.1+
471Group: Development/Libraries
472Requires: libblkid-devel = %{version}-%{release}
67de32db 473
474%description -n libblkid-dietlibc
475Library to handle device identification and token extraction - static
476dietlibc version.
477
478%description -n libblkid-dietlibc -l pl.UTF-8
479Biblioteka do obsługi identyfikacji urządzeń i wydobywania tokenów -
480wersja statyczna dla dietlibc.
481
482%package -n libuuid
483Summary: Library for accessing and manipulating UUID
484Summary(pl.UTF-8): Biblioteka umożliwiająca dostęp i zmiany UUID
485License: BSD
486Group: Libraries
487Conflicts: e2fsprogs < 1.34-3
488
489%description -n libuuid
490Library for accessing and manipulating UUID.
491
492%description -n libuuid -l pl.UTF-8
493Biblioteka umożliwiająca dostęp i zmiany UUID.
494
495%package -n libuuid-devel
496Summary: Header files for library for accessing and manipulating UUID
497Summary(pl.UTF-8): Pliki nagłówkowe biblioteki umożliwiającej dostęp i zmiany UUID
498License: BSD
499Group: Development/Libraries
500Requires: libuuid = %{version}-%{release}
501Conflicts: e2fsprogs-devel < 1.34-3
502
503%description -n libuuid-devel
504Library for accessing and manipulating UUID - development files.
505
506%description -n libuuid-devel -l pl.UTF-8
507Biblioteka umożliwiająca dostęp i zmiany UUID - pliki dla
508programistów.
509
510%package -n libuuid-static
511Summary: Static library for accessing and manipulating UUID
512Summary(pl.UTF-8): Statyczna biblioteka umożliwiająca dostęp i zmiany UUID
513License: BSD
514Group: Development/Libraries
515Requires: libuuid-devel = %{version}-%{release}
516Conflicts: e2fsprogs-static < 1.34-3
517
518%description -n libuuid-static
519Library for accessing and manipulating UUID - static version.
520
521%description -n libuuid-static -l pl.UTF-8
522Biblioteka umożliwiająca dostęp i zmiany UUID - wersja statyczna.
523
524%package -n libuuid-dietlibc
525Summary: Static dietlibc library for accessing and manipulating UUID
526Summary(pl.UTF-8): Statyczna biblioteka dietlibc umożliwiająca dostęp i zmiany UUID
527License: BSD
528Group: Development/Libraries
529Requires: libuuid-devel = %{version}-%{release}
530Conflicts: e2fsprogs-static < 1.34-3
531
532%description -n libuuid-dietlibc
533Library for accessing and manipulating UUID - static dietlibc version.
534
535%description -n libuuid-dietlibc -l pl.UTF-8
536Biblioteka umożliwiająca dostęp i zmiany UUID - wersja statyczna dla
537dietlibc.
538
539%package -n uuidd
540Summary: Helper daemon to guarantee uniqueness of time-based UUIDs
541Summary(pl.UTF-8): Pomocniczy demon gwarantujący unikalność UUID-ów opartych na czasie
56a8c6a4 542License: GPL v2+
67de32db 543Group: Daemons
544Requires(postun): /usr/sbin/groupdel
545Requires(postun): /usr/sbin/userdel
546Requires(pre): /bin/id
547Requires(pre): /usr/bin/getgid
548Requires(pre): /usr/sbin/groupadd
549Requires(pre): /usr/sbin/groupmod
550Requires(pre): /usr/sbin/useradd
551Requires(pre): /usr/sbin/usermod
8834e309 552Requires(post,preun,postun): systemd-units >= 38
67de32db 553Requires: libuuid = %{version}-%{release}
4fa9d824 554Requires: systemd-units >= 38
67de32db 555Provides: group(uuidd)
556Provides: user(uuidd)
557Conflicts: libuuid < 1.40.5-0.1
558
559%description -n uuidd
560The uuidd package contains a userspace daemon (uuidd) which guarantees
561uniqueness of time-based UUID generation even at very high rates on
562SMP systems.
563
564%description -n uuidd -l pl.UTF-8
565Ten pakiet zawiera działającego w przestrzeni użytkownika demona
566(uuidd) gwarantującego unikalność generowania UUID-ów opartych na
567czasie nawet przy bardzo dużej częstotliwości na systemach SMP.
568
c7c0c6cb
JB
569%package -n libfdisk
570Summary: fdisk library
571Summary(pl.UTF-8): Biblioteka fdisk
572License: LGPL v2.1+
573Group: Libraries
574Requires: libblkid = %{version}-%{release}
575Requires: libuuid = %{version}-%{release}
576
577%description -n libfdisk
578fdisk library.
579
580%description -n libfdisk -l pl.UTF-8
581Biblioteka fdisk.
582
583%package -n libfdisk-devel
584Summary: Header files for fdisk library
585Summary(pl.UTF-8): Pliki nagłówkowe biblioteki fdisk
586License: LGPL v2.1+
587Group: Development/Libraries
588Requires: libblkid-devel = %{version}-%{release}
589Requires: libfdisk = %{version}-%{release}
590Requires: libuuid-devel = %{version}-%{release}
591
592%description -n libfdisk-devel
593Header files for fdisk library.
594
595%description -n libfdisk-devel -l pl.UTF-8
596Pliki nagłówkowe biblioteki fdisk.
597
598%package -n libfdisk-static
599Summary: Static version of fdisk library
600Summary(pl.UTF-8): Statyczna wersja biblioteki fdisk
601License: LGPL v2.1+
602Group: Development/Libraries
603Requires: libfdisk-devel = %{version}-%{release}
604
605%description -n libfdisk-static
606Static version of fdisk library.
607
608%description -n libfdisk-static -l pl.UTF-8
609Statyczna wersja biblioteki fdisk.
610
67de32db 611%package -n libmount
612Summary: Library to handle mounting-related tasks
613Summary(pl.UTF-8): Biblioteka obsługująca zadania związane z montowaniem
c7c0c6cb 614License: LGPL v2.1+
67de32db 615Group: Libraries
616Requires: libblkid = %{version}-%{release}
617
618%description -n libmount
619Library to handle mounting-related tasks.
620
621%description -n libmount -l pl.UTF-8
622Biblioteka obsługująca zadania związane z montowaniem.
623
624%package -n libmount-devel
625Summary: Header files for mount library
626Summary(pl.UTF-8): Pliki nagłówkowe biblioteki mount
c7c0c6cb 627License: LGPL v2.1+
67de32db 628Group: Development/Libraries
629Requires: libblkid-devel = %{version}-%{release}
630Requires: libmount = %{version}-%{release}
631
632%description -n libmount-devel
633Header files for mount library.
634
635%description -n libmount-devel -l pl.UTF-8
636Pliki nagłówkowe biblioteki mount.
637
638%package -n libmount-static
639Summary: Static version of mount library
640Summary(pl.UTF-8): Statyczna wersja biblioteki mount
c7c0c6cb 641License: LGPL v2.1+
67de32db 642Group: Development/Libraries
643Requires: libmount-devel = %{version}-%{release}
644
645%description -n libmount-static
646Static version of mount library.
647
648%description -n libmount-static -l pl.UTF-8
649Statyczna wersja biblioteki mount.
650
8b6144a3
JB
651%package -n python3-libmount
652Summary: Python 3.x libmount bindings
653Summary(pl.UTF-8): Wiązania Pythona 3.x do biblioteki libmount
c7c0c6cb 654License: LGPL v3+
8b6144a3
JB
655Group: Libraries/Python
656Requires: libmount = %{version}-%{release}
67de32db 657
8b6144a3
JB
658%description -n python3-libmount
659Python 3.x libmount bindings.
67de32db 660
8b6144a3
JB
661%description -n python3-libmount -l pl.UTF-8
662Wiązania Pythona 3.x do biblioteki libmount.
67de32db 663
664%package -n fsck
665Summary: Check and repair a Linux file system
666Summary(pl.UTF-8): Sprawdzanie i naprawa linuksowego systemu plików
56a8c6a4 667License: GPL v2+
67de32db 668Group: Applications/System
1c38ec33 669Requires: libblkid = %{version}-%{release}
67de32db 670
671%description -n fsck
672Check and repair a Linux file system.
673
674%description -n fsck -l pl.UTF-8
675Sprawdzanie i naprawa linuksowego systemu plików.
676
8b6144a3
JB
677%package -n libsmartcols
678Summary: Library to handle tables and trees
679Summary(pl.UTF-8): Biblioteka do obsługi tabelek i drzewek
56a8c6a4 680License: LGPL v2+
8b6144a3
JB
681Group: Libraries
682
683%description -n libsmartcols
684Library to handle tables and trees.
685
686%description -n libsmartcols -l pl.UTF-8
687Biblioteka do obsługi tabelek i drzewek.
688
689%package -n libsmartcols-devel
690Summary: Header files for smartcols library
691Summary(pl.UTF-8): Pliki nagłówkowe biblioteki smartcols
56a8c6a4 692License: LGPL v2+
8b6144a3
JB
693Group: Development/Libraries
694Requires: libsmartcols = %{version}-%{release}
695
696%description -n libsmartcols-devel
697Header files for smartcols library.
698
699%description -n libsmartcols-devel -l pl.UTF-8
700Pliki nagłówkowe biblioteki smartcols.
701
702%package -n libsmartcols-static
703Summary: Static version of smartcols library
704Summary(pl.UTF-8): Statyczna wersja biblioteki smartcols
56a8c6a4 705License: LGPL v2+
8b6144a3
JB
706Group: Development/Libraries
707Requires: libsmartcols-devel = %{version}-%{release}
708
709%description -n libsmartcols-static
710Static version of smartcols library.
711
712%description -n libsmartcols-static -l pl.UTF-8
713Statyczna wersja biblioteki smartcols.
714
67de32db 715%package initrd
716Summary: blkid - initrd version
717Summary(pl.UTF-8): blkid - wersja dla initrd
56a8c6a4 718License: GPL v2+
67de32db 719Group: Base
28b99029 720Obsoletes: util-linux-ng-initrd < 2.20-1
e70bda7d 721Conflicts: geninitrd < 10000.10
67de32db 722
723%description initrd
724This package includes a blkid utility to recognize partitions by label
725or UUID - staticaly linked for initrd.
726
727%description initrd -l pl.UTF-8
728Pakiet ten zawiera narzędzie blkid do rozpoznawania partycji przez
729etykietę lub UUID - statycznie skonsolidowane na potrzeby initrd.
730
232bdb1a 731%package -n bash-completion-util-linux
8834e309
ER
732Summary: bash completion for util-linux commands
733Summary(pl.UTF-8): Bashowe dopełnianie parametrów dla poleceń z pakietu util-linux
56a8c6a4 734License: GPL v2+
8834e309
ER
735Group: Applications/Shells
736Requires: %{name} = %{version}-%{release}
737Requires: bash-completion >= 2.0
71297c41 738Requires: gawk
8834e309
ER
739%if "%{_rpmversion}" >= "5"
740BuildArch: noarch
741%endif
232bdb1a
AM
742
743%description -n bash-completion-util-linux
0db61bcb 744Bash completion for util-linux commands.
232bdb1a
AM
745
746%description -n bash-completion-util-linux -l pl.UTF-8
0db61bcb
JB
747Bashowe dopełnianie parametrów dla poleceń z pakietu util-linux.
748
67de32db 749%prep
0057a448 750%setup -q -a1
f1f79628
JR
751%patch0 -p1
752%patch1 -p1
753%patch2 -p1
67de32db 754%patch3 -p1
755%patch4 -p1
768477bc
JB
756%patch5 -p1
757%{?with_initrd:%patch6 -p1}
c30672d0 758%patch7 -p1
67de32db 759
8834e309 760cp -p %{SOURCE10} nologin.c
9ebc19a0 761
86e58ad2
JB
762%{__rm} po/stamp-po
763
67de32db 764%build
765%{__gettextize}
766%{__libtoolize}
767%{__aclocal} -I m4
768%{__autoconf}
769%{__autoheader}
770%{__automake}
771
772export CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses -DHAVE_LSEEK64_PROTOTYPE -DHAVE_LLSEEK_PROTOTYPE"
773%if %{with initrd}
774%{?with_uClibc:xCC="%{_target_cpu}-uclibc-gcc"}
1345aa35 775%{?with_dietlibc:xCC="%{__cc}"; xCC="diet ${xCC#*ccache }"}
67de32db 776%configure \
777%if %{with dietlibc}
6e84fb29
JB
778 ac_cv_header_crypt_h=no \
779 ac_cv_header_stdio_ext_h=no \
67de32db 780%endif
781 CC="$xCC" \
d617083c
ER
782%if "%{?configure_cache}" == "1"
783 --cache-file=%{?configure_cache_file}%{!?configure_cache_file:configure}-initrd.cache \
784%endif
6e84fb29
JB
785 --exec-prefix= \
786 --bindir=/bin \
787 --sbindir=/sbin \
788 --libdir=/%{_lib} \
67de32db 789 --disable-shared \
790 --enable-static \
277ca855 791 --enable-libmount-force-mountinfo \
6e84fb29
JB
792 --disable-agetty \
793 --disable-chfn-chsh \
ca8d370c 794 --disable-cramfs \
6e84fb29
JB
795 --disable-kill \
796 --disable-ldattach \
17cf1024 797 --disable-libmount \
4fa9d824 798 --disable-login \
6e84fb29 799 --disable-losetup \
0ab7cd08
AM
800 --disable-makeinstall-chown \
801 --disable-makeinstall-setuid \
6e84fb29 802 --disable-minix \
4fa9d824 803 --disable-newgrp \
6e84fb29
JB
804 --disable-partx \
805 --disable-raw \
034a23bb 806 --disable-runuser \
67de32db 807 --disable-schedutils \
6e84fb29 808 --disable-setarch \
67de32db 809 --disable-silent-rules \
6e84fb29
JB
810 --disable-su \
811 --disable-sulogin \
232bdb1a 812 --disable-tunelp \
67de32db 813 --disable-use-tty-group \
4fa9d824 814 --disable-utmpdump \
6e84fb29
JB
815 --disable-uuidd \
816 --disable-vipw \
67de32db 817 --disable-wall \
818 --without-audit \
819 --without-ncurses \
f5001161
AM
820 --without-selinux \
821 --without-smack
67de32db 822
823# configure gets it unconditionally wrong
573fc850 824%{__sed} -i -e 's/#define HAVE_WIDECHAR 1//' config.h
67de32db 825
6e84fb29
JB
826%{__make} \
827%if %{with uClibc}
828 LDFLAGS="-Wl,-static"
829%endif
830%if %{with dietlibc}
831 CPPFLAGS="$CPPFLAGS -D_BSD_SOURCE" \
832 LDFLAGS="-lcompat"
833%endif
834
835%{__make} install \
836 DESTDIR=$(pwd)/initrd
67de32db 837
838%{__make} clean
839%endif
840
841%configure \
842 --bindir=/bin \
843 --sbindir=/sbin \
844 %{!?with_fallocate:--disable-fallocate} \
db57b3d7 845 --enable-libmount-support-mtab \
0ab7cd08
AM
846 --disable-makeinstall-chown \
847 --disable-makeinstall-setuid \
67de32db 848 --disable-silent-rules \
849 --disable-use-tty-group \
850 --disable-wall \
6e84fb29 851 --enable-chfn-chsh \
67de32db 852 --enable-kill \
6e84fb29
JB
853 --enable-libblkid \
854 --enable-line \
855 --enable-login \
67de32db 856 --enable-login-chown-vcs \
6e84fb29 857 --enable-newgrp \
67de32db 858 --enable-partx \
22a14820 859 --enable-pg \
034a23bb
JB
860 --enable-runuser%{!?with_su:=no} \
861 --enable-su%{!?with_su:=no} \
6e84fb29 862 --enable-sulogin \
232bdb1a 863 --enable-tunelp \
6e84fb29
JB
864 --enable-utmpdump \
865 --enable-vipw \
67de32db 866 --enable-write \
971f9098 867 --with-python=3 \
67de32db 868 --with-audit \
0db61bcb 869 --with-bashcompletiondir=/usr/share/bash-completion/completions \
f5001161 870 --with-selinux%{!?with_selinux:=no} \
993f4721
AM
871 --with-smack \
872 --with-readline
67de32db 873
874%{__make}
875
9ebc19a0
JR
876%{__cc} %{rpmcflags} nologin.c -o nologin
877
67de32db 878%install
879rm -rf $RPM_BUILD_ROOT
14086cfb 880install -d $RPM_BUILD_ROOT/etc/{pam.d,rc.d/init.d,sysconfig,security,terminal-colors.d} \
d18bf877
JR
881 $RPM_BUILD_ROOT{/%{_lib},/var/{lock,lib/libuuid}} \
882 $RPM_BUILD_ROOT{/lib/systemd/pld-helpers.d,%{systemdunitdir}}
67de32db 883%{?with_dietlibc:install -d $RPM_BUILD_ROOT%{dietlibdir}}
884
885%{__make} install \
886 DESTDIR=$RPM_BUILD_ROOT
887
8b6144a3
JB
888%{__mv} $RPM_BUILD_ROOT%{_sbindir}/{addpart,delpart,partx} $RPM_BUILD_ROOT/sbin
889%{__mv} $RPM_BUILD_ROOT/sbin/raw $RPM_BUILD_ROOT%{_bindir}
67de32db 890
8834e309 891install -p nologin $RPM_BUILD_ROOT/sbin
b09a4e11 892cp -p %{SOURCE11} $RPM_BUILD_ROOT%{_mandir}/man8
9ebc19a0 893
3ec837fc 894cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/login
67de32db 895install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/blockdev
3ec837fc 896cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/blockdev
d18bf877
JR
897cp -p %{SOURCE12} $RPM_BUILD_ROOT%{systemdunitdir}/blockdev.service
898cp -p %{SOURCE13} $RPM_BUILD_ROOT/lib/systemd/pld-helpers.d/blockdev.sh
034a23bb 899%if %{with su}
2d2bdd48 900ln -s ../sbin/runuser $RPM_BUILD_ROOT/bin/runuser
db301a98
AM
901cp -p %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/su
902cp -p %{SOURCE7} $RPM_BUILD_ROOT/etc/pam.d/su-l
034a23bb
JB
903cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/pam.d/runuser
904cp -p %{SOURCE9} $RPM_BUILD_ROOT/etc/pam.d/runuser-l
905%endif
67de32db 906
907:> $RPM_BUILD_ROOT/etc/security/blacklist.login
908:> $RPM_BUILD_ROOT/var/lock/wtmpxlock
909:> $RPM_BUILD_ROOT%{_sysconfdir}/blkid.tab
910
c7c0c6cb 911for lib in blkid fdisk mount smartcols uuid; do
67de32db 912 mv $RPM_BUILD_ROOT%{_libdir}/lib${lib}.so.* $RPM_BUILD_ROOT/%{_lib}
913 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${lib}.so.*.*.*) \
914 $RPM_BUILD_ROOT%{_libdir}/lib${lib}.so
915done
916
8b6144a3
JB
917# python module
918%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/libmount/pylibmount.la
919# obsoleted by pkg-config (libuuid.la temporarily kept because of packages built with it)
c7c0c6cb 920%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{blkid,fdisk,mount,smartcols}.la
8b6144a3 921
db37f8cd 922ln -s hwclock $RPM_BUILD_ROOT/sbin/clock
a40f6dee 923echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/man8/clock.8
67de32db 924
63bd1af6 925ln -s utmpdump $RPM_BUILD_ROOT%{_bindir}/utmpx-dump
db37f8cd 926ln -s mkswap $RPM_BUILD_ROOT/sbin/mkfs.swap
63bd1af6 927
67de32db 928for d in cs de es fi fr hu id it ja ko nl pl ; do
929 for m in man1 man5 man8 ; do
930 if [ -d man/$d/$m ]; then
931 install -d $RPM_BUILD_ROOT%{_mandir}/$d/$m
8834e309 932 cp -p man/$d/$m/* $RPM_BUILD_ROOT%{_mandir}/$d/$m
67de32db 933 fi
934 done
935done
3146265b
JB
936# it's been moved from man1 to man8
937for d in es ja ko ; do
938 mv -f $RPM_BUILD_ROOT%{_mandir}/$d/man1/readprofile.1 \
939 $RPM_BUILD_ROOT%{_mandir}/$d/man8/readprofile.8
940 %{__sed} -i -e 's/READPROFILE 1/READPROFILE 8/' $RPM_BUILD_ROOT%{_mandir}/$d/man8/readprofile.8
941done
a40f6dee
JR
942# fix inconsistent man links
943echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/es/man8/clock.8
944echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/ja/man8/clock.8
945echo '.so man8/swapon.8' > $RPM_BUILD_ROOT%{_mandir}/es/man8/swapoff.8
946echo '.so man8/swapon.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/swapoff.8
947echo '.so man8/swapon.8' > $RPM_BUILD_ROOT%{_mandir}/ja/man8/swapoff.8
948echo '.so man8/swapon.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/swapoff.8
949echo '.so man8/swapon.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/swapoff.8
67de32db 950
951# cleanup, remove files not included in package
952%{__rm} $RPM_BUILD_ROOT%{_bindir}/{chfn,chsh,newgrp} \
953 $RPM_BUILD_ROOT%{_sbindir}/{vigr,vipw} \
954 $RPM_BUILD_ROOT%{_mandir}/man1/{chfn,chsh,newgrp}.1 \
955 $RPM_BUILD_ROOT%{_mandir}/man8/{vigr,vipw}.8 \
0d819006 956 $RPM_BUILD_ROOT%{_mandir}/*/man1/{arch,chkdupexe,ddate,reset}.1 \
67de32db 957 $RPM_BUILD_ROOT%{_mandir}/*/man5/nfs.5 \
56a8c6a4
JB
958 $RPM_BUILD_ROOT%{_mandir}/*/man8/{cytune,elvtune,setfdprm,sln,ramsize,raw,rdev,rootflags,vidmode}.8 \
959 $RPM_BUILD_ROOT%{bash_compdir}/{chfn,chsh,newgrp}
67de32db 960
6e84fb29
JB
961%ifarch sparc sparcv9 sparc64
962# programs not built on sparc
67de32db 963%{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man8/{cfdisk,sfdisk}.8
964%endif
965
6e84fb29 966# examples
971f9098 967%{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/getopt/getopt-parse.*sh
6e84fb29 968
67de32db 969%if %{with initrd}
970install -d $RPM_BUILD_ROOT%{_libdir}/initrd
6e84fb29
JB
971install -p initrd/bin/* $RPM_BUILD_ROOT%{_libdir}/initrd
972install -p initrd/sbin/* $RPM_BUILD_ROOT%{_libdir}/initrd
67de32db 973ln -s fsck $RPM_BUILD_ROOT%{_libdir}/initrd/e2fsck
974
975# We don't need those
4a52de32 976%{__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 977%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{blkid,mount}.la
67de32db 978
979%if %{with dietlibc}
6e84fb29 980cp -a initrd/%{_lib}/lib*.a $RPM_BUILD_ROOT%{dietlibdir}
67de32db 981%endif
982%endif
983
0057a448 984%find_lang %{name}
67de32db 985
986%clean
987rm -rf $RPM_BUILD_ROOT
988
989%post -n blockdev
990/sbin/chkconfig --add blockdev
991%service blockdev restart
d18bf877 992%systemd_post blockdev.service
67de32db 993
994%preun -n blockdev
995if [ "$1" = "0" ]; then
996 %service blockdev stop
997 /sbin/chkconfig --del blockdev
998fi
d18bf877
JR
999%systemd_preun blockdev.service
1000
1001%postun -n blockdev
1002%systemd_reload
1003
1004%triggerpostun -n blockdev -- blockdev < 2.24-4
1005%systemd_trigger blockdev.service
67de32db 1006
1007%post -n libblkid -p /sbin/ldconfig
1008%postun -n libblkid -p /sbin/ldconfig
1009
1010%post -n libuuid -p /sbin/ldconfig
1011%postun -n libuuid -p /sbin/ldconfig
1012
1013%pre -n uuidd
1014if [ "$(getgid libuuid 2>/dev/null)" = "222" ]; then
2d2bdd48 1015 /usr/sbin/groupmod -n uuidd libuuid
67de32db 1016fi
1017%groupadd -g 222 uuidd
1018if [ "$(id -u libuuid 2>/dev/null)" = "222" ]; then
2d2bdd48 1019 /usr/sbin/usermod -l uuidd libuuid
67de32db 1020fi
1021%useradd -u 222 -r -d /var/lib/libuuid -s /bin/false -c "UUID generator helper daemon" -g uuidd uuidd
1022
1023%postun -n uuidd
1024if [ "$1" = "0" ]; then
2d2bdd48
TP
1025 %userremove uuidd
1026 %groupremove uuidd
67de32db 1027fi
1028
c7c0c6cb
JB
1029%post -n libfdisk -p /sbin/ldconfig
1030%postun -n libfdisk -p /sbin/ldconfig
1031
67de32db 1032%post -n libmount -p /sbin/ldconfig
1033%postun -n libmount -p /sbin/ldconfig
1034
8b6144a3
JB
1035%post -n libsmartcols -p /sbin/ldconfig
1036%postun -n libsmartcols -p /sbin/ldconfig
1037
0057a448 1038%files -f %{name}.lang
67de32db 1039%defattr(644,root,root,755)
6e84fb29 1040%doc AUTHORS ChangeLog NEWS README README.licensing Documentation misc-utils/getopt-parse.{bash,tcsh}
83c7e57e 1041%dir /etc/terminal-colors.d
67de32db 1042
1043%attr(755,root,root) /sbin/clock
1044%attr(755,root,root) /sbin/hwclock*
9ebc19a0 1045%attr(755,root,root) /sbin/nologin
6b476dc1 1046%{_mandir}/man5/adjtime_config.5*
67de32db 1047%{_mandir}/man8/clock.8*
1048%{_mandir}/man8/hwclock.8*
9ebc19a0 1049%{_mandir}/man8/nologin.8*
67de32db 1050%lang(es) %{_mandir}/es/man8/clock.8*
1051%lang(es) %{_mandir}/es/man8/hwclock.8*
1052%lang(ja) %{_mandir}/ja/man8/clock.8*
1053%lang(ja) %{_mandir}/ja/man8/hwclock.8*
1054
1055%ghost %{_sysconfdir}/blkid.tab
1056%attr(755,root,root) /sbin/blkid
1057%attr(755,root,root) /sbin/findfs
1058%{_mandir}/man8/blkid.8*
1059%{_mandir}/man8/findfs.8*
1060
1061%attr(755,root,root) %{_bindir}/linux*
1062%attr(755,root,root) %{_bindir}/setarch
1063%{_mandir}/man8/linux*
1064%{_mandir}/man8/setarch.8*
1065%ifarch s390 s390x
1066%attr(755,root,root) %{_bindir}/s390*
1067%{_mandir}/man8/s390*
1068%endif
286c64ce 1069%ifarch %{ix86} %{x8664} x32
67de32db 1070%attr(755,root,root) %{_bindir}/i386
1071%{_mandir}/man8/i386*
286c64ce 1072%ifarch %{x8664} x32
67de32db 1073%attr(755,root,root) %{_bindir}/x86_64
1074%{_mandir}/man8/x86_64*
1075%endif
1076%endif
1077%ifarch ppc ppc64
1078%attr(755,root,root) %{_bindir}/ppc*
1079%{_mandir}/man8/ppc*
1080%endif
1081%ifarch sparc sparc64
1082%attr(755,root,root) %{_bindir}/sparc*
1083%{_mandir}/man8/sparc*
1084%endif
1085%ifarch ia64
1086%attr(755,root,root) %{_bindir}/i386
1087%attr(755,root,root) %{_bindir}/ia64
1088%{_mandir}/man8/i386*
1089%{_mandir}/man8/ia64*
1090%endif
1091
1092%attr(755,root,root) /bin/dmesg
1093%attr(755,root,root) /bin/kill
4a52de32 1094%attr(755,root,root) /bin/lsblk
67de32db 1095%attr(755,root,root) /bin/more
4fa9d824 1096%attr(755,root,root) /bin/wdctl
ed1c99f8 1097
2e2cdb35 1098%attr(755,root,root) /sbin/addpart
232bdb1a 1099%attr(755,root,root) /sbin/blkdiscard
4a52de32
JB
1100%attr(755,root,root) /sbin/blkzone
1101%attr(755,root,root) /sbin/chcpu
1102%attr(755,root,root) /sbin/ctrlaltdel
67de32db 1103%attr(755,root,root) /sbin/delpart
1104%attr(755,root,root) /sbin/fsfreeze
1105%attr(755,root,root) /sbin/fstrim
1106%attr(755,root,root) /sbin/mkfs
db37f8cd 1107%attr(755,root,root) /sbin/mkfs.swap
67de32db 1108%attr(755,root,root) /sbin/mkswap
4a52de32 1109%attr(755,root,root) /sbin/partx
4fa9d824 1110%attr(755,root,root) /sbin/sulogin
67de32db 1111%attr(755,root,root) /sbin/swaplabel
1112%if "%{pld_release}" != "ac"
1113%attr(755,root,root) /sbin/switch_root
1114%endif
1115%attr(755,root,root) /sbin/wipefs
c7c0c6cb 1116%attr(755,root,root) /sbin/zramctl
67de32db 1117%attr(755,root,root) %{_bindir}/cal
6b476dc1 1118%attr(755,root,root) %{_bindir}/choom
4a52de32 1119%attr(755,root,root) %{_bindir}/chmem
67de32db 1120%attr(755,root,root) %{_bindir}/chrt
1121%attr(755,root,root) %{_bindir}/col
1122%attr(755,root,root) %{_bindir}/colcrt
1123%attr(755,root,root) %{_bindir}/colrm
1124%attr(755,root,root) %{_bindir}/column
4fa9d824 1125%attr(755,root,root) %{_bindir}/eject
67de32db 1126%{?with_fallocate:%attr(755,root,root) %{_bindir}/fallocate}
4a52de32
JB
1127%attr(755,root,root) %{_bindir}/fincore
1128%attr(755,root,root) %{_bindir}/flock
67de32db 1129%attr(755,root,root) %{_bindir}/getopt
c73057dc 1130%attr(755,root,root) %{_bindir}/hardlink
67de32db 1131%attr(755,root,root) %{_bindir}/hexdump
1132%attr(755,root,root) %{_bindir}/ionice
1133%attr(755,root,root) %{_bindir}/ipcmk
1134%attr(755,root,root) %{_bindir}/ipcrm
1135%attr(755,root,root) %{_bindir}/ipcs
aca17f99 1136%attr(755,root,root) %{_bindir}/irqtop
67de32db 1137%attr(755,root,root) %{_bindir}/isosize
1138%attr(755,root,root) %{_bindir}/line
971f9098
AM
1139%attr(755,root,root) %{_bindir}/last
1140%attr(755,root,root) %{_bindir}/lastb
67de32db 1141%attr(755,root,root) %{_bindir}/logger
1142%attr(755,root,root) %{_bindir}/look
1143%attr(755,root,root) %{_bindir}/lscpu
993f4721 1144%attr(755,root,root) %{_bindir}/lsipc
aca17f99 1145%attr(755,root,root) %{_bindir}/lsirq
4fa9d824 1146%attr(755,root,root) %{_bindir}/lslocks
8b6144a3 1147%attr(755,root,root) %{_bindir}/lslogins
4a52de32 1148%attr(755,root,root) %{_bindir}/lsmem
e7e771c5 1149%attr(755,root,root) %{_bindir}/lsns
971f9098 1150%attr(755,root,root) %{_bindir}/mesg
67de32db 1151%attr(755,root,root) %{_bindir}/mcookie
1152%attr(755,root,root) %{_bindir}/namei
232bdb1a 1153%attr(755,root,root) %{_bindir}/nsenter
67de32db 1154%attr(755,root,root) %{_bindir}/pg
290cedac
AM
1155%attr(755,root,root) %{_bindir}/prlimit
1156%attr(755,root,root) %{_bindir}/raw
67de32db 1157%attr(755,root,root) %{_bindir}/rename
1158%attr(755,root,root) %{_bindir}/renice
1159%attr(755,root,root) %{_bindir}/rev
1160%attr(755,root,root) %{_bindir}/script
56a8c6a4 1161%attr(755,root,root) %{_bindir}/scriptlive
67de32db 1162%attr(755,root,root) %{_bindir}/scriptreplay
232bdb1a 1163%attr(755,root,root) %{_bindir}/setpriv
67de32db 1164%attr(755,root,root) %{_bindir}/setsid
1165%attr(755,root,root) %{_bindir}/setterm
67de32db 1166%attr(755,root,root) %{_bindir}/taskset
0ab7cd08 1167%attr(755,root,root) %{_bindir}/uuidparse
67de32db 1168%attr(755,root,root) %{_bindir}/ul
8b6144a3 1169%attr(755,root,root) %{_bindir}/uname26
67de32db 1170%attr(755,root,root) %{_bindir}/unshare
4fa9d824 1171%attr(755,root,root) %{_bindir}/utmpdump
63bd1af6 1172%attr(755,root,root) %{_bindir}/utmpx-dump
67de32db 1173%attr(755,root,root) %{_bindir}/whereis
1174%attr(2755,root,tty) %{_bindir}/write
1175%attr(755,root,root) %{_sbindir}/fdformat
1176%attr(755,root,root) %{_sbindir}/ldattach
1177%attr(755,root,root) %{_sbindir}/readprofile
4fa9d824 1178%attr(755,root,root) %{_sbindir}/resizepart
bdcb1bc9 1179%attr(755,root,root) %{_sbindir}/rfkill
67de32db 1180%attr(755,root,root) %{_sbindir}/rtcwake
1181
8b6144a3
JB
1182%{systemdunitdir}/fstrim.service
1183%{systemdunitdir}/fstrim.timer
1184
67de32db 1185%{_mandir}/man1/cal.1*
6b476dc1 1186%{_mandir}/man1/choom.1*
67de32db 1187%{_mandir}/man1/chrt.1*
1188%{_mandir}/man1/col.1*
1189%{_mandir}/man1/colcrt.1*
1190%{_mandir}/man1/colrm.1*
1191%{_mandir}/man1/column.1*
67de32db 1192%{_mandir}/man1/dmesg.1*
4fa9d824 1193%{_mandir}/man1/eject.1*
67de32db 1194%{?with_fallocate:%{_mandir}/man1/fallocate.1*}
4a52de32 1195%{_mandir}/man1/fincore.1*
67de32db 1196%{_mandir}/man1/flock.1*
1197%{_mandir}/man1/getopt.1*
c73057dc 1198%{_mandir}/man1/hardlink.1*
67de32db 1199%{_mandir}/man1/hexdump.1*
1200%{_mandir}/man1/ionice.1*
1201%{_mandir}/man1/ipcrm.1*
1202%{_mandir}/man1/ipcmk.1*
1203%{_mandir}/man1/ipcs.1*
aca17f99 1204%{_mandir}/man1/irqtop.1*
67de32db 1205%{_mandir}/man1/kill.1*
971f9098
AM
1206%{_mandir}/man1/last.1*
1207%{_mandir}/man1/lastb.1*
67de32db 1208%{_mandir}/man1/line.1*
1209%{_mandir}/man1/logger.1*
1210%{_mandir}/man1/look.1*
1211%{_mandir}/man1/lscpu.1*
993f4721 1212%{_mandir}/man1/lsipc.1*
aca17f99 1213%{_mandir}/man1/lsirq.1*
8b6144a3 1214%{_mandir}/man1/lslogins.1*
4a52de32 1215%{_mandir}/man1/lsmem.1*
67de32db 1216%{_mandir}/man1/mcookie.1*
971f9098 1217%{_mandir}/man1/mesg.1*
67de32db 1218%{_mandir}/man1/more.1*
1219%{_mandir}/man1/namei.1*
232bdb1a 1220%{_mandir}/man1/nsenter.1*
290cedac 1221%{_mandir}/man1/prlimit.1*
67de32db 1222%{_mandir}/man1/pg.1*
67de32db 1223%{_mandir}/man1/renice.1*
1224%{_mandir}/man1/rev.1*
1225%{_mandir}/man1/rename.1*
232bdb1a 1226%{_mandir}/man1/setpriv.1*
67de32db 1227%{_mandir}/man1/setsid.1*
1228%{_mandir}/man1/script.1*
56a8c6a4 1229%{_mandir}/man1/scriptlive.1*
67de32db 1230%{_mandir}/man1/scriptreplay.1*
1231%{_mandir}/man1/setterm.1*
67de32db 1232%{_mandir}/man1/taskset.1*
1233%{_mandir}/man1/ul.1*
1234%{_mandir}/man1/unshare.1*
4fa9d824 1235%{_mandir}/man1/utmpdump.1*
0ab7cd08 1236%{_mandir}/man1/uuidparse.1*
67de32db 1237%{_mandir}/man1/whereis.1*
1238%{_mandir}/man1/write.1*
14086cfb
TP
1239# common for many utilities (hexdump,cal,dmesg,fdisk,cfdisk - not libraries)
1240%{_mandir}/man5/terminal-colors.d.5*
67de32db 1241%{_mandir}/man8/addpart.8*
232bdb1a 1242%{_mandir}/man8/blkdiscard.8*
4a52de32 1243%{_mandir}/man8/blkzone.8*
2e2cdb35
ER
1244%{_mandir}/man8/delpart.8*
1245%{_mandir}/man8/partx.8*
1246%{_mandir}/man8/lsblk.8*
e7e771c5 1247%{_mandir}/man8/lsns.8*
290cedac 1248%{_mandir}/man8/chcpu.8*
4a52de32 1249%{_mandir}/man8/chmem.8*
67de32db 1250%{_mandir}/man8/ctrlaltdel.8*
67de32db 1251%{_mandir}/man8/fdformat.8*
1252%{_mandir}/man8/fsfreeze.8*
1253%{_mandir}/man8/fstrim.8*
1254%{_mandir}/man8/isosize.8*
1255%{_mandir}/man8/ldattach.8*
4fa9d824 1256%{_mandir}/man8/lslocks.8*
67de32db 1257%{_mandir}/man8/mkswap.8*
290cedac 1258%{_mandir}/man8/raw.8*
a7980c08 1259%{_mandir}/man8/readprofile.8*
4fa9d824 1260%{_mandir}/man8/resizepart.8*
0ab7cd08 1261%{_mandir}/man8/rfkill.8*
67de32db 1262%{_mandir}/man8/rtcwake.8*
1263%{_mandir}/man8/swaplabel.8*
1264%if "%{pld_release}" != "ac"
1265%{_mandir}/man8/switch_root.8*
1266%endif
4fa9d824 1267%{_mandir}/man8/sulogin.8*
8b6144a3 1268%{_mandir}/man8/uname26.8*
4fa9d824 1269%{_mandir}/man8/wdctl.8*
67de32db 1270%{_mandir}/man8/wipefs.8*
c7c0c6cb 1271%{_mandir}/man8/zramctl.8*
67de32db 1272
1273%lang(de) %{_mandir}/de/man1/kill.1*
1274%lang(de) %{_mandir}/de/man1/more.1*
1275%lang(de) %{_mandir}/de/man1/write.1*
1276%lang(de) %{_mandir}/de/man8/fdformat.8*
1277
731cb86a
TP
1278%lang(es) %{_mandir}/es/man1/*.1*
1279%exclude %{_mandir}/es/man1/login.1*
67de32db 1280%lang(es) %{_mandir}/es/man8/ctrlaltdel.8*
1281%lang(es) %{_mandir}/es/man8/ipcrm.8*
1282%lang(es) %{_mandir}/es/man8/ipcs.8*
1283%lang(es) %{_mandir}/es/man8/mkswap.8*
3146265b 1284%lang(es) %{_mandir}/es/man8/readprofile.8*
67de32db 1285%lang(es) %{_mandir}/es/man8/renice.8*
1286%lang(es) %{_mandir}/es/man8/setsid.8*
1287
731cb86a
TP
1288%lang(fi) %{_mandir}/fi/man1/*.1*
1289
1290%lang(fr) %{_mandir}/fr/man1/*.1*
67de32db 1291%lang(fr) %{_mandir}/fr/man8/ctrlaltdel.8*
1292%lang(fr) %{_mandir}/fr/man8/dmesg.8*
1293%lang(fr) %{_mandir}/fr/man8/fdformat.8*
1294%lang(fr) %{_mandir}/fr/man8/ipcrm.8*
1295%lang(fr) %{_mandir}/fr/man8/ipcs.8*
1296%lang(fr) %{_mandir}/fr/man8/setsid.8*
1297
731cb86a
TP
1298%lang(hu) %{_mandir}/hu/man1/*.1*
1299%exclude %{_mandir}/hu/man1/login.1*
67de32db 1300%lang(hu) %{_mandir}/hu/man8/ctrlaltdel.8*
1301%lang(hu) %{_mandir}/hu/man8/fdformat.8*
1302%lang(hu) %{_mandir}/hu/man8/mkswap.8*
1303
731cb86a
TP
1304%lang(id) %{_mandir}/id/man1/*.1*
1305%exclude %{_mandir}/id/man1/login.1*
67de32db 1306%lang(id) %{_mandir}/id/man8/fdformat.8*
1307
1308%lang(it) %{_mandir}/it/man1/kill.1*
1309%lang(it) %{_mandir}/it/man8/mkswap.8*
1310%lang(it) %{_mandir}/it/man8/setsid.8*
1311
731cb86a
TP
1312%lang(ja) %{_mandir}/ja/man1/*.1*
1313%exclude %{_mandir}/ja/man1/login.1*
67de32db 1314%lang(ja) %{_mandir}/ja/man8/ctrlaltdel.8*
67de32db 1315%lang(ja) %{_mandir}/ja/man8/dmesg.8*
1316%lang(ja) %{_mandir}/ja/man8/fdformat.8*
1317%lang(ja) %{_mandir}/ja/man8/ipcrm.8*
1318%lang(ja) %{_mandir}/ja/man8/ipcs.8*
1319%lang(ja) %{_mandir}/ja/man8/isosize.8*
1320%lang(ja) %{_mandir}/ja/man8/mkswap.8*
3146265b 1321%lang(ja) %{_mandir}/ja/man8/readprofile.8*
67de32db 1322%lang(ja) %{_mandir}/ja/man8/renice.8*
1323%lang(ja) %{_mandir}/ja/man8/setsid.8*
1324
731cb86a
TP
1325%lang(ko) %{_mandir}/ko/man1/*.1*
1326%exclude %{_mandir}/ko/man1/login.1*
67de32db 1327%lang(ko) %{_mandir}/ko/man8/ctrlaltdel.8*
1328%lang(ko) %{_mandir}/ko/man8/dmesg.8*
1329%lang(ko) %{_mandir}/ko/man8/fdformat.8*
1330%lang(ko) %{_mandir}/ko/man8/ipcrm.8*
1331%lang(ko) %{_mandir}/ko/man8/ipcs.8*
1332%lang(ko) %{_mandir}/ko/man8/mkswap.8*
3146265b 1333%lang(ko) %{_mandir}/ko/man8/readprofile.8*
67de32db 1334%lang(ko) %{_mandir}/ko/man8/renice.8*
1335%lang(ko) %{_mandir}/ko/man8/setsid.8*
1336
1337%lang(nl) %{_mandir}/nl/man1/kill.1*
1338
731cb86a
TP
1339%lang(pl) %{_mandir}/pl/man1/*.1*
1340%exclude %{_mandir}/pl/man1/login.1*
67de32db 1341%lang(pl) %{_mandir}/pl/man8/ctrlaltdel.8*
1342%lang(pl) %{_mandir}/pl/man8/dmesg.8*
1343%lang(pl) %{_mandir}/pl/man8/fdformat.8*
1344%lang(pl) %{_mandir}/pl/man8/ipcrm.8*
1345%lang(pl) %{_mandir}/pl/man8/ipcs.8*
1346%lang(pl) %{_mandir}/pl/man8/mkswap.8*
1347%lang(pl) %{_mandir}/pl/man8/renice.8*
1348
67de32db 1349%attr(755,root,root) /sbin/fdisk
1350%attr(755,root,root) /sbin/fsck.minix
1351%attr(755,root,root) /sbin/mkfs.minix
1352%ifnarch sparc sparc64
1353%attr(755,root,root) /sbin/cfdisk
1354%attr(755,root,root) /sbin/sfdisk
1355%endif
1356
1357%{_mandir}/man8/fdisk.8*
1358%ifnarch sparc sparc64
1359%{_mandir}/man8/cfdisk.8*
1360%{_mandir}/man8/sfdisk.8*
1361%endif
1362%{_mandir}/man8/fsck.minix.8*
1363%{_mandir}/man8/mkfs.bfs.8*
1364%{_mandir}/man8/mkfs.minix.8*
1365%{_mandir}/man8/mkfs.8*
1366
1367%lang(es) %{_mandir}/es/man8/fdisk.8*
1368%lang(es) %{_mandir}/es/man8/fsck.minix.8*
1369%lang(es) %{_mandir}/es/man8/mkfs.minix.8*
1370%lang(es) %{_mandir}/es/man8/mkfs.8*
1371
1372%lang(fr) %{_mandir}/fr/man8/fdisk.8*
1373%ifnarch sparc sparc64
1374%lang(fr) %{_mandir}/fr/man8/cfdisk.8*
1375%lang(fr) %{_mandir}/fr/man8/sfdisk.8*
1376%endif
1377%lang(fr) %{_mandir}/fr/man8/mkfs.minix.8*
1378%lang(fr) %{_mandir}/fr/man8/mkfs.8*
1379
1380%lang(hu) %{_mandir}/hu/man8/mkfs.8*
1381
1382%lang(it) %{_mandir}/it/man8/fdisk.8*
1383%ifnarch sparc sparc64
1384%lang(it) %{_mandir}/it/man8/cfdisk.8*
1385%endif
1386
1387%lang(ja) %{_mandir}/ja/man8/fdisk.8*
1388%ifnarch sparc sparc64
1389%lang(ja) %{_mandir}/ja/man8/cfdisk.8*
1390%lang(ja) %{_mandir}/ja/man8/sfdisk.8*
1391%endif
1392%lang(ja) %{_mandir}/ja/man8/fsck.minix.8*
1393%lang(ja) %{_mandir}/ja/man8/mkfs.bfs.8*
1394%lang(ja) %{_mandir}/ja/man8/mkfs.minix.8*
1395%lang(ja) %{_mandir}/ja/man8/mkfs.8*
1396
1397%lang(ko) %{_mandir}/ko/man8/fdisk.8*
1398%lang(ko) %{_mandir}/ko/man8/fsck.minix.8*
1399%lang(ko) %{_mandir}/ko/man8/mkfs.minix.8*
1400%lang(ko) %{_mandir}/ko/man8/mkfs.8*
1401
1402%lang(pl) %{_mandir}/pl/man8/fdisk.8*
1403%lang(pl) %{_mandir}/pl/man8/fsck.minix.8*
1404%lang(pl) %{_mandir}/pl/man8/mkfs.minix.8*
1405%lang(pl) %{_mandir}/pl/man8/mkfs.8*
1406
1407%attr(755,root,root) /sbin/fsck.cramfs
1408%attr(755,root,root) /sbin/mkfs.cramfs
1409%attr(755,root,root) /sbin/mkfs.bfs
232bdb1a
AM
1410%{_mandir}/man8/fsck.cramfs.8*
1411%{_mandir}/man8/mkfs.cramfs.8*
67de32db 1412
034a23bb 1413%if %{with su}
4e4fc9b5 1414%attr(755,root,root) /bin/runuser
232bdb1a 1415%attr(755,root,root) /sbin/runuser
034a23bb
JB
1416%attr(4755,root,root) /bin/su
1417%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/runuser
1418%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/runuser-l
1419%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/su
1420%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/su-l
1421%{_mandir}/man1/runuser.1*
1422%{_mandir}/man1/su.1*
1423%endif
1424
67de32db 1425%ghost /var/lock/wtmpxlock
1426
1427%files -n blockdev
1428%defattr(644,root,root,755)
1429%attr(754,root,root) /etc/rc.d/init.d/blockdev
1430%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/blockdev
1431%attr(755,root,root) /sbin/blockdev
1432%{_mandir}/man8/blockdev.8*
1433%lang(ja) %{_mandir}/ja/man8/blockdev.8*
d18bf877
JR
1434%{systemdunitdir}/blockdev.service
1435%attr(755,root,root) /lib/systemd/pld-helpers.d/blockdev.sh
67de32db 1436
1437%files -n mount
1438%defattr(644,root,root,755)
8b6144a3 1439%attr(755,root,root) /bin/findmnt
4f33a5ab 1440%attr(755,root,root) /bin/mountpoint
67de32db 1441%attr(4755,root,root) /bin/mount
1442%attr(4755,root,root) /bin/umount
1443%attr(755,root,root) /sbin/pivot_root
1444%attr(755,root,root) /sbin/swapon
1445%attr(755,root,root) /sbin/swapoff
1446
4f33a5ab 1447%{_mandir}/man1/mountpoint.1*
67de32db 1448%{_mandir}/man5/fstab.5*
8b6144a3 1449%{_mandir}/man8/findmnt.8*
67de32db 1450%{_mandir}/man8/mount.8*
1451%{_mandir}/man8/umount.8*
1452%{_mandir}/man8/pivot_root.8*
1453%{_mandir}/man8/swapon.8*
1454%{_mandir}/man8/swapoff.8*
1455
1456%lang(cs) %{_mandir}/cs/man5/fstab.5*
1457
1458%lang(de) %{_mandir}/de/man5/fstab.5*
1459
1460%lang(es) %{_mandir}/es/man5/fstab.5*
1461%lang(es) %{_mandir}/es/man8/mount.8*
1462%lang(es) %{_mandir}/es/man8/umount.8*
1463%lang(es) %{_mandir}/es/man8/swapon.8*
1464%lang(es) %{_mandir}/es/man8/swapoff.8*
1465
1466%lang(fr) %{_mandir}/fr/man5/fstab.5*
1467%lang(fr) %{_mandir}/fr/man8/mount.8*
1468%lang(fr) %{_mandir}/fr/man8/umount.8*
1469
1470%lang(hu) %{_mandir}/hu/man5/fstab.5*
1471%lang(hu) %{_mandir}/hu/man8/mount.8*
1472%lang(hu) %{_mandir}/hu/man8/umount.8*
1473
1474%lang(it) %{_mandir}/it/man5/fstab.5*
1475%lang(it) %{_mandir}/it/man8/mount.8*
1476%lang(it) %{_mandir}/it/man8/umount.8*
1477%lang(it) %{_mandir}/it/man8/swapon.8*
1478%lang(it) %{_mandir}/it/man8/swapoff.8*
1479
1480%lang(ja) %{_mandir}/ja/man5/fstab.5*
1481%lang(ja) %{_mandir}/ja/man8/mount.8*
1482%lang(ja) %{_mandir}/ja/man8/umount.8*
1483%lang(ja) %{_mandir}/ja/man8/pivot_root.8*
1484%lang(ja) %{_mandir}/ja/man8/swapon.8*
1485%lang(ja) %{_mandir}/ja/man8/swapoff.8*
1486
1487%lang(ko) %{_mandir}/ko/man5/fstab.5*
1488%lang(ko) %{_mandir}/ko/man8/mount.8*
1489%lang(ko) %{_mandir}/ko/man8/umount.8*
1490%lang(ko) %{_mandir}/ko/man8/swapon.8*
1491%lang(ko) %{_mandir}/ko/man8/swapoff.8*
1492
1493%lang(pl) %{_mandir}/pl/man5/fstab.5*
1494%lang(pl) %{_mandir}/pl/man8/mount.8*
1495%lang(pl) %{_mandir}/pl/man8/umount.8*
1496%lang(pl) %{_mandir}/pl/man8/swapon.8*
1497%lang(pl) %{_mandir}/pl/man8/swapoff.8*
1498
1499%files -n losetup
1500%defattr(644,root,root,755)
1501%attr(755,root,root) /sbin/losetup
1502%{_mandir}/man8/losetup.8*
1503%lang(fr) %{_mandir}/fr/man8/losetup.8*
1504%lang(it) %{_mandir}/it/man8/losetup.8*
1505%lang(ja) %{_mandir}/ja/man8/losetup.8*
1506%lang(ko) %{_mandir}/ko/man8/losetup.8*
1507%lang(pl) %{_mandir}/pl/man8/losetup.8*
1508
67de32db 1509%files -n tunelp
1510%defattr(644,root,root,755)
1511%attr(755,root,root) %{_sbindir}/tunelp
1512%{_mandir}/man8/tunelp.8*
1513%lang(es) %{_mandir}/es/man8/tunelp.8*
1514%lang(ja) %{_mandir}/ja/man8/tunelp.8*
1515%lang(pl) %{_mandir}/pl/man8/tunelp.8*
1516
1517%files -n login
1518%defattr(644,root,root,755)
1519%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/login
1520%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.login
1521%attr(755,root,root) /bin/login
1522%{_mandir}/man1/login.1*
1523%lang(de) %{_mandir}/de/man1/login.1*
1524%lang(es) %{_mandir}/es/man1/login.1*
1525%lang(hu) %{_mandir}/hu/man1/login.1*
1526%lang(id) %{_mandir}/id/man1/login.1*
1527%lang(ja) %{_mandir}/ja/man1/login.1*
1528%lang(ko) %{_mandir}/ko/man1/login.1*
1529%lang(pl) %{_mandir}/pl/man1/login.1*
1530
1531%files -n agetty
1532%defattr(644,root,root,755)
1533%attr(755,root,root) /sbin/agetty
1534%{_mandir}/man8/agetty.8*
1535%lang(es) %{_mandir}/es/man8/agetty.8*
1536%lang(ja) %{_mandir}/ja/man8/agetty.8*
1537
1538%files -n libblkid
1539%defattr(644,root,root,755)
1540%attr(755,root,root) /%{_lib}/libblkid.so.*.*
1541%attr(755,root,root) %ghost /%{_lib}/libblkid.so.1
1542
1543%files -n libblkid-devel
1544%defattr(644,root,root,755)
1545%attr(755,root,root) %{_libdir}/libblkid.so
67de32db 1546%{_includedir}/blkid
1547%{_pkgconfigdir}/blkid.pc
1548%{_mandir}/man3/libblkid.3*
1549
1550%files -n libblkid-static
1551%defattr(644,root,root,755)
1552%{_libdir}/libblkid.a
1553
1554%if %{with initrd} && %{with dietlibc}
1555%files -n libblkid-dietlibc
1556%defattr(644,root,root,755)
1557%{dietlibdir}/libblkid.a
1558%endif
1559
1560%files -n libuuid
1561%defattr(644,root,root,755)
1562%attr(755,root,root) %{_bindir}/uuidgen
1563%attr(755,root,root) /%{_lib}/libuuid.so.*.*
1564%attr(755,root,root) %ghost /%{_lib}/libuuid.so.1
1565%{_mandir}/man1/uuidgen.1*
1566
1567%files -n libuuid-devel
1568%defattr(644,root,root,755)
1569%attr(755,root,root) %{_libdir}/libuuid.so
1570%{_libdir}/libuuid.la
1571%{_includedir}/uuid
1572%{_pkgconfigdir}/uuid.pc
1573%{_mandir}/man3/uuid*.3*
1574
1575%files -n libuuid-static
1576%defattr(644,root,root,755)
1577%{_libdir}/libuuid.a
1578
1579%if %{with initrd} && %{with dietlibc}
1580%files -n libuuid-dietlibc
1581%defattr(644,root,root,755)
1582%{dietlibdir}/libuuid.a
1583%endif
1584
1585%files -n uuidd
1586%defattr(644,root,root,755)
1587%attr(6755,uuidd,uuidd) %{_sbindir}/uuidd
1588%attr(2775,uuidd,uuidd) /var/lib/libuuid
1589%{_mandir}/man8/uuidd.8*
4fa9d824
AM
1590%{systemdunitdir}/uuidd.service
1591%{systemdunitdir}/uuidd.socket
67de32db 1592
c7c0c6cb
JB
1593%files -n libfdisk
1594%defattr(644,root,root,755)
1595%doc libfdisk/COPYING
1596%attr(755,root,root) /%{_lib}/libfdisk.so.*.*
1597%attr(755,root,root) %ghost /%{_lib}/libfdisk.so.1
1598
1599%files -n libfdisk-devel
1600%defattr(644,root,root,755)
1601%attr(755,root,root) %{_libdir}/libfdisk.so
1602%{_includedir}/libfdisk
1603%{_pkgconfigdir}/fdisk.pc
1604
1605%files -n libfdisk-static
1606%defattr(644,root,root,755)
1607%{_libdir}/libfdisk.a
1608
67de32db 1609%files -n libmount
1610%defattr(644,root,root,755)
c7c0c6cb 1611%doc libmount/COPYING
67de32db 1612%attr(755,root,root) /%{_lib}/libmount.so.*.*
1613%attr(755,root,root) %ghost /%{_lib}/libmount.so.1
67de32db 1614
1615%files -n libmount-devel
1616%defattr(644,root,root,755)
1617%attr(755,root,root) %{_libdir}/libmount.so
67de32db 1618%{_includedir}/libmount
1619%{_pkgconfigdir}/mount.pc
1620
1621%files -n libmount-static
1622%defattr(644,root,root,755)
1623%{_libdir}/libmount.a
1624
8b6144a3
JB
1625%files -n python3-libmount
1626%defattr(644,root,root,755)
1627%dir %{py3_sitedir}/libmount
1628%attr(755,root,root) %{py3_sitedir}/libmount/pylibmount.so
1629%{py3_sitedir}/libmount/__init__.py
1630%{py3_sitedir}/libmount/__pycache__
1631
67de32db 1632%files -n fsck
1633%defattr(644,root,root,755)
1634%attr(755,root,root) /sbin/fsck
1635%{_mandir}/man8/fsck.8*
1636
8b6144a3 1637%files -n libsmartcols
971f9098 1638%defattr(644,root,root,755)
8b6144a3
JB
1639%attr(755,root,root) /%{_lib}/libsmartcols.so.*.*.*
1640%attr(755,root,root) %ghost /%{_lib}/libsmartcols.so.1
8b6144a3
JB
1641
1642%files -n libsmartcols-devel
1643%defattr(644,root,root,755)
1644%attr(755,root,root) %{_libdir}/libsmartcols.so
1645%{_includedir}/libsmartcols
1646%{_pkgconfigdir}/smartcols.pc
1647
1648%files -n libsmartcols-static
1649%defattr(644,root,root,755)
1650%{_libdir}/libsmartcols.a
971f9098 1651
67de32db 1652%if %{with initrd}
1653%files initrd
1654%defattr(644,root,root,755)
6e84fb29
JB
1655%attr(755,root,root) %{_libdir}/initrd/blkid
1656%attr(755,root,root) %{_libdir}/initrd/blockdev
1657%attr(755,root,root) %{_libdir}/initrd/fdformat
1658%attr(755,root,root) %{_libdir}/initrd/fdisk
1659%attr(755,root,root) %{_libdir}/initrd/findfs
1660%attr(755,root,root) %{_libdir}/initrd/hwclock
1661%attr(755,root,root) %{_libdir}/initrd/look
1662%attr(755,root,root) %{_libdir}/initrd/mkswap
1663%attr(755,root,root) %{_libdir}/initrd/namei
1664%attr(755,root,root) %{_libdir}/initrd/rename
1665%ifnarch sparc sparcv9 sparc64
1666%attr(755,root,root) %{_libdir}/initrd/sfdisk
1667%endif
1668%attr(755,root,root) %{_libdir}/initrd/swaplabel
1669%attr(755,root,root) %{_libdir}/initrd/uuidgen
1670%attr(755,root,root) %{_libdir}/initrd/wipefs
1671# not needed?
1672#%attr(755,root,root) %{_libdir}/initrd/chrt
1673# not built because of disabled libmount
1674#%attr(755,root,root) %{_libdir}/initrd/e2fsck
1675#%attr(755,root,root) %{_libdir}/initrd/fsck
67de32db 1676%endif
8b6144a3
JB
1677
1678%files -n bash-completion-util-linux
1679%defattr(644,root,root,755)
56a8c6a4
JB
1680%{bash_compdir}/addpart
1681%{bash_compdir}/blkdiscard
1682%{bash_compdir}/blkid
1683%{bash_compdir}/blkzone
1684%{bash_compdir}/blockdev
1685%{bash_compdir}/cal
1686%{bash_compdir}/cfdisk
1687%{bash_compdir}/chcpu
1688%{bash_compdir}/chmem
1689%{bash_compdir}/chrt
1690%{bash_compdir}/col
1691%{bash_compdir}/colcrt
1692%{bash_compdir}/colrm
1693%{bash_compdir}/column
1694%{bash_compdir}/ctrlaltdel
1695%{bash_compdir}/delpart
1696%{bash_compdir}/dmesg
1697%{bash_compdir}/eject
1698%{bash_compdir}/fallocate
1699%{bash_compdir}/fdformat
1700%{bash_compdir}/fdisk
1701%{bash_compdir}/fincore
1702%{bash_compdir}/findfs
1703%{bash_compdir}/findmnt
1704%{bash_compdir}/flock
1705%{bash_compdir}/fsck
1706%{bash_compdir}/fsck.cramfs
1707%{bash_compdir}/fsck.minix
1708%{bash_compdir}/fsfreeze
1709%{bash_compdir}/fstrim
1710%{bash_compdir}/getopt
1711%{bash_compdir}/hexdump
1712%{bash_compdir}/hwclock
1713%{bash_compdir}/ionice
1714%{bash_compdir}/ipcmk
1715%{bash_compdir}/ipcrm
1716%{bash_compdir}/ipcs
aca17f99 1717%{bash_compdir}/irqtop
56a8c6a4
JB
1718%{bash_compdir}/isosize
1719%{bash_compdir}/last
1720%{bash_compdir}/ldattach
1721%{bash_compdir}/logger
1722%{bash_compdir}/look
1723%{bash_compdir}/losetup
1724%{bash_compdir}/lsblk
1725%{bash_compdir}/lscpu
1726%{bash_compdir}/lsipc
aca17f99 1727%{bash_compdir}/lsirq
56a8c6a4
JB
1728%{bash_compdir}/lslocks
1729%{bash_compdir}/lslogins
1730%{bash_compdir}/lsmem
1731%{bash_compdir}/lsns
1732%{bash_compdir}/mcookie
1733%{bash_compdir}/mesg
1734%{bash_compdir}/mkfs
1735%{bash_compdir}/mkfs.bfs
1736%{bash_compdir}/mkfs.cramfs
1737%{bash_compdir}/mkfs.minix
1738%{bash_compdir}/mkswap
1739%{bash_compdir}/more
1740%{bash_compdir}/mount
1741%{bash_compdir}/mountpoint
1742%{bash_compdir}/namei
1743%{bash_compdir}/nsenter
1744%{bash_compdir}/partx
1745%{bash_compdir}/pg
1746%{bash_compdir}/pivot_root
1747%{bash_compdir}/prlimit
1748%{bash_compdir}/raw
1749%{bash_compdir}/readprofile
1750%{bash_compdir}/rename
1751%{bash_compdir}/renice
1752%{bash_compdir}/resizepart
1753%{bash_compdir}/rev
1754%{bash_compdir}/rfkill
1755%{bash_compdir}/rtcwake
1756%{bash_compdir}/runuser
1757%{bash_compdir}/script
1758%{bash_compdir}/scriptlive
1759%{bash_compdir}/scriptreplay
1760%{bash_compdir}/setarch
1761%{bash_compdir}/setpriv
1762%{bash_compdir}/setsid
1763%{bash_compdir}/setterm
1764%{bash_compdir}/sfdisk
1765%{bash_compdir}/su
1766%{bash_compdir}/swaplabel
1767%{bash_compdir}/swapoff
1768%{bash_compdir}/swapon
1769%{bash_compdir}/taskset
1770%{bash_compdir}/tunelp
1771%{bash_compdir}/ul
1772%{bash_compdir}/umount
1773%{bash_compdir}/unshare
1774%{bash_compdir}/utmpdump
1775%{bash_compdir}/uuidd
1776%{bash_compdir}/uuidgen
1777%{bash_compdir}/uuidparse
1778%{bash_compdir}/wdctl
1779%{bash_compdir}/whereis
1780%{bash_compdir}/wipefs
1781%{bash_compdir}/write
1782%{bash_compdir}/zramctl
This page took 0.333851 seconds and 4 git commands to generate.