]> git.pld-linux.org Git - packages/util-linux.git/blobdiff - util-linux.spec
- fix without selinux
[packages/util-linux.git] / util-linux.spec
index 77bbe370751b812b10d73b190a8bdc5ea7790052..28675481a496c43a9616b68854ec1f528f29fd2a 100644 (file)
@@ -1,18 +1,11 @@
 #
 # Conditional build:
-# _without_crypto      - without kerneli cryptography
-# _with_pivot_root
+%bcond_with    uClibc  # don't build few utilities
+%bcond_without selinux # build without SELinux support
 #
 # TODO:
 # - move raw to /sbin (potentially can be used before mount partitions)??
-%define                _kernel_ver     %(grep UTS_RELEASE %{_kernelsrcdir}/include/linux/version.h 2>/dev/null | cut -d'"' -f2)
-%define                _kernel24       %(echo %{_kernel_ver} | grep -q '2\.[012]\.' ; echo $?)
-%if %{_kernel24}
-%define                _kernel_series  2.4
-%else
-%define                _kernel_series  2.2
-%endif
-%define                _release        5
+# - move logger to separate package (to avoid conflicts with inetutils)
 
 Summary:       Collection of basic system utilities for Linux
 Summary(de):   Sammlung von grundlegenden Systemdienstprogrammen für Linux
@@ -20,48 +13,72 @@ Summary(es):        Colect
 Summary(fr):   Ensemble d'utilitaires système de base pour Linux
 Summary(pl):   Zbiór podstawowych narzêdzi systemowych dla Linuksa
 Summary(pt_BR):        Coletânea de utilitários básicos de sistema para Linux
+Summary(ru):   îÁÂÏÒ ÂÁÚÏ×ÙÈ ÓÉÓÔÅÍÎÙÈ ÕÔÉÌÉÔ ÄÌÑ Linux
 Summary(tr):   Temel sistem araçlarý
+Summary(uk):   îÁ¦ҠÂÁÚÏ×ÉÈ ÓÉÓÔÅÍÎÉÈ ÕÔÉ̦ԠÄÌÑ Linux
 Name:          util-linux
-Version:       2.11l
-Release:       %{_release}
+Version:       2.12r
+Release:       6
 License:       distributable
 Group:         Applications/System
-Group(de):     Applikationen/System
-Group(pl):     Aplikacje/System
-Source0:       ftp://ftp.win.tue.nl/pub/linux-local/utils/util-linux/%{name}-%{version}.tar.gz
+# devel versions at ftp://ftp.kernel.org/pub/linux/utils/util-linux/testing
+Source0:       ftp://ftp.kernel.org/pub/linux/utils/util-linux/%{name}-%{version}.tar.gz
+# Source0-md5: c261230b27fc0fbcc287c76884caf2d3
+#Source1:      http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 Source1:       %{name}-non-english-man-pages.tar.bz2
+# Source1-md5: 81bbcc9a820512ecde87a8f31de0b745
 Source2:       login.pamd
-Source3:       rawdevices-init
-Source4:       rawdevices-sysconfig
+Source3:       rawdevices.init
+Source4:       rawdevices.sysconfig
+Source5:       %{name}-blockdev.init
+Source6:       %{name}-blockdev.sysconfig
 Patch0:                %{name}-MCONFIG.patch
 Patch1:                %{name}-fdisk.patch
 Patch2:                %{name}-utmpx.patch
 Patch3:                %{name}-fhs.patch
 Patch4:                %{name}-login.patch
-Patch5:                %{name}-kerneli.patch
-Patch6:                %{name}-info.patch
-Patch7:                %{name}-fdisk2.patch
-Patch8:                ftp://ftp.linuxnfs.sourceforge.org:/pub/nfs/%{name}-2.10m-mount-compat.patch
-Patch9:                %{name}-syscall.patch
-Patch10:       %{name}-raw.patch
-Patch11:       %{name}-gecos.patch
-Patch12:       %{name}-glibc.patch
-Patch13:       %{name}-s390.patch
-Patch14:       %{name}-kerneli-2.4.patch
-Patch15:       %{name}-qnx4.patch
-Patch16:       %{name}-losetup-getpass.patch
-Patch17:       %{name}-login-problems.patch
-BuildRequires: pam-devel >= 0.66
-BuildRequires: ncurses-devel >= 5.0
+Patch5:                %{name}-info.patch
+# from ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/ :
+Patch6:                %{name}-2.10m-mount-compat.patch
+Patch7:                %{name}-syscall.patch
+Patch8:                %{name}-raw.patch
+Patch9:                %{name}-gecos.patch
+Patch10:       %{name}-glibc.patch
+Patch11:       %{name}-posixsh.patch
+Patch12:       %{name}-ppc-hwclock.patch
+Patch13:       %{name}-no_multiline.patch
+Patch14:       %{name}-amd64.patch
+Patch15:       %{name}-dm_crypt.patch
+Patch16:       %{name}-blk.patch
+Patch17:       %{name}-managed.patch
+Patch18:       %{name}-page.patch
+Patch19:       %{name}-gcc4.patch
+# from http://www.citi.umich.edu/projects/nfsv4/linux/util-linux-patches/2.12-3/ :
+Patch20:       %{name}-2.12-01-nfs.dif
+Patch21:       %{name}-2.12-02-base-nfsv4.dif
+Patch22:       %{name}-2.12-03-krb5.dif
+Patch23:       %{name}-2.12-04-modify_mount_to_support_multiple_security_flavors.dif
+Patch24:       %{name}-2.12-05-mount_sloppy_fix.dif
+Patch25:       %{name}-2.12-06-redhat-nfs-mount.dif
+Patch26:       %{name}-2.12q-update-mtab-when-moving.patch
+Patch27:       %{name}-2.12q-use-update_mtab-for-fake.patch
+Patch28:       %{name}-2.12q-more-fake-checks-v2.patch
+Patch29:       %{name}-2.12q-update_mtab-fixes.patch
+Patch30:       %{name}-as_needed-fix.patch
+BuildRequires: cryptsetup-devel
 BuildRequires: gettext-devel
+%{?with_selinux:BuildRequires: libselinux-devel}
+%{!?with_uClibc:BuildRequires: ncurses-devel >= 5.0}
+%{!?with_uClibc:BuildRequires: pam-devel >= 0.79.0}
+BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: texinfo
-%if %{?BOOT:1}%{!?BOOT:0}
-BuildRequires: glibc-static
-%endif
-Requires:      pam >= 0.66
+%{!?with_uClibc:BuildRequires: zlib-devel}
+%{!?with_uClibc:Requires:      pam >= 0.79.0}
 Provides:      fdisk
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes:     cramfs
 Obsoletes:     util-linux-suids
