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