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