+Conflicts:     shadow-extras < 1:4.0.3-6
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                debugcflags     -O1 -g
 
@@ -78,7 +95,7 @@ Linux-System erforderlich sind. Dazu geh
 'fdisk' und Systemprogramme wie 'logger'.
 
 %description -l es
-util-Linux contiene una gran variedad de utilitarios de sistema de
+util-linux contiene una gran variedad de utilitarios de sistema de
 bajo nivel necesarios a un sistema Linux funcional. Esto incluye,
 entre otras cosas, herramientas de configuración como fdisk y
 programas de sistema como login.
@@ -90,37 +107,62 @@ autres, les outils de configuration comme fdisk et des programmes
 systèmes comme logger.
 
 %description -l pl
-Util-linux zawiera wiele ró¿nych, niskopoziomowych narzêdzi
+util-linux zawiera wiele ró¿nych, niskopoziomowych narzêdzi
 systemowych niezbêdnych do prawid³owego dzia³ania Linuksa. W pakiecie
-znajduj± siê miêdzy innymi, narzêdzia konfiguracyjne takie jak fdisk i
-programy systemowe takie jak logger.
+znajduj± siê miêdzy innymi narzêdzia konfiguracyjne, takie jak fdisk i
+programy systemowe, takie jak logger.
 
 %description -l pt_BR
-util-Linux contém uma grande variedade de utilitários de sistema
-de baixo-nível necessários para um sistema Linux funcional. Isso
-inclui, entre outras coisas, ferramentas de configuração como fdisk
-e programas de sistema como login.
+util-linux contém uma grande variedade de utilitários de sistema de
+baixo-nível necessários para um sistema Linux funcional. Isso inclui,
+entre outras coisas, ferramentas de configuração como fdisk e
+programas de sistema como login.
+
+%description -l ru
+üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÂÏÌØÛÏÊ ÎÁÂÏÒ ÓÉÓÔÅÍÎÙÈ ÕÔÉÌÉÔ ÎÉÚËÏÇÏ ÕÒÏ×ÎÑ,
+ËÏÔÏÒÙÅ ÎÅÏÂÈÏÄÉÍÙ ÄÌÑ ÆÕÎËÃÉÏÎÉÒÏ×ÁÎÉÑ ÓÉÓÔÅÍÙ Linux. ïΠ×ËÌÀÞÁÅÔ, ×
+ÞÉÓÌÅ ÐÒÏÞÉÈ, ÉÎÓÔÒÕÍÅÎÔÙ ËÏÎÆÉÇÕÒÁÃÉÉ, ÔÁËÉÅ ËÁË fdisk, É ÓÉÓÔÅÍÎÙÅ
+ÐÒÏÇÒÁÍÍÙ, ÔÁËÉÅ ËÁË login.
 
 %description -l tr
 þlevsel durumdaki bir Linux sistemi için gerekli birçok alt düzey
 sistem araçlarýný içerir. Bunlar arasýnda fdisk gibi yapýlandýrma
 uygulamalarý ve logger gibi sistem programlarý sayýlabilir.
 
+%description -l uk
+ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÌÉËÉÊ ÎÁ¦ҠÓÉÓÔÅÍÎÉÈ ÕÔÉ̦ԠÎÉÚØËÏÇÏ Ò¦×ÎÑ, Ñ˦
+ÎÅÏÂȦÄΦ ÄÌÑ ÆÕÎËæÏÎÕ×ÁÎÎÑ ÓÉÓÔÅÍÉ Linux. ÷¦Î Í¦ÓÔÉÔØ, ÏËҦ͠¦ÎÛÉÈ,
+ËÏÎƦÇÕÒÁæÊΦ ¦ÎÓÔÒÕÍÅÎÔÉ (ÔÁ˦ ÑË fdisk) ÔÁ ÓÉÓÔÅÍΦ ÐÒÏÇÒÁÍÉ (ÔÁ˦
+ÑË login).
+
+%package -n blockdev
+Summary:       Support for blockdev
+Summary(pl):   Obs³uga blockdev
+Group:         Applications/System
+Requires(post,preun):  /sbin/chkconfig
+Requires:      coreutils
+Requires:      rc-scripts
+#Requires:     uname(release) >= 2.6
+
+%description -n blockdev
+The utility blockdev allows one to call block device ioctls from the
+command line. This package also includes initscript to set blockdev
+parameters at system startup.
+
+%description -n blockdev -l pl
+Narzêdzie blockdev pozwala na wywo³ania ioctl dla urz±dzeñ blokowych z
+linii poleceñ. Ten pakiet zawiera tak¿e skrypt inicjalizacyjny do
+ustawiania parametrów blockdev przy starcie systemu.
+
 %package -n losetup
 Summary:       Programs for setting up and configuring loopback devices
 Summary(de):   Programme zum Einrichten und Konfigurieren von Loopback-Geräten
 Summary(fr):   Programmes pour mettre en place et configurer les loopback
 Summary(pl):   Program do konfiguracji urz±dzenia blokowego loopback
+Summary(ru):   ðÒÏÇÒÁÍÍÙ ÄÌÑ ÎÁÓÔÒÏÊËÉ loopback-ÕÓÔÒÏÊÓÔ×
 Summary(tr):   Yerel-çevrim aygýtlarýnýn kurulmasý ve ayarlanmasý için programlar
+Summary(uk):   ðÒÏÇÒÁÍÉ ÄÌÑ ËÏÎƦÇÕÒÁ槠loopback-ÐÒÉÓÔÒϧ×
 Group:         Applications/System
-Group(de):     Applikationen/System
-Group(pl):     Aplikacje/System
-Release:       %{_release}@%{_kernel_series}
-%if %{_kernel24}
-Conflicts:     kernel < 2.3.0
-%else
-Conflicts:     kernel >= 2.3.0
-%endif
 
 %description -n losetup
 Linux supports a special block device called the loopback device,
@@ -148,15 +190,22 @@ p
 normale.
 
 %description -n losetup -l pl
-Linux ma wsparcie dla specjalnego urz±dzenia blokowego loopback, które
-mapuje normalny plik w wirtualne urz±dzenie blokowe. Pakiet ten
-zawiera program przy pomocy którego bêdziesz móg³ wykorzystaæ to
-urz±dzenie.
+Linux wspiera specjalne urz±dzenie blokowe loopback, które mapuje
+normalny plik w wirtualne urz±dzenie blokowe. Pakiet ten zawiera
+program, przy pomocy którego bêdziesz móg³ je skonfigurowaæ.
 
 Urz±dzenie blokowe loopback nie powinno byæ mylone z sieciowym
 interfejsem loopback, który jest konfigurowany przy pomocy polecenia
 ifconfig.
 
