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