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