+%description -n losetup -l ru
+Linux ÐÏÄÄÅÒÖÉ×ÁÅÔ ÓÐÅÃÉÁÌØÎÏÅ ÂÌÏÞÎÏÅ ÕÓÔÒÏÊÓÔ×Ï, ÎÁÚÙ×ÁÅÍÏÅ
+loopback, ËÏÔÏÒÏÅ ÏÔÏÂÒÁÖÁÅÔ ÏÂÙÞÎÙÊ ÆÁÊÌ × ×ÉÒÔÕÁÌØÎÏÅ ÂÌÏÞÎÏÅ
+ÕÓÔÒÏÊÓÔ×Ï. üÔÏ ÐÏÚ×ÏÌÑÅÔ ÉÓÐÏÌØÚÏ×ÁÔØ ÆÁÊÌ ËÁË ×ÉÒÔÕÁÌØÎÕÀ ÆÁÊÌÏ×ÕÀ
+ÓÉÓÔÅÍÕ. Losetup ÉÓÐÏÌØÚÕÅÔÓÑ ÄÌÑ Ó×ÑÚÉ loopback-ÕÓÔÒÏÊÓÔ× Ó ÏÂÙÞÎÙÍÉ
+ÆÁÊÌÁÍÉ ÉÌÉ ÂÌÏÞÎÙÍÉ ÕÓÔÒÏÊÓÔ×ÁÍÉ, ÄÌÑ ÏÔÓÏÅÄÉÎÅÎÉÑ loopback-ÕÓÔÒÏÊÓÔ×
+É ÚÁÐÒÏÓÏ× ÉÈ ÓÔÁÔÕÓÁ.
+
 %description -n losetup -l tr
 Linux özel bir blok aygýt olan yerel-çevrim aygýtýný (loopback device)
 destekler. Bu aygýt normal bir dosyanýn sanal bir blok aygýtý üzerine
@@ -165,24 +214,29 @@ aras
 programlar içerir. Blok yerel-çevrim aygýtý ifconfig komutu ile
 yapýlandýrýlan að yerel-çevrim aygýtý ile karýþtýrýlmamalýdýr.
 
+%description -n losetup -l uk
+Linux Ð¦ÄÔÒÉÍÕ¤ ÓÐÅæÁÌØÎÉÊ ÂÌÏÞÎÉÊ ÐÒÉÓÔÒ¦Ê, loopback, ÑËÉÊ
+צÄÏÂÒÁÖÕ¤ Ú×ÉÞÁÊÎÉÊ ÆÁÊ̠ՠצÒÔÕÁÌØÎÉÊ ÂÌÏÞÎÉÊ ÐÒÉÓÔÒ¦Ê. ãÅ ÄÏÚ×ÏÌѤ
+×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÆÁÊÌ ÑˠצÒÔÕÁÌØÎÕ ÆÁÊÌÏ×Õ ÓÉÓÔÅÍÕ. Losetup
+×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÄÌÑ Ú×'ÑÚËÕ loopback-ÐÒÉÓÔÒϧנڦ Ú×ÉÞÁÊÎÉÍÉ ÆÁÊÌÁÍÉ
+ÁÂÏ ÂÌÏÞÎÉÍÉ ÐÒÉÓÔÒÏÑÍÉ, ÄÌѠצÄ'¤ÄÎÁÎÎÑ loopback-ÐÒÉÓÔÒϧנÔÁ
+ÚÁÐÒÏӦנ§È ÓÔÁÎÕ.
+
 %package -n mount
 Summary:       Programs for mounting and unmounting filesystems
-Summary(de):   Programme zum Montieren und Abmontieren von Dateisystemen
-Summary(fr):   Programme pour monter et démonter des systèmes de fichiers.
-Summary(pl):   Programy do montowania i odmontowywania systemu plików
+Summary(de):   Programme zum montieren und abmontieren von Dateisystemen
+Summary(fr):   Programme pour monter et démonter des systèmes de fichiers
+Summary(pl):   Programy do montowania i odmontowywania systemów plików
+Summary(ru):   ðÒÏÇÒÁÍÍÙ ÄÌÑ ÍÏÎÔÉÒÏ×ÁÎÉÑ É ÒÁÚÍÏÎÔÉÒÏ×ÁÎÉÑ ÆÁÊÌÏ×ÙÈ ÓÉÓÔÅÍ
 Summary(tr):   Dosya sistemlerini baðlamak ve çözmek için programlar
+Summary(uk):   ðÒÏÇÒÁÍÉ ÄÌÑ ÍÏÎÔÕ×ÁÎÎÑ ÔÁ ÒÏÚÍÏÎÔÕ×ÁÎÎÑ ÆÁÊÌÏ×ÉÈ ÓÉÓÔÅÍ
 Group:         Applications/System
-Group(de):     Applikationen/System
-Group(pl):     Aplikacje/System
-Release:       %{_release}@%{_kernel_series}
-%if %{_kernel24}
-Conflicts:     kernel < 2.3.0
-%else
-Conflicts:     kernel >= 2.3.0
-%endif
+Requires:      cryptsetup >= 0.2-1.pre1.4
+Requires:      libgcrypt >= 1.2.0-6
+Requires:      libgpg-error >= 1.0-4
 
 %description -n mount
-Mount is used for adding new filesystems, both local and networked, to
+mount is used for adding new filesystems, both local and networked, to
 your current directory structure. The filesystems must already exist
 for this to work. It can also be used to change the access types the
 kernel uses for already-mounted filesystems.
@@ -190,7 +244,7 @@ kernel uses for already-mounted filesystems.
 This package is critical for the functionality of your system.
 
 %description -n mount -l de
-Mount wird zum Hinzufügen neuer Dateisysteme (lokal und im Netzwerk)
+mount wird zum Hinzufügen neuer Dateisysteme (lokal und im Netzwerk)
 zu Ihrer aktuellen Verzeichnisstruktur verwendet. Die Dateisysteme
 müssen bereits existieren. Außerdem können die Zugriffstypen geändert
 werden, die der Kernel für bereits montierte Dateisysteme verwendet.
@@ -206,11 +260,20 @@ changer les types d'acc
 Ce paquetage est critique pour le fonctionnement de votre système.
 
 %description -n mount -l pl
-Program mount jest u¿ywany przez system do montowania systemu plików,
+Program mount jest u¿ywany przez system do montowania systemów plików,
 zarówno lokalnych jak i sieciowych (np. NFS).
 
 Pakiet ten jest niezbêdny do prawid³owej pracy twojego Linuksa.
 
