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