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