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