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