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