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