1 Summary: Collection of basic system utilities for Linux
2 Summary(de): Sammlung von grundlegenden Systemdienstprogrammen für Linux
3 Summary(fr): Ensemble d'utilitaires système de base pour Linux
4 Summary(pl): Zbiór podstawowych narzêdzi systemowych dla Linuxa
5 Summary(tr): Temel sistem araçlarý
9 Copyright: distributable
10 Group: Utilities/System
11 Group(pl): Narzêdzia/System
12 Source0: ftp://ftp.win.tue.nl/pub/linux-local/utils/util-linux/%{name}-%{version}.tar.gz
22 Source10: hexdump.1.pl
26 Source14: kbdrate.8.pl
27 Source15: fdformat.8.pl
33 Source21: swapoff.8.pl
35 Source23: chkdupexe.1.pl
37 Patch0: util-linux-MCONFIG.patch
38 Patch1: util-linux-fdisk.patch
39 Patch2: util-linux-utmpx.patch
40 Patch3: util-linux-fhs.patch
41 Patch4: util-linux-login.patch
42 Patch5: util-linux-kerneli.patch
43 Patch6: util-linux-info.patch
44 Patch7: util-linux-fdisk2.patch
45 BuildRequires: pam-devel >= 0.66
46 BuildRequires: ncurses-devel >= 5.0
47 BuildRequires: gettext-devel
48 BuildRequires: texinfo
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51 Obsoletes: util-linux-suids
54 util-linux contains a large variety of low-level system utilities
55 necessary for a functional Linux system. This includes, among other
56 things, configuration tools such as fdisk and system programs such as
60 util-linux enthält eine große Anzahl an
61 low-level-Systemdienstprogrammen, die für ein funktionierendes
62 Linux-System erforderlich sind. Dazu gehören Konfigurationstools wie
63 'fdisk' und Systemprogramme wie 'login'.
66 util-linux contient une grande variété d'utilitaire système bas niveau
67 nécessaires au fonctionnement d'un système Linux. Cela comprend, entre
68 autres, les outils de configuration comme fdisk et des programmes
72 Util-linux zawiera wiele ró¿nych, niskopoziomowych narzêdzi
73 systemowych niezbêdnych do prawid³owego dzia³ania Linuxa. W pakiecie
74 znajduj± siê miêdzy innymi, narzêdzia konfiguracyjne takie jak fdisk i
75 programy systemowe takie jak login.
78 þlevsel durumdaki bir Linux sistemi için gerekli birçok alt düzey
79 sistem araçlarýný içerir. Bunlar arasýnda fdisk gibi yapýlandýrma
80 uygulamalarý ve login gibi sistem programlarý sayýlabilir.
83 Summary: programs for setting up and configuring loopback devices
84 Summary(de): Programme zum Einrichten und Konfigurieren von Loopback-Geräten
85 Summary(fr): programmes pour mettre en place et configurer les loopback
86 Summary(pl): Program do konfiguracji urz±dzenia blokowego loopback
87 Summary(tr): Yerel-çevrim aygýtlarýnýn kurulmasý ve ayarlanmasý için programlar
88 Group: Utilities/System
89 Group(pl): Narzêdzia/System
91 %description -n losetup
92 Linux supports a special block device called the loopback device,
93 which maps a normal file onto a virtual block device. This package
94 contains programs for setting up and removing the mapping between
95 files and loopback devices.
97 Block loopback devices should not be confused with the networking
98 loopback device, which is configured with the normal ifconfig command.
100 %description -l de -n losetup
101 Linux unterstützt ein spezielles Blockgerät, das sogenannte Loopback,
102 das eine normale Datei auf ein virtuelles Blockgerät abbildet. Das
103 Paket enthält Programme zum Einrichten und Entfernen der Zuordnung
104 zwischen Dateien und Loopback-Geräten.
106 %description -l fr -n losetup
107 Linux gère un périphérique bloc spécial appelé « loopback », qui
108 correspond à un fichier normal sur un périphérique bloc virtuel. Ce
109 paquetage contient les programmes pour configurer et supprimer la
110 correspondance entre les fichiers et les périphériques loopback.
112 Les périphériques bloc loopback ne doivent pas être confondus avec le
113 périphérique loopback du réseau, configuré avec la commande ifconfig
116 %description -l pl -n losetup
117 Linux ma wsparcie dla specjalnego urz±dzenia blokowego loopback, które
118 mapuje normalny plik w wirtualne urz±dzenie blokowe. Pakiet ten
119 zawiera program przy pomocy którego bêdziesz móg³ wykorzystaæ to
122 Urz±dzenie blokowe loopback nie powinno byæ mylone z sieciowym
123 interfejsem loopback, który jest konfigurowany przy pomocy polecenia
126 %description -l tr -n losetup
127 Linux özel bir blok aygýt olan yerel-çevrim aygýtýný (loopback device)
128 destekler. Bu aygýt normal bir dosyanýn sanal bir blok aygýtý üzerine
129 haritasýný çýkarýr. Bu paket, dosyalar ve yerel-çevrim aygýtlarý
130 arasýndaki haritalama iþleminin kurulmasý ve kaldýrýlmasý için
131 programlar içerir. Blok yerel-çevrim aygýtý ifconfig komutu ile
132 yapýlandýrýlan að yerel-çevrim aygýtý ile karýþtýrýlmamalýdýr.
135 Summary: Programs for mounting and unmounting filesystems
136 Summary(de): Programme zum Montieren und Abmontieren von Dateisystemen
137 Summary(fr): Programme pour monter et démonter des systèmes de fichiers.
138 Summary(pl): Programy do montowania i odmontowywania systemu plików
139 Summary(tr): Dosya sistemlerini baðlamak ve çözmek için programlar
140 Group: Utilities/System
141 Group(pl): Narzêdzia/System
143 %description -n mount
144 Mount is used for adding new filesystems, both local and networked, to
145 your current directory structure. The filesystems must already exist
146 for this to work. It can also be used to change the access types the
147 kernel uses for already-mounted filesystems.
149 This package is critical for the functionality of your system.
151 %description -l de -n mount
152 Mount wird zum Hinzufügen neuer Dateisysteme (lokal und im Netzwerk)
153 zu Ihrer aktuellen Verzeichnisstruktur verwendet. Die Dateisysteme
154 müssen bereits existieren. Außerdem können die Zugriffstypen geändert
155 werden, die der Kernel für bereits montierte Dateisysteme verwendet.
157 Dieses Paket ist für Ihr System unbedingt erforderlich .
159 %description -l fr -n mount
160 mount sert à ajouter de nouveaux systèmes de fichiers, locaux ou
161 réseaux, à votre structure de répertoire. Les systèmes de fichiers
162 doivent déjà exister pour que cela fonctionne. Il peut aussi servir à
163 changer les types d'accès pour les systèmes de fichiers déjà montés.
165 Ce paquetage est critique pour le fonctionnement de votre système.
167 %description -l pl -n mount
168 Program mount jest u¿ywany przez system do montowania systemu plików,
169 zrówno lokalnych jak i sieciowych (np. NFS).
171 Pakiet ten jest niezbêdny do prawid³owej pracy twojego Linuxa.
173 %description -l tr -n mount
174 mount, hem yerel hem de að dosya sistemlerinin dizin yapýsýna
175 eklenmesi için kullanýlýr. Bunun için baðlanacak dosya sisteminin
176 önceden hazýrlanmýþ olmasý gerekir. Ayný zamanda çekirdeðin baðlanmýþ
177 dosya sistemlerine eriþimini deðiþtirmek için de kullanýlýr. Bu paket
178 sisteminizin iþlevselliði açýsýndan kritiktir.
181 Summary: chkdupexe - find duplicate executables
182 Summary(pl): chkdupexe odszukuje powtarzaj±ce sie pliki uruchamialne
183 Group: Utilities/System
184 Group(pl): Narzêdzia/System
186 %description chkdupexe
187 chkdupexe will scan the union of $PATH and a hardcoded list of common
188 locations for binaries. It will report dangling symlinks and
189 duplicately-named binaries.
191 %description chkdupexe -l pl
192 chkdupexe przeszukuje katalogi z $PATH oraz inne powszechnie znane
193 katalogi z plikami uruchamialnymi i informuje o powtarzaj±cych siê
194 plikach w ró¿nych katalogach.
197 Summary: configures kernel parallel port driver
198 Summary(de): konfiguriert den Kerneltreiber für den parallelen Port
199 Summary(fr): Configure le pilote du port parallèle dans le noyau
200 Summary(pl): Program do konfigurowania sterownika portu równoleg³ego
201 Summary(tr): Çekirdeðin paralel baðlantý noktasý sürücüsünü ayarlar
202 Group: Utilities/System
203 Group(pl): Narzêdzia/System
205 %description -n tunelp
206 `tunelp' aids in configuring the kernel parallel port driver.
208 %description -n tunelp -l de
209 TUNELP hilft bei der Konfiguration des Kernel-Parallelport-Treibers.
211 %description -n tunelp -l fr
212 « tunelp » aide à configurer le pilote du noyau pour le port
215 %description -n tunelp -l pl
216 Program do konfigurowania sterownika portu równoleg³ego.
218 %description -n tunelp -l tr
219 Paralel baðlantý noktasý sürücüsünü ayarlar.
222 Summary: login is used when signing onto a system
223 Group: Utilities/System
224 Group(pl): Narzêdzia/System
225 Obsoletes: heimdal-login
227 %description -n login
228 login is used when signing onto a system. It can also be used to
229 switch from one user to another at any time (most modern shells have
230 support for this feature built into them, however).
245 CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/ncurses"
248 make OPT="$RPM_OPT_FLAGS" \
249 MOREHELPDIR=%{_datadir}/misc
251 (cd sys-utils; makeinfo ipc.texi)
254 rm -rf $RPM_BUILD_ROOT
256 install -d $RPM_BUILD_ROOT/{bin,sbin,etc/{pam.d,logrotate}} \
257 $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_infodir},%{_datadir}/misc} \
258 $RPM_BUILD_ROOT{%{_examplesdir},%{_mandir}/{man{1,5,6,8},pl/man{1,5,6,8}}}
261 DESTDIR="$RPM_BUILD_ROOT" \
262 INSTALLSUID="install -m 755" \
263 MOREHELPDIR=$RPM_BUILD_ROOT%{_datadir}/misc \
264 GETOPTDIR=$RPM_BUILD_ROOT%{_examplesdir}/getopt \
267 install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/login
269 install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1/kill.1
270 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1/arch.1
271 install %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/pl/man1/login.1
272 install %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/pl/man1/look.1
273 install %{SOURCE6} $RPM_BUILD_ROOT%{_mandir}/pl/man1/script.1
274 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/pl/man1/write.1
275 install %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/pl/man1/getopt.1
276 install %{SOURCE9} $RPM_BUILD_ROOT%{_mandir}/pl/man1/colrm.1
277 install %{SOURCE10} $RPM_BUILD_ROOT%{_mandir}/pl/man1/hexdump.1
278 install %{SOURCE11} $RPM_BUILD_ROOT%{_mandir}/pl/man1/ul.1
280 install %{SOURCE12} $RPM_BUILD_ROOT%{_mandir}/pl/man8/ipcrm.8
281 install %{SOURCE13} $RPM_BUILD_ROOT%{_mandir}/pl/man8/ipcs.8
282 install %{SOURCE14} $RPM_BUILD_ROOT%{_mandir}/pl/man8/kbdrate.8
283 install %{SOURCE15} $RPM_BUILD_ROOT%{_mandir}/pl/man8/fdformat.8
284 install %{SOURCE16} $RPM_BUILD_ROOT%{_mandir}/pl/man8/mkswap.8
286 %ifarch %{ix86} alpha
287 install %{SOURCE17} $RPM_BUILD_ROOT%{_mandir}/pl/man8/fdisk.8
290 install %{SOURCE18} $RPM_BUILD_ROOT%{_mandir}/pl/man8/umount.8
291 install %{SOURCE19} $RPM_BUILD_ROOT%{_mandir}/pl/man8/mount.8
292 install %{SOURCE20} $RPM_BUILD_ROOT%{_mandir}/pl/man8/swapon.8
293 install %{SOURCE21} $RPM_BUILD_ROOT%{_mandir}/pl/man8/swapoff.8
295 install %{SOURCE22} $RPM_BUILD_ROOT%{_mandir}/pl/man5/fstab.5
297 install %{SOURCE23} $RPM_BUILD_ROOT%{_mandir}/pl/man1/chkdupexe.1
299 install %{SOURCE24} $RPM_BUILD_ROOT%{_mandir}/pl/man8/tunelp.8
301 install -d $RPM_BUILD_ROOT/{etc/security,var/lock}
303 touch $RPM_BUILD_ROOT/etc/security/blacklist.login
305 :> $RPM_BUILD_ROOT/var/lock/wtmpxlock
308 ln -sf hwclock $RPM_BUILD_ROOT/sbin/clock
309 echo .so hwclock.8 > $RPM_BUILD_ROOT%{_mandir}/man8/clock.8
312 ln -sf swapon $RPM_BUILD_ROOT/sbin/swapoff
314 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/{man*/*,pl/man*/*} \
315 */README.* $RPM_BUILD_ROOT%{_infodir}/*
320 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
323 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
326 rm -rf $RPM_BUILD_ROOT
328 %files -f %{name}.lang
329 %defattr(644,root,root,755)
332 %ifarch i386 i486 i586 i686
333 %attr(755,root,root) /sbin/clock
334 %attr(755,root,root) /sbin/hwclock
336 %{_mandir}/man8/hwclock.8.gz
337 %{_mandir}/man8/clock.8.gz
340 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/fdprm
342 %attr(0755,root,root) /bin/arch
343 %attr(0755,root,root) /bin/dmesg
344 %attr(0755,root,root) /bin/kill
345 %attr(0755,root,root) /bin/more
346 %attr(0755,root,root) /sbin/mkfs
347 %attr(0755,root,root) /sbin/mkswap
348 %attr(0755,root,root) /sbin/ctrlaltdel
349 %attr(0755,root,root) /sbin/kbdrate
350 %attr(0755,root,root) %{_bindir}/cal
351 %attr(0755,root,root) %{_bindir}/col
352 %attr(0755,root,root) %{_bindir}/colcrt
353 %attr(0755,root,root) %{_bindir}/colrm
354 %attr(0755,root,root) %{_bindir}/column
355 %attr(0755,root,root) %{_bindir}/hexdump
356 %attr(0755,root,root) %{_bindir}/rev
357 %attr(0755,root,root) %{_bindir}/ul
358 %attr(0755,root,root) %{_bindir}/ddate
359 %attr(0755,root,root) %{_bindir}/fdformat
360 %attr(0755,root,root) %{_bindir}/newgrp
361 %attr(0755,root,root) %{_bindir}/setfdprm
362 %attr(0755,root,root) %{_bindir}/logger
363 %attr(0755,root,root) %{_bindir}/look
364 %attr(0755,root,root) %{_bindir}/mcookie
365 %attr(0755,root,root) %{_bindir}/namei
366 %attr(0755,root,root) %{_bindir}/script
367 %attr(0755,root,root) %{_bindir}/setsid
368 %attr(0755,root,root) %{_bindir}/setterm
369 %attr(0755,root,root) %{_bindir}/whereis
370 %attr(2755,root, tty) %{_bindir}/write
371 %attr(0755,root,root) %{_bindir}/getopt
372 %attr(0755,root,root) %{_bindir}/ipcrm
373 %attr(0755,root,root) %{_bindir}/ipcs
374 %attr(0755,root,root) %{_bindir}/renice
375 %attr(0755,root,root) /usr/games/banner
376 %attr(0755,root,root) %{_sbindir}/vipw
377 %attr(0755,root,root) %{_sbindir}/vigr
378 %attr(0755,root,root) %{_sbindir}/readprofile
380 %{_mandir}/man1/arch.1*
381 %{_mandir}/man1/readprofile.1*
382 %{_mandir}/man1/newgrp.1*
383 %{_mandir}/man1/ddate.1*
384 %{_mandir}/man1/cal.1*
385 %{_mandir}/man1/kill.1*
386 %{_mandir}/man1/logger.1*
387 %{_mandir}/man1/look.1*
388 %{_mandir}/man1/mcookie.1*
389 %{_mandir}/man1/more.1*
390 %{_mandir}/man1/namei.1*
391 %{_mandir}/man1/script.1*
392 %{_mandir}/man1/setterm.1*
393 %{_mandir}/man1/whereis.1*
394 %{_mandir}/man1/write.1*
395 %{_mandir}/man1/getopt.1*
396 %{_mandir}/man1/col.1*
397 %{_mandir}/man1/colcrt.1*
398 %{_mandir}/man1/colrm.1*
399 %{_mandir}/man1/column.1*
400 %{_mandir}/man1/hexdump.1*
401 %{_mandir}/man1/rev.1*
402 %{_mandir}/man1/ul.1*
404 %{_mandir}/man6/banner.6*
406 %{_mandir}/man8/cytune.8*
407 %{_mandir}/man8/ctrlaltdel.8*
408 %{_mandir}/man8/dmesg.8*
409 %{_mandir}/man8/ipcrm.8*
410 %{_mandir}/man8/ipcs.8*
411 %{_mandir}/man8/kbdrate.8*
412 %{_mandir}/man8/renice.8*
413 %{_mandir}/man8/setsid.8*
414 %{_mandir}/man8/vipw.8*
415 %{_mandir}/man8/fdformat.8*
416 %{_mandir}/man8/mkswap.8*
417 %{_mandir}/man8/setfdprm.8*
419 %lang(pl) %{_mandir}/pl/man1/kill.1*
420 %lang(pl) %{_mandir}/pl/man1/arch.1*
421 %lang(pl) %{_mandir}/pl/man1/look.1*
422 %lang(pl) %{_mandir}/pl/man1/script.1*
423 %lang(pl) %{_mandir}/pl/man1/write.1*
424 %lang(pl) %{_mandir}/pl/man1/getopt.1*
425 %lang(pl) %{_mandir}/pl/man1/colrm.1*
426 %lang(pl) %{_mandir}/pl/man1/hexdump.1*
427 %lang(pl) %{_mandir}/pl/man1/ul.1*
429 %lang(pl) %{_mandir}/pl/man8/ipcrm.8*
430 %lang(pl) %{_mandir}/pl/man8/ipcs.8*
431 %lang(pl) %{_mandir}/pl/man8/kbdrate.8*
432 %lang(pl) %{_mandir}/pl/man8/fdformat.8*
433 %lang(pl) %{_mandir}/pl/man8/mkswap.8*
435 %dir %{_examplesdir}/getopt
436 %attr(755,root,root) %{_examplesdir}/getopt/*
437 %{_datadir}/misc/more.help
439 %ifarch %{ix86} alpha
440 %attr(755,root,root) /sbin/fdisk
441 %attr(755,root,root) /sbin/cfdisk
442 %attr(755,root,root) /sbin/fsck.minix
443 %attr(755,root,root) /sbin/mkfs.minix
444 %attr(755,root,root) /sbin/sfdisk
446 %{_mandir}/man8/fdisk.8*
447 %{_mandir}/man8/cfdisk.8*
448 %{_mandir}/man8/sfdisk.8*
449 %{_mandir}/man8/fsck.minix.8*
450 %{_mandir}/man8/mkfs.minix.8*
451 %{_mandir}/man8/mkfs.8*
453 %lang(pl) %{_mandir}/pl/man8/fdisk.8*
457 %attr(755,root,root) %{_bindir}/cytune
461 %attr(755,root,root) %{_sbindir}/rdev
462 %attr(755,root,root) %{_sbindir}/swapdev
463 %attr(755,root,root) %{_sbindir}/vidmode
464 %attr(755,root,root) %{_sbindir}/ramsize
465 %attr(755,root,root) %{_sbindir}/rootflags
467 %{_mandir}/man8/rdev.8*
468 %{_mandir}/man8/rootflags.8*
469 %{_mandir}/man8/swapdev.8*
470 %{_mandir}/man8/vidmode.8*
471 %{_mandir}/man8/ramsize.8*
476 %ghost /var/lock/wtmpxlock
479 %defattr(644,root,root,755)
481 %attr(4755,root,root) /bin/mount
482 %attr(4755,root,root) /bin/umount
483 %attr(755,root,root) /sbin/swapon
484 %attr(755,root,root) /sbin/swapoff
486 %{_mandir}/man5/fstab.5*
487 %{_mandir}/man5/nfs.5*
489 %{_mandir}/man8/mount.8*
490 %{_mandir}/man8/swapoff.8*
491 %{_mandir}/man8/swapon.8*
492 %{_mandir}/man8/umount.8*
494 %lang(pl) %{_mandir}/pl/man8/umount.8*
495 %lang(pl) %{_mandir}/pl/man8/mount.8*
496 %lang(pl) %{_mandir}/pl/man8/swapon.8*
497 %lang(pl) %{_mandir}/pl/man8/swapoff.8*
499 %lang(pl) %{_mandir}/pl/man5/fstab.5*
502 %defattr(644,root,root,755)
504 %{_mandir}/man8/losetup.8*
505 %attr(755,root,root) /sbin/losetup
508 %defattr(644,root,root,755)
509 %attr(0755,root,root) %{_bindir}/chkdupexe
510 %{_mandir}/man1/chkdupexe.1*
512 %lang(pl) %{_mandir}/pl/man1/chkdupexe.1*
515 %defattr(644,root,root,755)
516 %attr(0755,root,root) %{_sbindir}/tunelp
517 %{_mandir}/man8/tunelp.8*
520 %defattr(644,root,root,755)
521 %attr(640,root,root) %config(noreplace) %verify(not mtime size md5) /etc/pam.d/login
522 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.login
523 %attr(0755,root,root) /bin/login
524 %{_mandir}/man1/login.1*
525 %lang(pl) %{_mandir}/pl/man1/login.1*