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