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