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