+%description -n mount -l ru
+ðÁËÅÔ mount ÓÏÄÅÒÖÉÔ ÐÒÏÇÒÁÍÍÙ mount, umount, swapon É swapoff. æÁÊÌÙ
+× ×ÁÛÅÊ ÓÉÓÔÅÍÅ ÏÒÇÁÎÉÚÏ×ÁÎÙ × ×ÉÄÅ ÏÄÎÏÇÏ ÂÏÌØÛÏÇÏ ÄÅÒÅ×Á ÉÌÉ
+ÉÅÒÁÒÈÉÉ. üÔÉ ÆÁÊÌÙ ÍÏÇÕÔ ÂÙÔØ ÒÁÚÍÅÝÅÎÙ ÎÁ ÒÁÚÎÙÈ ÕÓÔÒÏÊÓÔ×ÁÈ.
+ëÏÍÁÎÄÁ mount ÐÒÉÓÏÅÄÉÎÑÅÔ ÆÁÊÌÏ×ÕÀ ÓÉÓÔÅÍÕ ÎÁ ÎÅËÏÔÏÒÏÍ ÕÓÔÒÏÊÓÔ×Å Ë
+ÄÅÒÅ×Õ ÆÁÊÌÏ× ×ÁÛÅÊ ÓÉÓÔÅÍÙ. ëÏÍÁÎÄÁ umount ÏÔÓÏÅÄÉÎÑÅÔ ÆÁÊÌÏ×ÕÀ
+ÓÉÓÔÅÍÕ ÏÔ ÄÅÒÅ×Á. Swapon É swapoff, ÓÏÏÔ×ÅÔÓÔ×ÅÎÎÏ, ÒÁÚÒÅÛÁÅÔ É
+ÚÁÐÒÅÝÁÅÔ Ó×ÏÐÐÉÎÇ × ÏÐÒÅÄÅÌÅÎÎÙÅ ÆÁÊÌÙ É ÕÓÔÒÏÊÓÔ×Á.
+
 %description -n mount -l tr
 mount, hem yerel hem de að dosya sistemlerinin dizin yapýsýna
 eklenmesi için kullanýlýr. Bunun için baðlanacak dosya sisteminin
@@ -218,12 +281,19 @@ eklenmesi i
 dosya sistemlerine eriþimini deðiþtirmek için de kullanýlýr. Bu paket
 sisteminizin iþlevselliði açýsýndan kritiktir.
 
+%description -n mount -l uk
+ðÁËÅÔ mount Í¦ÓÔÉÔØ ÐÒÏÇÒÁÍÉ mount, umount, swapon ÔÁ swapoff. æÁÊÌÉ Õ
+×ÁۦʠÓÉÓÔÅͦ ÏÒÇÁΦÚÏ×ÁΦ Õ ×ÉÇÌÑĦ ÏÄÎÏÇÏ ×ÅÌÉËÏÇÏ ÄÅÒÅ×Á ÁÂÏ
+¦¤ÒÁÒȦ§. ã¦ ÆÁÊÌÉ ÍÏÖÕÔØ ÂÕÔÉ ÒÏÚÔÁÛÏ×ÁΦ ÎÁ Ò¦ÚÎÉÈ ÐÒÉÓÔÒÏÑÈ.
+ëÏÍÁÎÄÁ mount Ð¦Ä'¤ÄÎÕ¤ ÆÁÊÌÏ×Õ ÓÉÓÔÅÍÕ ÎÁ ÄÅÑËÏÍÕ ÐÒÉÓÔÒϧ ÄÏ ÄÅÒÅ×Á
+ÆÁÊ̦נ×ÁÛϧ ÓÉÓÔÅÍÉ. ëÏÍÁÎÄÁ umount ×¦Ä'¤ÄÎÕ¤ ÆÁÊÌÏ×Õ ÓÉÓÔÅÍՠצÄ
+ÄÅÒÅ×Á. Swapon ÔÁ swapoff, ×¦ÄÐÏצÄÎÏ, ÄÏÚ×ÏÌѤ ÔÁ ÚÁÂÏÒÏÎÀ¤ Ó×ÏЦÎÇ Õ
+×ÉÚÎÁÞÅΦ ÆÁÊÌÉ ÁÂÏ ÐÒÉÓÔÒϧ.
+
 %package chkdupexe
 Summary:       chkdupexe - find duplicate executables
 Summary(pl):   chkdupexe odszukuje powtarzaj±ce siê pliki uruchamialne
 Group:         Applications/System
-Group(de):     Applikationen/System
-Group(pl):     Aplikacje/System
 
 %description chkdupexe
 chkdupexe will scan the union of $PATH and a hardcoded list of common
@@ -242,14 +312,12 @@ Summary(fr):      Configure le pilote du port parall
 Summary(pl):   Program do konfigurowania sterownika portu równoleg³ego
 Summary(tr):   Çekirdeðin paralel baðlantý noktasý sürücüsünü ayarlar
 Group:         Applications/System
-Group(de):     Applikationen/System
-Group(pl):     Aplikacje/System
 
 %description -n tunelp
