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