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