-`tunelp' aids in configuring the kernel parallel port driver.
+tunelp aids in configuring the kernel parallel port driver.
 
 %description -n tunelp -l de
-TUNELP hilft bei der Konfiguration des Kernel-Parallelport-Treibers.
+tunelp hilft bei der Konfiguration des Kernel-Parallelport-Treibers.
 
 %description -n tunelp -l fr
 « tunelp » aide à configurer le pilote du noyau pour le port
@@ -265,10 +333,8 @@ Paralel ba
 Summary:       login is used when signing onto a system
 Summary(pl):   login jest u¿ywany do rozpoczêcia pracy w systemie
 Group:         Applications/System
-Group(de):     Applikationen/System
-Group(pl):     Aplikacje/System
+Requires:      pam >= 0.77.3
 Obsoletes:     heimdal-login
-Requires:      pam-pld
 
 %description -n login
 login is used when signing onto a system. It can also be used to
@@ -284,8 +350,6 @@ do prze
 Summary:       Alternative Linux getty
 Summary(pl):   Alternatywny getty
 Group:         Applications/System
-Group(de):     Applikationen/System
-Group(pl):     Aplikacje/System
 Requires:      login
 
 %description -n agetty
@@ -298,9 +362,8 @@ agetty jest prostym linuksowym getty z obs
 Summary:       Support for raw-devices
 Summary(pl):   Obs³uga raw-device'ów
 Group:         Applications/System
-Group(de):     Applikationen/System
-Group(pl):     Aplikacje/System
-Prereq:                /sbin/chkconfig
+Requires(post,preun):  /sbin/chkconfig
+Requires:      rc-scripts
 
 %description -n rawdevices
 Support for raw-devices.
@@ -308,16 +371,6 @@ Support for raw-devices.
 %description -n rawdevices -l pl
 Obs³uga raw-device'ów.
 
-%if %{?BOOT:1}%{!?BOOT:0}
-%package BOOT
-Summary:       util-linux for bootdisk
-Group:         Applications/System
-Group(de):     Applikationen/System
-Group(pl):     Aplikacje/System
-
-%description BOOT
-%endif
-
 %prep
 %setup -q -a1
 %patch0 -p1
@@ -325,11 +378,7 @@ Group(pl): Aplikacje/System
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%if %{_kernel24}
-%{!?_without_crypto:%patch14 -p1}
-%else
-%{!?_without_crypto:%patch5 -p1}
-%endif
+%patch5 -p1
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
@@ -337,77 +386,117 @@ Group(pl):       Aplikacje/System
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
-%patch13 -p1
+%patch13 -p0
+%patch14 -p1
 %patch15 -p1
-%if !%{_kernel24}
-%{!?_without_crypto:%patch16 -p1}
-%endif
+%patch16 -p1
 %patch17 -p1
+%patch18 -p1
+%patch19 -p1
+%patch20 -p1
+%patch21 -p1
+%patch22 -p1
+%patch23 -p1
+%patch24 -p1
+%patch25 -p1
+%patch26 -p0
+%patch27 -p1
+%patch28 -p0
+%patch29 -p1
+%patch30 -p1
 
 %build
-CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses -I%{_kernelsrcdir}/include"
-%configure2_13
+CC="%{__cc}"
+LDFLAGS="%{rpmldflags}"
+CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+export CC CFLAGS LDFLAGS
+# using %%configure2_13 isn't very wise here, it is not autoconf generated
+# configure and it doesn't take any parameters
+./configure
+
+%{?with_uClibc:echo 'char *nl_langinfo (nl_item x){return "";}' >> misc-utils/cal.c}
+%{__make} \
+       OPT="%{rpmcflags}" \
+       MOREHELPDIR=%{_datadir}/misc \
+       %{!?with_uClibc:ADD_RAW="yes"} \
+       %{?with_uClibc:HAVE_RAW_H="no" HAVE_PAM="no"} \
+       %{!?with_selinux:HAVE_SELINUX="no"}
 
-%if %{?BOOT:1}%{!?BOOT:0}
-%{__make} -C fdisk fdisk OPT="%{rpmcflags}" LDFLAGS="-static"
-mv -f fdisk/fdisk fdisk-BOOT
-%{__make} -C fdisk clean
+%ifarch ppc
+%{__cc} %{rpmcflags} %{rpmldflags} clock-ppc.c -o clock-ppc
 %endif
 
-%{__make} OPT="%{rpmcflags}" \
-       MOREHELPDIR=%{_datadir}/misc \
-       ADD_RAW="yes"
-
-(cd sys-utils; makeinfo ipc.texi)
+cd sys-utils
+makeinfo ipc.texi
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%if %{?BOOT:1}%{!?BOOT:0}
-install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin
-install fdisk-BOOT $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin/fdisk
-%endif
-
-install -d $RPM_BUILD_ROOT/{bin,sbin,etc/{pam.d,logrotate,rc.d/init.d,sysconfig}} \
+install -d $RPM_BUILD_ROOT{/bin,/sbin,/etc/{pam.d,logrotate,rc.d/init.d,sysconfig}} \
        $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_infodir},%{_datadir}/misc} \
        $RPM_BUILD_ROOT{%{_examplesdir},%{_mandir}/man{1,5,6,8}}
 
 %{__make} install \
-       DESTDIR="$RPM_BUILD_ROOT" \
+       DESTDIR=$RPM_BUILD_ROOT \
        INSTALLSUID="install -m 755" \
        MOREHELPDIR=$RPM_BUILD_ROOT%{_datadir}/misc \
        GETOPTDIR=$RPM_BUILD_ROOT%{_examplesdir}/getopt \
        USRGAMESDIR=$RPM_BUILD_ROOT%{_bindir} \
        USE_TTY_GROUP=no \
-       ADD_RAW="yes"
+       %{!?with_selinux:HAVE_SELINUX="no"} \
+       %{!?with_uClibc:ADD_RAW="yes"} \
+       %{?with_uClibc:HAVE_RAW_H="no" HAVE_PAM="no"}
 
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/login
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/rawdevices
 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/rawdevices
+install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/blockdev
+install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/blockdev
 
-install -d $RPM_BUILD_ROOT/{etc/security,var/lock}
+install -d $RPM_BUILD_ROOT{/etc/security,/var/lock}
 
-touch $RPM_BUILD_ROOT/etc/security/blacklist.login
+> $RPM_BUILD_ROOT/etc/security/blacklist.login
 
 :> $RPM_BUILD_ROOT/var/lock/wtmpxlock
 
+%ifarch ppc
+mv -f $RPM_BUILD_ROOT/sbin/hwclock $RPM_BUILD_ROOT/sbin/hwclock.rtc
+install clock-ppc $RPM_BUILD_ROOT/sbin/hwclock.adb
+#yneed fix:
+# hwclock.adb is for PowerMac (default)
+# hwclock.rtc is for RS/6000 (PreP,CHRP)
+ln -sf hwclock.adb $RPM_BUILD_ROOT/sbin/hwclock
+%endif
+
 ln -sf hwclock $RPM_BUILD_ROOT/sbin/clock
 echo '.so hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/man8/clock.8
 
 ln -sf swapon $RPM_BUILD_ROOT/sbin/swapoff
 
 for d in cs de es fi fr hu id it ja ko nl pl ; do
-    for m in man1 man5 man8 ; do
-       if [ -d man/$d/$m ]; then
-           install -d $RPM_BUILD_ROOT%{_mandir}/$d/$m
-           install man/$d/$m/* $RPM_BUILD_ROOT%{_mandir}/$d/$m
-       fi
-    done
+       for m in man1 man5 man8 ; do
+               if [ -d man/$d/$m ]; then
+                       install -d $RPM_BUILD_ROOT%{_mandir}/$d/$m
+                       install man/$d/$m/* $RPM_BUILD_ROOT%{_mandir}/$d/$m
+               fi
+       done
 done
 
-gzip -9nf */README.*
+# cleanup, remove files not included in package
+rm -f $RPM_BUILD_ROOT%{_bindir}/{chfn,chsh,newgrp} \
+       $RPM_BUILD_ROOT%{_sbindir}/{vifr,vipw} \
+       $RPM_BUILD_ROOT%{_mandir}/man1/{chfn,chsh,newgrp,sg}.1 \
+       $RPM_BUILD_ROOT%{_mandir}/man8/{sln,vigr,vipw}.8 \
+       $RPM_BUILD_ROOT%{_mandir}/*/man1/{chfn,chsh,clear,last,mesg,newgrp,od,passwd,reset,sg,wall}.1 \
+       $RPM_BUILD_ROOT%{_mandir}/*/man8/{display-services,fast*,halt,initctl,need,provide,reboot,shutdown,simpleinit,sln,vigr,vipw}.8
+%ifnarch %{ix86}
+rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/{ramsize,rdev,rootflags,vidmode}.8
+%endif
+%ifarch sparc sparc64
+rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/{cfdisk,sfdisk}.8
+%endif
 
-%find_lang %{name}
+%{!?with_uClibc:%find_lang %{name}}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -418,26 +507,38 @@ rm -rf $RPM_BUILD_ROOT
 %postun
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
+%post -n blockdev
+/sbin/chkconfig --add blockdev
+%service blockdev restart
+
+%preun -n blockdev
+if [ "$1" = "0" ]; then
+       %service blockdev stop
+       /sbin/chkconfig --del blockdev
+fi
+
 %post -n rawdevices
 /sbin/chkconfig --add rawdevices
-if [ -f /var/lock/subsys/rawdevices ]; then
-       /etc/rc.d/init.d/rawdevices restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/rawdevices start\" to start rawdevices."
-fi
+%service rawdevices restart
 
 %preun -n rawdevices
-if [ -f /var/lock/subsys/rawdevices ]; then
-       /etc/rc.d/init.d/rawdevices stop 1>&2
+if [ "$1" = "0" ]; then
+       %service rawdevices stop
+       /sbin/chkconfig --del rawdevices
 fi
-/sbin/chkconfig --del rawdevices
 
-%files -f %{name}.lang
+%files %{!?with_uClibc:-f %{name}.lang}
 %defattr(644,root,root,755)
-%doc */README.*
+%doc */README.* text-utils/LICENSE.pg
 
 %attr(755,root,root) /sbin/clock
-%attr(755,root,root) /sbin/hwclock
+%ifarch ppc
+%attr(755,root,root) %config(noreplace) %verify(not link) /sbin/hwclock
+%attr(755,root,root) /sbin/hwclock.adb
+%attr(755,root,root) /sbin/hwclock.rtc
+%else
+%attr(755,root,root) /sbin/hwclock*
+%endif
 
 %{_mandir}/man8/clock.8*
 %{_mandir}/man8/hwclock.8*
@@ -446,43 +547,47 @@ fi
 %lang(ja) %{_mandir}/ja/man8/clock.8*
 %lang(ja) %{_mandir}/ja/man8/hwclock.8*
 
-%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/fdprm
-
-%attr(0755,root,root) /bin/arch
-%attr(0755,root,root) /bin/dmesg
-%attr(0755,root,root) /bin/kill
-%attr(0755,root,root) /bin/more
-%attr(0755,root,root) /sbin/blockdev
-%attr(0755,root,root) /sbin/mkfs
-%attr(0755,root,root) /sbin/mkswap
-%attr(0755,root,root) /sbin/ctrlaltdel
-%attr(0755,root,root) /sbin/elvtune
-%attr(0755,root,root) %{_bindir}/cal
-%attr(0755,root,root) %{_bindir}/col
-%attr(0755,root,root) %{_bindir}/colcrt
-%attr(0755,root,root) %{_bindir}/colrm
-%attr(0755,root,root) %{_bindir}/column
-%attr(0755,root,root) %{_bindir}/ddate
-%attr(0755,root,root) %{_bindir}/fdformat
-%attr(0755,root,root) %{_bindir}/getopt
-%attr(0755,root,root) %{_bindir}/hexdump
-%attr(0755,root,root) %{_bindir}/ipcrm
-%attr(0755,root,root) %{_bindir}/ipcs
-%attr(0755,root,root) %{_bindir}/isosize
-%attr(0755,root,root) %{_bindir}/logger
-%attr(0755,root,root) %{_bindir}/look
-%attr(0755,root,root) %{_bindir}/mcookie
-%attr(0755,root,root) %{_bindir}/namei
-%attr(0755,root,root) %{_bindir}/renice
-%attr(0755,root,root) %{_bindir}/rev
-%attr(0755,root,root) %{_bindir}/script
-%attr(0755,root,root) %{_bindir}/setsid
-%attr(0755,root,root) %{_bindir}/setfdprm
-%attr(0755,root,root) %{_bindir}/setterm
-%attr(0755,root,root) %{_bindir}/ul
-%attr(0755,root,root) %{_bindir}/whereis
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fdprm
+
+%attr(755,root,root) /bin/arch
+%attr(755,root,root) /bin/dmesg
+%attr(755,root,root) /bin/kill
+%{!?with_uClibc:%attr(755,root,root) /bin/more}
+%attr(755,root,root) /sbin/mkfs
+%attr(755,root,root) /sbin/mkswap
+%attr(755,root,root) /sbin/ctrlaltdel
+%attr(755,root,root) /sbin/elvtune
+%attr(755,root,root) %{_bindir}/cal
+%attr(755,root,root) %{_bindir}/col
+%attr(755,root,root) %{_bindir}/colcrt
+%attr(755,root,root) %{_bindir}/colrm
+%attr(755,root,root) %{_bindir}/column
+%attr(755,root,root) %{_bindir}/ddate
+%attr(755,root,root) %{_bindir}/fdformat
+%attr(755,root,root) %{_bindir}/flock
+%attr(755,root,root) %{_bindir}/getopt
+%attr(755,root,root) %{_bindir}/hexdump
+%attr(755,root,root) %{_bindir}/ipcrm
+%attr(755,root,root) %{_bindir}/ipcs
+%attr(755,root,root) %{_bindir}/isosize
+%attr(755,root,root) %{_bindir}/line
+%attr(755,root,root) %{_bindir}/logger
+%attr(755,root,root) %{_bindir}/look
+%attr(755,root,root) %{_bindir}/mcookie
+%attr(755,root,root) %{_bindir}/namei
+%{!?with_uClibc:%attr(755,root,root) %{_bindir}/pg}
+%attr(755,root,root) %{_bindir}/renice
+%attr(755,root,root) %{_bindir}/rev
+%attr(755,root,root) %{_bindir}/script
+%attr(755,root,root) %{_bindir}/setsid
+%attr(755,root,root) %{_bindir}/setfdprm
+%attr(755,root,root) %{_bindir}/rename
+%{!?with_uClibc:%attr(755,root,root) %{_bindir}/setterm}
+%{!?with_uClibc:%attr(755,root,root) %{_bindir}/ul}
+%attr(755,root,root) %{_bindir}/whereis
 %attr(2755,root,tty) %{_bindir}/write
-%attr(0755,root,root) %{_sbindir}/readprofile
+%attr(755,root,root) %{_bindir}/tailf
+%attr(755,root,root) %{_sbindir}/readprofile
 
 %{_mandir}/man1/arch.1*
 %{_mandir}/man1/cal.1*
@@ -491,23 +596,27 @@ fi
 %{_mandir}/man1/colrm.1*
 %{_mandir}/man1/column.1*
 %{_mandir}/man1/ddate.1*
+%{_mandir}/man1/flock.1*
 %{_mandir}/man1/getopt.1*
 %{_mandir}/man1/hexdump.1*
 %{_mandir}/man1/kill.1*
+%{_mandir}/man1/line.1*
 %{_mandir}/man1/logger.1*
 %{_mandir}/man1/look.1*
 %{_mandir}/man1/mcookie.1*
-%{_mandir}/man1/more.1*
+%{!?with_uClibc:%{_mandir}/man1/more.1*}
 %{_mandir}/man1/namei.1*
+%{!?with_uClibc:%{_mandir}/man1/pg.1*}
 %{_mandir}/man1/readprofile.1*
 %{_mandir}/man1/rev.1*
+%{_mandir}/man1/rename.1*
 %{_mandir}/man1/script.1*
-%{_mandir}/man1/setterm.1*
-%{_mandir}/man1/ul.1*
+%{!?with_uClibc:%{_mandir}/man1/setterm.1*}
+%{!?with_uClibc:%{_mandir}/man1/ul.1*}
 %{_mandir}/man1/whereis.1*
 %{_mandir}/man1/write.1*
+%{_mandir}/man1/tailf.1*
 
-%{_mandir}/man8/blockdev.8*
 %{_mandir}/man8/ctrlaltdel.8*
 %{_mandir}/man8/cytune.8*
 %{_mandir}/man8/dmesg.8*
@@ -521,6 +630,8 @@ fi
 %{_mandir}/man8/setfdprm.8*
 %{_mandir}/man8/setsid.8*
 
+%lang(cs) %{_mandir}/cs/man1/write.1*
+
 %lang(de) %{_mandir}/de/man1/kill.1*
 %lang(de) %{_mandir}/de/man1/more.1*
 %lang(de) %{_mandir}/de/man1/write.1*
@@ -565,6 +676,7 @@ fi
 %lang(fr) %{_mandir}/fr/man1/col.1*
 %lang(fr) %{_mandir}/fr/man1/kill.1*
 %lang(fr) %{_mandir}/fr/man1/more.1*
+%lang(fr) %{_mandir}/fr/man1/rev.1*
 %lang(fr) %{_mandir}/fr/man1/whereis.1*
 %lang(fr) %{_mandir}/fr/man1/write.1*
 
@@ -600,8 +712,17 @@ fi
 %lang(id) %{_mandir}/id/man8/fdformat.8*
 
 %lang(it) %{_mandir}/it/man1/arch.1*
+%lang(it) %{_mandir}/it/man1/cal.1*
 %lang(it) %{_mandir}/it/man1/kill.1*
-
+%lang(it) %{_mandir}/it/man1/rename.1*
+%lang(it) %{_mandir}/it/man1/rev.1*
+
+%lang(it) %{_mandir}/it/man8/ctrlaltdel.8*
+%lang(it) %{_mandir}/it/man8/dmesg.8*
+%lang(it) %{_mandir}/it/man8/fdformat.8*
+%lang(it) %{_mandir}/it/man8/ipcrm.8*
+%lang(it) %{_mandir}/it/man8/ipcs.8*
+%lang(it) %{_mandir}/it/man8/mkfs.8*
 %lang(it) %{_mandir}/it/man8/mkswap.8*
 %lang(it) %{_mandir}/it/man8/setsid.8*
 
@@ -615,12 +736,15 @@ fi
 %lang(ja) %{_mandir}/ja/man1/getopt.1*
 %lang(ja) %{_mandir}/ja/man1/hexdump.1*
 %lang(ja) %{_mandir}/ja/man1/kill.1*
+%lang(ja) %{_mandir}/ja/man1/line.1*
 %lang(ja) %{_mandir}/ja/man1/logger.1*
 %lang(ja) %{_mandir}/ja/man1/look.1*
 %lang(ja) %{_mandir}/ja/man1/mcookie.1*
 %lang(ja) %{_mandir}/ja/man1/more.1*
 %lang(ja) %{_mandir}/ja/man1/namei.1*
 %lang(ja) %{_mandir}/ja/man1/readprofile.1*
+%lang(ja) %{_mandir}/ja/man1/rename.1*
+%lang(ja) %{_mandir}/ja/man1/replay.1*
 %lang(ja) %{_mandir}/ja/man1/rev.1*
 %lang(ja) %{_mandir}/ja/man1/script.1*
 %lang(ja) %{_mandir}/ja/man1/setterm.1*
@@ -628,7 +752,6 @@ fi
 %lang(ja) %{_mandir}/ja/man1/whereis.1*
 %lang(ja) %{_mandir}/ja/man1/write.1*
 
-%lang(ja) %{_mandir}/ja/man8/blockdev.8*
 %lang(ja) %{_mandir}/ja/man8/ctrlaltdel.8*
 %lang(ja) %{_mandir}/ja/man8/cytune.8*
 %lang(ja) %{_mandir}/ja/man8/dmesg.8*
@@ -664,7 +787,7 @@ fi
 %lang(ko) %{_mandir}/ko/man1/ul.1*
 %lang(ko) %{_mandir}/ko/man1/whereis.1*
 %lang(ko) %{_mandir}/ko/man1/write.1*
+
 %lang(ko) %{_mandir}/ko/man8/ctrlaltdel.8*
 %lang(ko) %{_mandir}/ko/man8/dmesg.8*
 %lang(ko) %{_mandir}/ko/man8/fdformat.8*
@@ -686,6 +809,7 @@ fi
 %lang(pl) %{_mandir}/pl/man1/hexdump.1*
 %lang(pl) %{_mandir}/pl/man1/kill.1*
 %lang(pl) %{_mandir}/pl/man1/look.1*
+%lang(pl) %{_mandir}/pl/man1/logger.1*
 %lang(pl) %{_mandir}/pl/man1/more.1*
 %lang(pl) %{_mandir}/pl/man1/rev.1*
 %lang(pl) %{_mandir}/pl/man1/script.1*
@@ -705,18 +829,22 @@ fi
 
 %dir %{_examplesdir}/getopt
 %attr(755,root,root) %{_examplesdir}/getopt/*
-%{_datadir}/misc/more.help
 
-%attr(755,root,root) /sbin/cfdisk
 %attr(755,root,root) /sbin/fdisk
 %attr(755,root,root) /sbin/fsck.minix
 %attr(755,root,root) /sbin/mkfs.minix
+%ifnarch sparc sparc64
+%{!?with_uClibc:%attr(755,root,root) /sbin/cfdisk}
 %attr(755,root,root) /sbin/sfdisk
+%endif
 
-%{_mandir}/man8/cfdisk.8*
 %{_mandir}/man8/fdisk.8*
+%ifnarch sparc sparc64
+%{!?with_uClibc:%{_mandir}/man8/cfdisk.8*}
 %{_mandir}/man8/sfdisk.8*
+%endif
 %{_mandir}/man8/fsck.minix.8*
+%{_mandir}/man8/mkfs.bfs.8*
 %{_mandir}/man8/mkfs.minix.8*
 %{_mandir}/man8/mkfs.8*
 
@@ -725,21 +853,28 @@ fi
 %lang(es) %{_mandir}/es/man8/mkfs.minix.8*
 %lang(es) %{_mandir}/es/man8/mkfs.8*
 
-%lang(fr) %{_mandir}/fr/man8/cfdisk.8*
 %lang(fr) %{_mandir}/fr/man8/fdisk.8*
+%ifnarch sparc sparc64
+%{!?with_uClibc:%lang(fr) %{_mandir}/fr/man8/cfdisk.8*}
 %lang(fr) %{_mandir}/fr/man8/sfdisk.8*
+%endif
 %lang(fr) %{_mandir}/fr/man8/mkfs.minix.8*
 %lang(fr) %{_mandir}/fr/man8/mkfs.8*
 
 %lang(hu) %{_mandir}/hu/man8/mkfs.8*
 
-%lang(it) %{_mandir}/it/man8/cfdisk.8*
 %lang(it) %{_mandir}/it/man8/fdisk.8*
+%ifnarch sparc sparc64
+%{!?with_uClibc:%lang(it) %{_mandir}/it/man8/cfdisk.8*}
+%endif
 
-%lang(ja) %{_mandir}/ja/man8/cfdisk.8*
 %lang(ja) %{_mandir}/ja/man8/fdisk.8*
+%ifnarch sparc sparc64
+%{!?with_uClibc:%lang(ja) %{_mandir}/ja/man8/cfdisk.8*}
 %lang(ja) %{_mandir}/ja/man8/sfdisk.8*
+%endif
 %lang(ja) %{_mandir}/ja/man8/fsck.minix.8*
+%lang(ja) %{_mandir}/ja/man8/mkfs.bfs.8*
 %lang(ja) %{_mandir}/ja/man8/mkfs.minix.8*
 %lang(ja) %{_mandir}/ja/man8/mkfs.8*
 
@@ -753,6 +888,10 @@ fi
 %lang(pl) %{_mandir}/pl/man8/mkfs.minix.8*
 %lang(pl) %{_mandir}/pl/man8/mkfs.8*
 
+%{!?with_uClibc:%attr(755,root,root) /sbin/fsck.cramfs}
+%{!?with_uClibc:%attr(755,root,root) /sbin/mkfs.cramfs}
+%attr(755,root,root) /sbin/mkfs.bfs
+
 %attr(755,root,root) %{_bindir}/cytune
 
 %ifarch %{ix86}
@@ -796,12 +935,20 @@ fi
 
 %ghost /var/lock/wtmpxlock
 
+%files -n blockdev
+%defattr(644,root,root,755)
+%attr(754,root,root) /etc/rc.d/init.d/blockdev
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/blockdev
+%attr(755,root,root) /sbin/blockdev
+%{_mandir}/man8/blockdev.8*
+%lang(ja) %{_mandir}/ja/man8/blockdev.8*
+
 %files -n mount
 %defattr(644,root,root,755)
 
 %attr(4755,root,root) /bin/mount
 %attr(4755,root,root) /bin/umount
-%{?_with_pivot_root:%attr(755,root,root) /sbin/pivot_root}
+%attr(755,root,root) /sbin/pivot_root
 %attr(755,root,root) /sbin/swapon
 %attr(755,root,root) /sbin/swapoff
 
@@ -810,7 +957,7 @@ fi
 
 %{_mandir}/man8/mount.8*
 %{_mandir}/man8/umount.8*
-%{?_with_pivot_root:%{_mandir}/man8/pivot_root.8*}
+%{_mandir}/man8/pivot_root.8*
 %{_mandir}/man8/swapon.8*
 %{_mandir}/man8/swapoff.8*
 
@@ -851,7 +998,7 @@ fi
 
 %lang(ja) %{_mandir}/ja/man8/mount.8*
 %lang(ja) %{_mandir}/ja/man8/umount.8*
-%{?_with_pivot_root:%lang(ja) %{_mandir}/ja/man8/pivot_root.8*}
+%lang(ja) %{_mandir}/ja/man8/pivot_root.8*
 %lang(ja) %{_mandir}/ja/man8/swapon.8*
 %lang(ja) %{_mandir}/ja/man8/swapoff.8*
 
@@ -900,40 +1047,39 @@ fi
 %lang(ja) %{_mandir}/ja/man8/tunelp.8*
 %lang(pl) %{_mandir}/pl/man8/tunelp.8*
 
+%if !%{with uClibc}
 %files -n login
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not mtime size md5) /etc/pam.d/login
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.login
-%attr(0755,root,root) /bin/login
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/login
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.login
+%attr(755,root,root) /bin/login
 
 %{_mandir}/man1/login.1*
 %lang(de) %{_mandir}/de/man1/login.1*
 %lang(es) %{_mandir}/es/man1/login.1*
 %lang(hu) %{_mandir}/hu/man1/login.1*
 %lang(id) %{_mandir}/id/man1/login.1*
+%lang(it) %{_mandir}/it/man1/login.1*
 %lang(ja) %{_mandir}/ja/man1/login.1*
 %lang(ko) %{_mandir}/ko/man1/login.1*
 %lang(pl) %{_mandir}/pl/man1/login.1*
+%endif
 
 %files -n agetty
 %defattr(644,root,root,755)
-%attr(0755,root,root) /sbin/agetty
+%attr(755,root,root) /sbin/agetty
 
 %{_mandir}/man8/agetty.8*
 %lang(es) %{_mandir}/es/man8/agetty.8*
 %lang(ja) %{_mandir}/ja/man8/agetty.8*
 
+%if !%{with uClibc}
 %files -n rawdevices
 %defattr(644,root,root,755)
-%attr(0755,root,root) %{_bindir}/raw
-%attr(0750,root,root) /etc/rc.d/init.d/rawdevices
-%attr(0640,root,root) %config(noreplace) /etc/sysconfig/rawdevices
+%attr(755,root,root) %{_bindir}/raw
+%attr(754,root,root) /etc/rc.d/init.d/rawdevices
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rawdevices
 
 %{_mandir}/man8/raw.8*
 %lang(ja) %{_mandir}/ja/man8/raw.8*
-
-%if %{?BOOT:1}%{!?BOOT:0}
-%files BOOT
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/bootdisk/sbin/*
 %endif
This page took 0.06102 seconds and 4 git commands to generate.