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