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