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