3 # _without_crypto - without kerneli cryptography
7 Summary: Collection of basic system utilities for Linux
8 Summary(de): Sammlung von grundlegenden Systemdienstprogrammen für Linux
9 Summary(fr): Ensemble d'utilitaires système de base pour Linux
10 Summary(pl): Zbiór podstawowych narzêdzi systemowych dla Linuxa
11 Summary(tr): Temel sistem araçlarý
15 License: Distributable
16 Group: Applications/System
17 Group(de): Applikationen/System
18 Group(pl): Aplikacje/System
19 Source0: ftp://ftp.win.tue.nl/pub/linux-local/utils/util-linux/%{name}-%{version}.tar.gz
29 Source10: hexdump.1.pl
33 Source15: fdformat.8.pl
39 Source21: swapoff.8.pl
41 Source23: chkdupexe.1.pl
43 Patch0: %{name}-MCONFIG.patch
44 Patch1: %{name}-fdisk.patch
45 Patch2: %{name}-utmpx.patch
46 Patch3: %{name}-fhs.patch
47 Patch4: %{name}-login.patch
48 Patch5: %{name}-kerneli.patch
49 Patch6: %{name}-info.patch
50 Patch7: %{name}-fdisk2.patch
51 Patch9: %{name}-mount-rpc.patch
52 Patch10: ftp://ftp.linuxnfs.sourceforge.org:/pub/nfs/%{name}-2.10m-mount-compat.patch
53 Patch11: %{name}-syscall.patch
54 Patch12: %{name}-2.10o-rawio.patch
55 Patch14: %{name}-gecos.patch
56 Patch15: %{name}-glibc.patch
57 Patch16: %{name}-s390.patch
58 Patch18: %{name}-kerneli-2.4.patch
59 Patch20: %{name}-qnx4.patch
60 BuildRequires: pam-devel >= 0.66
61 BuildRequires: ncurses-devel >= 5.0
62 BuildRequires: gettext-devel
63 BuildRequires: texinfo
65 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
66 Obsoletes: util-linux-suids
68 %define _kernel_ver %(grep UTS_RELEASE /usr/src/linux/include/linux/version.h 2>/dev/null | cut -d'"' -f2)
69 %define _kernel24 %(echo %{_kernel_ver} | grep -q '2\.[012]\.' ; echo $?)
73 util-linux contains a large variety of low-level system utilities
74 necessary for a functional Linux system. This includes, among other
75 things, configuration tools such as fdisk and system programs such as
79 util-linux enthält eine große Anzahl an
80 low-level-Systemdienstprogrammen, die für ein funktionierendes
81 Linux-System erforderlich sind. Dazu gehören Konfigurationstools wie
82 'fdisk' und Systemprogramme wie 'logger'.
85 util-linux contient une grande variété d'utilitaire système bas niveau
86 nécessaires au fonctionnement d'un système Linux. Cela comprend, entre
87 autres, les outils de configuration comme fdisk et des programmes
88 systèmes comme logger.
91 Util-linux zawiera wiele ró¿nych, niskopoziomowych narzêdzi
92 systemowych niezbêdnych do prawid³owego dzia³ania Linuxa. W pakiecie
93 znajduj± siê miêdzy innymi, narzêdzia konfiguracyjne takie jak fdisk i
94 programy systemowe takie jak logger.
97 þlevsel durumdaki bir Linux sistemi için gerekli birçok alt düzey
98 sistem araçlarýný içerir. Bunlar arasýnda fdisk gibi yapýlandýrma
99 uygulamalarý ve logger gibi sistem programlarý sayýlabilir.
102 Summary: programs for setting up and configuring loopback devices
103 Summary(de): Programme zum Einrichten und Konfigurieren von Loopback-Geräten
104 Summary(fr): programmes pour mettre en place et configurer les loopback
105 Summary(pl): Program do konfiguracji urz±dzenia blokowego loopback
106 Summary(tr): Yerel-çevrim aygýtlarýnýn kurulmasý ve ayarlanmasý için programlar
107 Group: Applications/System
108 Group(de): Applikationen/System
109 Group(pl): Aplikacje/System
111 %description -n losetup
112 Linux supports a special block device called the loopback device,
113 which maps a normal file onto a virtual block device. This package
114 contains programs for setting up and removing the mapping between
115 files and loopback devices.
117 Block loopback devices should not be confused with the networking
118 loopback device, which is configured with the normal ifconfig command.
120 %description -l de -n losetup
121 Linux unterstützt ein spezielles Blockgerät, das sogenannte Loopback,
122 das eine normale Datei auf ein virtuelles Blockgerät abbildet. Das
123 Paket enthält Programme zum Einrichten und Entfernen der Zuordnung
124 zwischen Dateien und Loopback-Geräten.
126 %description -l fr -n losetup
127 Linux gère un périphérique bloc spécial appelé « loopback », qui
128 correspond à un fichier normal sur un périphérique bloc virtuel. Ce
129 paquetage contient les programmes pour configurer et supprimer la
130 correspondance entre les fichiers et les périphériques loopback.
132 Les périphériques bloc loopback ne doivent pas être confondus avec le
133 périphérique loopback du réseau, configuré avec la commande ifconfig
136 %description -l pl -n losetup
137 Linux ma wsparcie dla specjalnego urz±dzenia blokowego loopback, które
138 mapuje normalny plik w wirtualne urz±dzenie blokowe. Pakiet ten
139 zawiera program przy pomocy którego bêdziesz móg³ wykorzystaæ to
142 Urz±dzenie blokowe loopback nie powinno byæ mylone z sieciowym
143 interfejsem loopback, który jest konfigurowany przy pomocy polecenia
146 %description -l tr -n losetup
147 Linux özel bir blok aygýt olan yerel-çevrim aygýtýný (loopback device)
148 destekler. Bu aygýt normal bir dosyanýn sanal bir blok aygýtý üzerine
149 haritasýný çýkarýr. Bu paket, dosyalar ve yerel-çevrim aygýtlarý
150 arasýndaki haritalama iþleminin kurulmasý ve kaldýrýlmasý için
151 programlar içerir. Blok yerel-çevrim aygýtý ifconfig komutu ile
152 yapýlandýrýlan að yerel-çevrim aygýtý ile karýþtýrýlmamalýdýr.
155 Summary: Programs for mounting and unmounting filesystems
156 Summary(de): Programme zum Montieren und Abmontieren von Dateisystemen
157 Summary(fr): Programme pour monter et démonter des systèmes de fichiers.
158 Summary(pl): Programy do montowania i odmontowywania systemu plików
159 Summary(tr): Dosya sistemlerini baðlamak ve çözmek için programlar
160 Group: Applications/System
161 Group(de): Applikationen/System
162 Group(pl): Aplikacje/System
164 %description -n mount
165 Mount is used for adding new filesystems, both local and networked, to
166 your current directory structure. The filesystems must already exist
167 for this to work. It can also be used to change the access types the
168 kernel uses for already-mounted filesystems.
170 This package is critical for the functionality of your system.
172 %description -l de -n mount
173 Mount wird zum Hinzufügen neuer Dateisysteme (lokal und im Netzwerk)
174 zu Ihrer aktuellen Verzeichnisstruktur verwendet. Die Dateisysteme
175 müssen bereits existieren. Außerdem können die Zugriffstypen geändert
176 werden, die der Kernel für bereits montierte Dateisysteme verwendet.
178 Dieses Paket ist für Ihr System unbedingt erforderlich .
180 %description -l fr -n mount
181 mount sert à ajouter de nouveaux systèmes de fichiers, locaux ou
182 réseaux, à votre structure de répertoire. Les systèmes de fichiers
183 doivent déjà exister pour que cela fonctionne. Il peut aussi servir à
184 changer les types d'accès pour les systèmes de fichiers déjà montés.
186 Ce paquetage est critique pour le fonctionnement de votre système.
188 %description -l pl -n mount
189 Program mount jest u¿ywany przez system do montowania systemu plików,
190 zarówno lokalnych jak i sieciowych (np. NFS).
192 Pakiet ten jest niezbêdny do prawid³owej pracy twojego Linuxa.
194 %description -l tr -n mount
195 mount, hem yerel hem de að dosya sistemlerinin dizin yapýsýna
196 eklenmesi için kullanýlýr. Bunun için baðlanacak dosya sisteminin
197 önceden hazýrlanmýþ olmasý gerekir. Ayný zamanda çekirdeðin baðlanmýþ
198 dosya sistemlerine eriþimini deðiþtirmek için de kullanýlýr. Bu paket
199 sisteminizin iþlevselliði açýsýndan kritiktir.
202 Summary: chkdupexe - find duplicate executables
203 Summary(pl): chkdupexe odszukuje powtarzaj±ce sie pliki uruchamialne
204 Group: Applications/System
205 Group(de): Applikationen/System
206 Group(pl): Aplikacje/System
208 %description chkdupexe
209 chkdupexe will scan the union of $PATH and a hardcoded list of common
210 locations for binaries. It will report dangling symlinks and
211 duplicately-named binaries.
213 %description chkdupexe -l pl
214 chkdupexe przeszukuje katalogi z $PATH oraz inne powszechnie znane
215 katalogi z plikami uruchamialnymi i informuje o powtarzaj±cych siê
216 plikach w ró¿nych katalogach.
219 Summary: configures kernel parallel port driver
220 Summary(de): konfiguriert den Kerneltreiber für den parallelen Port
221 Summary(fr): Configure le pilote du port parallèle dans le noyau
222 Summary(pl): Program do konfigurowania sterownika portu równoleg³ego
223 Summary(tr): Çekirdeðin paralel baðlantý noktasý sürücüsünü ayarlar
224 Group: Applications/System
225 Group(de): Applikationen/System
226 Group(pl): Aplikacje/System
228 %description -n tunelp
229 `tunelp' aids in configuring the kernel parallel port driver.
231 %description -n tunelp -l de
232 TUNELP hilft bei der Konfiguration des Kernel-Parallelport-Treibers.
234 %description -n tunelp -l fr
235 « tunelp » aide à configurer le pilote du noyau pour le port
238 %description -n tunelp -l pl
239 Program do konfigurowania sterownika portu równoleg³ego.
241 %description -n tunelp -l tr
242 Paralel baðlantý noktasý sürücüsünü ayarlar.
245 Summary: login is used when signing onto a system
246 Group: Applications/System
247 Group(de): Applikationen/System
248 Group(pl): Aplikacje/System
249 Obsoletes: heimdal-login
252 %description -n login
253 login is used when signing onto a system. It can also be used to
254 switch from one user to another at any time (most modern shells have
255 support for this feature built into them, however).
265 %{!?_without_crypto:%patch18 -p1}
267 %{!?_without_crypto:%patch5 -p1}
274 %{!?_without_rawio:%patch12 -p1}
281 CFLAGS="%{!?debug:%{rpmcflags}} %{?debug:-O1} -I%{_includedir}/ncurses"
284 make OPT="%{!?debug:%{rpmcflags}} %{?debug:-O1}" \
285 MOREHELPDIR=%{_datadir}/misc \
286 %{!?_without_rawio:ADD_RAW="yes"}
288 (cd sys-utils; makeinfo ipc.texi)
291 rm -rf $RPM_BUILD_ROOT
293 install -d $RPM_BUILD_ROOT/{bin,sbin,etc/{pam.d,logrotate}} \
294 $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_infodir},%{_datadir}/misc} \
295 $RPM_BUILD_ROOT{%{_examplesdir},%{_mandir}/{man{1,5,6,8},pl/man{1,5,6,8}}}
298 DESTDIR="$RPM_BUILD_ROOT" \
299 INSTALLSUID="install -m 755" \
300 MOREHELPDIR=$RPM_BUILD_ROOT%{_datadir}/misc \
301 GETOPTDIR=$RPM_BUILD_ROOT%{_examplesdir}/getopt \
302 USRGAMESDIR=$RPM_BUILD_ROOT%{_bindir} \
304 %{!?_without_rawio:ADD_RAW="yes"}
306 install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/login
308 install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1/kill.1
309 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1/arch.1
310 install %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/pl/man1/login.1
311 install %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/pl/man1/look.1
312 install %{SOURCE6} $RPM_BUILD_ROOT%{_mandir}/pl/man1/script.1
313 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/pl/man1/write.1
314 install %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/pl/man1/getopt.1
315 install %{SOURCE9} $RPM_BUILD_ROOT%{_mandir}/pl/man1/colrm.1
316 install %{SOURCE10} $RPM_BUILD_ROOT%{_mandir}/pl/man1/hexdump.1
317 install %{SOURCE11} $RPM_BUILD_ROOT%{_mandir}/pl/man1/ul.1
319 install %{SOURCE12} $RPM_BUILD_ROOT%{_mandir}/pl/man8/ipcrm.8
320 install %{SOURCE13} $RPM_BUILD_ROOT%{_mandir}/pl/man8/ipcs.8
321 install %{SOURCE15} $RPM_BUILD_ROOT%{_mandir}/pl/man8/fdformat.8
322 install %{SOURCE16} $RPM_BUILD_ROOT%{_mandir}/pl/man8/mkswap.8
323 install %{SOURCE17} $RPM_BUILD_ROOT%{_mandir}/pl/man8/fdisk.8
324 install %{SOURCE18} $RPM_BUILD_ROOT%{_mandir}/pl/man8/umount.8
325 install %{SOURCE19} $RPM_BUILD_ROOT%{_mandir}/pl/man8/mount.8
326 install %{SOURCE20} $RPM_BUILD_ROOT%{_mandir}/pl/man8/swapon.8
327 install %{SOURCE21} $RPM_BUILD_ROOT%{_mandir}/pl/man8/swapoff.8
329 install %{SOURCE22} $RPM_BUILD_ROOT%{_mandir}/pl/man5/fstab.5
331 install %{SOURCE23} $RPM_BUILD_ROOT%{_mandir}/pl/man1/chkdupexe.1
333 install %{SOURCE24} $RPM_BUILD_ROOT%{_mandir}/pl/man8/tunelp.8
335 install -d $RPM_BUILD_ROOT/{etc/security,var/lock}
337 touch $RPM_BUILD_ROOT/etc/security/blacklist.login
339 :> $RPM_BUILD_ROOT/var/lock/wtmpxlock
341 ln -sf hwclock $RPM_BUILD_ROOT/sbin/clock
342 echo '.so hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/man8/clock.8
344 ln -sf swapon $RPM_BUILD_ROOT/sbin/swapoff
351 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
354 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
357 rm -rf $RPM_BUILD_ROOT
359 %files -f %{name}.lang
360 %defattr(644,root,root,755)
363 %attr(755,root,root) /sbin/clock
364 %attr(755,root,root) /sbin/hwclock
366 %{_mandir}/man8/hwclock.8*
367 %{_mandir}/man8/clock.8*
369 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fdprm
371 %attr(0755,root,root) /bin/arch
372 %attr(0755,root,root) /bin/dmesg
373 %attr(0755,root,root) /bin/kill
374 %attr(0755,root,root) /bin/more
375 %attr(0755,root,root) /sbin/mkfs
376 %attr(0755,root,root) /sbin/mkswap
377 %attr(0755,root,root) /sbin/ctrlaltdel
378 %attr(0755,root,root) /sbin/blockdev
379 %attr(0755,root,root) /sbin/elvtune
380 %attr(0755,root,root) %{_bindir}/banner
381 %attr(0755,root,root) %{_bindir}/cal
382 %attr(0755,root,root) %{_bindir}/col
383 %attr(0755,root,root) %{_bindir}/colcrt
384 %attr(0755,root,root) %{_bindir}/colrm
385 %attr(0755,root,root) %{_bindir}/column
386 %attr(0755,root,root) %{_bindir}/ddate
387 %attr(0755,root,root) %{_bindir}/fdformat
388 %attr(0755,root,root) %{_bindir}/getopt
389 %attr(0755,root,root) %{_bindir}/ipcrm
390 %attr(0755,root,root) %{_bindir}/ipcs
391 %attr(0755,root,root) %{_bindir}/hexdump
392 %attr(0755,root,root) %{_bindir}/isosize
393 %attr(0755,root,root) %{_bindir}/logger
394 %attr(0755,root,root) %{_bindir}/look
395 %attr(0755,root,root) %{_bindir}/mcookie
396 %attr(0755,root,root) %{_bindir}/namei
397 %attr(0755,root,root) %{_bindir}/newgrp
398 %attr(0755,root,root) %{_bindir}/renice
399 %{!?_without_rawio:%attr(0755,root,root) %{_bindir}/raw}
400 %attr(0755,root,root) %{_bindir}/rev
401 %attr(0755,root,root) %{_bindir}/script
402 %attr(0755,root,root) %{_bindir}/setsid
403 %attr(0755,root,root) %{_bindir}/setfdprm
404 %attr(0755,root,root) %{_bindir}/setterm
405 %attr(0755,root,root) %{_bindir}/ul
406 %attr(0755,root,root) %{_bindir}/whereis
407 %attr(2755,root, tty) %{_bindir}/write
408 %attr(0755,root,root) %{_sbindir}/vipw
409 %attr(0755,root,root) %{_sbindir}/vigr
410 %attr(0755,root,root) %{_sbindir}/readprofile
412 %{_mandir}/man1/arch.1*
413 %{_mandir}/man1/cal.1*
414 %{_mandir}/man1/col.1*
415 %{_mandir}/man1/colcrt.1*
416 %{_mandir}/man1/colrm.1*
417 %{_mandir}/man1/column.1*
418 %{_mandir}/man1/ddate.1*
419 %{_mandir}/man1/getopt.1*
420 %{_mandir}/man1/hexdump.1*
421 %{_mandir}/man1/newgrp.1*
422 %{_mandir}/man1/kill.1*
423 %{_mandir}/man1/logger.1*
424 %{_mandir}/man1/look.1*
425 %{_mandir}/man1/mcookie.1*
426 %{_mandir}/man1/more.1*
427 %{_mandir}/man1/namei.1*
428 %{_mandir}/man1/script.1*
429 %{_mandir}/man1/setterm.1*
430 %{_mandir}/man1/readprofile.1*
431 %{_mandir}/man1/rev.1*
432 %{_mandir}/man1/ul.1*
433 %{_mandir}/man1/whereis.1*
434 %{_mandir}/man1/write.1*
436 %{_mandir}/man6/banner.6*
438 %{_mandir}/man8/blockdev.8*
439 %{_mandir}/man8/cytune.8*
440 %{_mandir}/man8/ctrlaltdel.8*
441 %{_mandir}/man8/dmesg.8*
442 %{_mandir}/man8/elvtune.8*
443 %{_mandir}/man8/fdformat.8*
444 %{_mandir}/man8/ipcrm.8*
445 %{_mandir}/man8/ipcs.8*
446 %{_mandir}/man8/isosize.8*
447 %{_mandir}/man8/mkswap.8*
448 %{_mandir}/man8/renice.8*
449 %{_mandir}/man8/setsid.8*
450 %{_mandir}/man8/setfdprm.8*
451 %{!?_without_rawio:%{_mandir}/man8/raw.8*}
452 %{_mandir}/man8/vipw.8*
454 %lang(pl) %{_mandir}/pl/man1/kill.1*
455 %lang(pl) %{_mandir}/pl/man1/arch.1*
456 %lang(pl) %{_mandir}/pl/man1/look.1*
457 %lang(pl) %{_mandir}/pl/man1/script.1*
458 %lang(pl) %{_mandir}/pl/man1/write.1*
459 %lang(pl) %{_mandir}/pl/man1/getopt.1*
460 %lang(pl) %{_mandir}/pl/man1/colrm.1*
461 %lang(pl) %{_mandir}/pl/man1/hexdump.1*
462 %lang(pl) %{_mandir}/pl/man1/ul.1*
464 %lang(pl) %{_mandir}/pl/man8/ipcrm.8*
465 %lang(pl) %{_mandir}/pl/man8/ipcs.8*
466 %lang(pl) %{_mandir}/pl/man8/fdformat.8*
467 %lang(pl) %{_mandir}/pl/man8/mkswap.8*
469 %dir %{_examplesdir}/getopt
470 %attr(755,root,root) %{_examplesdir}/getopt/*
471 %{_datadir}/misc/more.help
473 %attr(755,root,root) /sbin/fdisk
474 %attr(755,root,root) /sbin/cfdisk
475 %attr(755,root,root) /sbin/fsck.minix
476 %attr(755,root,root) /sbin/mkfs.minix
477 %attr(755,root,root) /sbin/sfdisk
479 %{_mandir}/man8/fdisk.8*
480 %{_mandir}/man8/cfdisk.8*
481 %{_mandir}/man8/sfdisk.8*
482 %{_mandir}/man8/fsck.minix.8*
483 %{_mandir}/man8/mkfs.minix.8*
484 %{_mandir}/man8/mkfs.8*
486 %lang(pl) %{_mandir}/pl/man8/fdisk.8*
488 %attr(755,root,root) %{_bindir}/cytune
491 %attr(755,root,root) %{_sbindir}/rdev
492 %attr(755,root,root) %{_sbindir}/vidmode
493 %attr(755,root,root) %{_sbindir}/ramsize
494 %attr(755,root,root) %{_sbindir}/rootflags
496 %{_mandir}/man8/rdev.8*
497 %{_mandir}/man8/rootflags.8*
498 %{_mandir}/man8/vidmode.8*
499 %{_mandir}/man8/ramsize.8*
504 %ghost /var/lock/wtmpxlock
507 %defattr(644,root,root,755)
509 %attr(4755,root,root) /bin/mount
510 %attr(4755,root,root) /bin/umount
511 %{?_with_pivot_root:%attr(755,root,root) /sbin/pivot_root}
512 %attr(755,root,root) /sbin/swapon
513 %attr(755,root,root) /sbin/swapoff
515 %{_mandir}/man5/fstab.5*
516 %{_mandir}/man5/nfs.5*
518 %{_mandir}/man8/mount.8*
519 %{_mandir}/man8/swapoff.8*
520 %{?_with_pivot_root:%{_mandir}/man8/pivot_root.8*}
521 %{_mandir}/man8/swapon.8*
522 %{_mandir}/man8/umount.8*
524 %lang(pl) %{_mandir}/pl/man8/umount.8*
525 %lang(pl) %{_mandir}/pl/man8/mount.8*
526 %lang(pl) %{_mandir}/pl/man8/swapon.8*
527 %lang(pl) %{_mandir}/pl/man8/swapoff.8*
529 %lang(pl) %{_mandir}/pl/man5/fstab.5*
532 %defattr(644,root,root,755)
534 %{_mandir}/man8/losetup.8*
535 %attr(755,root,root) /sbin/losetup
538 %defattr(644,root,root,755)
539 %attr(0755,root,root) %{_bindir}/chkdupexe
540 %{_mandir}/man1/chkdupexe.1*
542 %lang(pl) %{_mandir}/pl/man1/chkdupexe.1*
545 %defattr(644,root,root,755)
546 %attr(0755,root,root) %{_sbindir}/tunelp
547 %{_mandir}/man8/tunelp.8*
548 %lang(pl) %{_mandir}/pl/man8/tunelp.8*
551 %defattr(644,root,root,755)
552 %attr(640,root,root) %config(noreplace) %verify(not mtime size md5) /etc/pam.d/login
553 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.login
554 %attr(0755,root,root) /bin/login
555 %{_mandir}/man1/login.1*
556 %lang(pl) %{_mandir}/pl/man1/login.1*