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