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