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