]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_with uClibc # don't build few utilities | |
4 | %bcond_without selinux # build without SELinux support | |
5 | # | |
6 | # TODO: | |
7 | # - move raw to /sbin (potentially can be used before mount partitions)?? | |
8 | # - move logger to separate package (to avoid conflicts with inetutils) | |
9 | ||
10 | Summary: Collection of basic system utilities for Linux | |
11 | Summary(de.UTF-8): Sammlung von grundlegenden Systemdienstprogrammen für Linux | |
12 | Summary(es.UTF-8): Colectánea de utilitarios básicos de sistema para Linux | |
13 | Summary(fr.UTF-8): Ensemble d'utilitaires système de base pour Linux | |
14 | Summary(pl.UTF-8): Zbiór podstawowych narzędzi systemowych dla Linuksa | |
15 | Summary(pt_BR.UTF-8): Coletânea de utilitários básicos de sistema para Linux | |
16 | Summary(ru.UTF-8): Набор базовых системных утилит для Linux | |
17 | Summary(tr.UTF-8): Temel sistem araçları | |
18 | Summary(uk.UTF-8): Набір базових системних утиліт для Linux | |
19 | Name: util-linux | |
20 | Version: 2.13 | |
21 | %define _pre pre7 | |
22 | Release: 0.%{_pre}.1 | |
23 | License: distributable | |
24 | Group: Applications/System | |
25 | # devel versions at ftp://ftp.kernel.org/pub/linux/utils/util-linux/testing | |
26 | Source0: ftp://ftp.kernel.org/pub/linux/utils/util-linux/testing/%{name}-%{version}-%{_pre}.tar.bz2 | |
27 | # Source0-md5: 13cdf4b76533e8421dc49de188f85291 | |
28 | #Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 | |
29 | Source1: %{name}-non-english-man-pages.tar.bz2 | |
30 | # Source1-md5: 81bbcc9a820512ecde87a8f31de0b745 | |
31 | Source2: login.pamd | |
32 | Source3: rawdevices.init | |
33 | Source4: rawdevices.sysconfig | |
34 | Source5: %{name}-blockdev.init | |
35 | Source6: %{name}-blockdev.sysconfig | |
36 | Patch0: %{name}-MCONFIG.patch | |
37 | Patch1: %{name}-fdisk.patch | |
38 | Patch2: %{name}-utmpx.patch | |
39 | Patch3: %{name}-fhs.patch | |
40 | Patch4: %{name}-info.patch | |
41 | Patch5: %{name}-syscall.patch | |
42 | Patch6: %{name}-raw.patch | |
43 | Patch7: %{name}-posixsh.patch | |
44 | Patch8: %{name}-ppc-hwclock.patch | |
45 | Patch9: %{name}-amd64.patch | |
46 | Patch10: %{name}-dm_crypt.patch | |
47 | Patch11: %{name}-blk.patch | |
48 | Patch12: %{name}-managed.patch | |
49 | Patch13: %{name}-page.patch | |
50 | Patch14: %{name}-gcc4.patch | |
51 | Patch15: %{name}-2.12q-update-mtab-when-moving.patch | |
52 | Patch16: %{name}-2.12q-use-update_mtab-for-fake.patch | |
53 | Patch17: %{name}-2.12q-more-fake-checks-v2.patch | |
54 | Patch18: %{name}-2.12q-update_mtab-fixes.patch | |
55 | Patch19: %{name}-as_needed-fix.patch | |
56 | Patch20: %{name}-mount.helper-fake.patch | |
57 | BuildRequires: cryptsetup-devel | |
58 | BuildRequires: gettext-devel | |
59 | %{?with_selinux:BuildRequires: libselinux-devel} | |
60 | %{!?with_uClibc:BuildRequires: ncurses-devel >= 5.0} | |
61 | %{!?with_uClibc:BuildRequires: pam-devel >= 0.99.7.1} | |
62 | BuildRequires: rpmbuild(macros) >= 1.268 | |
63 | BuildRequires: texinfo | |
64 | %{!?with_uClibc:BuildRequires: zlib-devel} | |
65 | %{!?with_uClibc:Requires: pam >= 0.99.7.1} | |
66 | Provides: fdisk | |
67 | Obsoletes: cramfs | |
68 | Obsoletes: util-linux-suids | |
69 | Conflicts: shadow-extras < 1:4.0.3-6 | |
70 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
71 | ||
72 | %define debugcflags -O1 -g | |
73 | ||
74 | %description | |
75 | util-linux contains a large variety of low-level system utilities | |
76 | necessary for a functional Linux system. This includes, among other | |
77 | things, configuration tools such as fdisk and system programs such as | |
78 | logger. | |
79 | ||
80 | %description -l de.UTF-8 | |
81 | util-linux enthält eine große Anzahl an | |
82 | low-level-Systemdienstprogrammen, die für ein funktionierendes | |
83 | Linux-System erforderlich sind. Dazu gehören Konfigurationstools wie | |
84 | 'fdisk' und Systemprogramme wie 'logger'. | |
85 | ||
86 | %description -l es.UTF-8 | |
87 | util-linux contiene una gran variedad de utilitarios de sistema de | |
88 | bajo nivel necesarios a un sistema Linux funcional. Esto incluye, | |
89 | entre otras cosas, herramientas de configuración como fdisk y | |
90 | programas de sistema como login. | |
91 | ||
92 | %description -l fr.UTF-8 | |
93 | util-linux contient une grande variété d'utilitaire système bas niveau | |
94 | nécessaires au fonctionnement d'un système Linux. Cela comprend, entre | |
95 | autres, les outils de configuration comme fdisk et des programmes | |
96 | systèmes comme logger. | |
97 | ||
98 | %description -l pl.UTF-8 | |
99 | util-linux zawiera wiele różnych, niskopoziomowych narzędzi | |
100 | systemowych niezbędnych do prawidłowego działania Linuksa. W pakiecie | |
101 | znajdują się między innymi narzędzia konfiguracyjne, takie jak fdisk i | |
102 | programy systemowe, takie jak logger. | |
103 | ||
104 | %description -l pt_BR.UTF-8 | |
105 | util-linux contém uma grande variedade de utilitários de sistema de | |
106 | baixo-nível necessários para um sistema Linux funcional. Isso inclui, | |
107 | entre outras coisas, ferramentas de configuração como fdisk e | |
108 | programas de sistema como login. | |
109 | ||
110 | %description -l ru.UTF-8 | |
111 | Этот пакет содержит большой набор системных утилит низкого уровня, | |
112 | которые необходимы для функционирования системы Linux. Он включает, в | |
113 | числе прочих, инструменты конфигурации, такие как fdisk, и системные | |
114 | программы, такие как login. | |
115 | ||
116 | %description -l tr.UTF-8 | |
117 | şlevsel durumdaki bir Linux sistemi için gerekli birçok alt düzey | |
118 | sistem araçlarını içerir. Bunlar arasında fdisk gibi yapılandırma | |
119 | uygulamaları ve logger gibi sistem programları sayılabilir. | |
120 | ||
121 | %description -l uk.UTF-8 | |
122 | Цей пакет містить великий набір системних утиліт низького рівня, які | |
123 | необхідні для функціонування системи Linux. Він містить, окрім інших, | |
124 | конфігураційні інструменти (такі як fdisk) та системні програми (такі | |
125 | як login). | |
126 | ||
127 | %package -n blockdev | |
128 | Summary: Support for blockdev | |
129 | Summary(pl.UTF-8): Obsługa blockdev | |
130 | Group: Applications/System | |
131 | Requires(post,preun): /sbin/chkconfig | |
132 | Requires: coreutils | |
133 | Requires: rc-scripts | |
134 | #Requires: uname(release) >= 2.6 | |
135 | ||
136 | %description -n blockdev | |
137 | The utility blockdev allows one to call block device ioctls from the | |
138 | command line. This package also includes initscript to set blockdev | |
139 | parameters at system startup. | |
140 | ||
141 | %description -n blockdev -l pl.UTF-8 | |
142 | Narzędzie blockdev pozwala na wywołania ioctl dla urządzeń blokowych z | |
143 | linii poleceń. Ten pakiet zawiera także skrypt inicjalizacyjny do | |
144 | ustawiania parametrów blockdev przy starcie systemu. | |
145 | ||
146 | %package -n losetup | |
147 | Summary: Programs for setting up and configuring loopback devices | |
148 | Summary(de.UTF-8): Programme zum Einrichten und Konfigurieren von Loopback-Geräten | |
149 | Summary(fr.UTF-8): Programmes pour mettre en place et configurer les loopback | |
150 | Summary(pl.UTF-8): Program do konfiguracji urządzenia blokowego loopback | |
151 | Summary(ru.UTF-8): Программы для настройки loopback-устройств | |
152 | Summary(tr.UTF-8): Yerel-çevrim aygıtlarının kurulması ve ayarlanması için programlar | |
153 | Summary(uk.UTF-8): Програми для конфігурації loopback-пристроїв | |
154 | Group: Applications/System | |
155 | ||
156 | %description -n losetup | |
157 | Linux supports a special block device called the loopback device, | |
158 | which maps a normal file onto a virtual block device. This package | |
159 | contains programs for setting up and removing the mapping between | |
160 | files and loopback devices. | |
161 | ||
162 | Block loopback devices should not be confused with the networking | |
163 | loopback device, which is configured with the normal ifconfig command. | |
164 | ||
165 | %description -n losetup -l de.UTF-8 | |
166 | Linux unterstützt ein spezielles Blockgerät, das sogenannte Loopback, | |
167 | das eine normale Datei auf ein virtuelles Blockgerät abbildet. Das | |
168 | Paket enthält Programme zum Einrichten und Entfernen der Zuordnung | |
169 | zwischen Dateien und Loopback-Geräten. | |
170 | ||
171 | %description -n losetup -l fr.UTF-8 | |
172 | Linux gère un périphérique bloc spécial appelé « loopback », qui | |
173 | correspond à un fichier normal sur un périphérique bloc virtuel. Ce | |
174 | paquetage contient les programmes pour configurer et supprimer la | |
175 | correspondance entre les fichiers et les périphériques loopback. | |
176 | ||
177 | Les périphériques bloc loopback ne doivent pas être confondus avec le | |
178 | périphérique loopback du réseau, configuré avec la commande ifconfig | |
179 | normale. | |
180 | ||
181 | %description -n losetup -l pl.UTF-8 | |
182 | Linux wspiera specjalne urządzenie blokowe loopback, które mapuje | |
183 | normalny plik w wirtualne urządzenie blokowe. Pakiet ten zawiera | |
184 | program, przy pomocy którego będziesz mógł je skonfigurować. | |
185 | ||
186 | Urządzenie blokowe loopback nie powinno być mylone z sieciowym | |
187 | interfejsem loopback, który jest konfigurowany przy pomocy polecenia | |
188 | ifconfig. | |
189 | ||
190 | %description -n losetup -l ru.UTF-8 | |
191 | Linux поддерживает специальное блочное устройство, называемое | |
192 | loopback, которое отображает обычный файл в виртуальное блочное | |
193 | устройство. Это позволяет использовать файл как виртуальную файловую | |
194 | систему. Losetup используется для связи loopback-устройств с обычными | |
195 | файлами или блочными устройствами, для отсоединения loopback-устройств | |
196 | и запросов их статуса. | |
197 | ||
198 | %description -n losetup -l tr.UTF-8 | |
199 | Linux özel bir blok aygıt olan yerel-çevrim aygıtını (loopback device) | |
200 | destekler. Bu aygıt normal bir dosyanın sanal bir blok aygıtı üzerine | |
201 | haritasını çıkarır. Bu paket, dosyalar ve yerel-çevrim aygıtları | |
202 | arasındaki haritalama işleminin kurulması ve kaldırılması için | |
203 | programlar içerir. Blok yerel-çevrim aygıtı ifconfig komutu ile | |
204 | yapılandırılan ağ yerel-çevrim aygıtı ile karıştırılmamalıdır. | |
205 | ||
206 | %description -n losetup -l uk.UTF-8 | |
207 | Linux підтримує спеціальний блочний пристрій, loopback, який | |
208 | відображує звичайний файл у віртуальний блочний пристрій. Це дозволяє | |
209 | використовувати файл як віртуальну файлову систему. Losetup | |
210 | використовують для зв'язку loopback-пристроїв зі звичайними файлами | |
211 | або блочними пристроями, для від'єднання loopback-пристроїв та | |
212 | запросів їх стану. | |
213 | ||
214 | %package -n mount | |
215 | Summary: Programs for mounting and unmounting filesystems | |
216 | Summary(de.UTF-8): Programme zum montieren und abmontieren von Dateisystemen | |
217 | Summary(fr.UTF-8): Programme pour monter et démonter des systèmes de fichiers | |
218 | Summary(pl.UTF-8): Programy do montowania i odmontowywania systemów plików | |
219 | Summary(ru.UTF-8): Программы для монтирования и размонтирования файловых систем | |
220 | Summary(tr.UTF-8): Dosya sistemlerini bağlamak ve çözmek için programlar | |
221 | Summary(uk.UTF-8): Програми для монтування та розмонтування файлових систем | |
222 | Group: Applications/System | |
223 | Requires: cryptsetup >= 0.2-1.pre1.4 | |
224 | Requires: libgcrypt >= 1.2.0-6 | |
225 | Requires: libgpg-error >= 1.0-4 | |
226 | ||
227 | %description -n mount | |
228 | mount is used for adding new filesystems, both local and networked, to | |
229 | your current directory structure. The filesystems must already exist | |
230 | for this to work. It can also be used to change the access types the | |
231 | kernel uses for already-mounted filesystems. | |
232 | ||
233 | This package is critical for the functionality of your system. | |
234 | ||
235 | %description -n mount -l de.UTF-8 | |
236 | mount wird zum Hinzufügen neuer Dateisysteme (lokal und im Netzwerk) | |
237 | zu Ihrer aktuellen Verzeichnisstruktur verwendet. Die Dateisysteme | |
238 | müssen bereits existieren. Außerdem können die Zugriffstypen geändert | |
239 | werden, die der Kernel für bereits montierte Dateisysteme verwendet. | |
240 | ||
241 | Dieses Paket ist für Ihr System unbedingt erforderlich. | |
242 | ||
243 | %description -n mount -l fr.UTF-8 | |
244 | mount sert à ajouter de nouveaux systèmes de fichiers, locaux ou | |
245 | réseaux, à votre structure de répertoire. Les systèmes de fichiers | |
246 | doivent déjà exister pour que cela fonctionne. Il peut aussi servir à | |
247 | changer les types d'accès pour les systèmes de fichiers déjà montés. | |
248 | ||
249 | Ce paquetage est critique pour le fonctionnement de votre système. | |
250 | ||
251 | %description -n mount -l pl.UTF-8 | |
252 | Program mount jest używany przez system do montowania systemów plików, | |
253 | zarówno lokalnych jak i sieciowych (np. NFS). | |
254 | ||
255 | Pakiet ten jest niezbędny do prawidłowej pracy twojego Linuksa. | |
256 | ||
257 | %description -n mount -l ru.UTF-8 | |
258 | Пакет mount содержит программы mount, umount, swapon и swapoff. Файлы | |
259 | в вашей системе организованы в виде одного большого дерева или | |
260 | иерархии. Эти файлы могут быть размещены на разных устройствах. | |
261 | Команда mount присоединяет файловую систему на некотором устройстве к | |
262 | дереву файлов вашей системы. Команда umount отсоединяет файловую | |
263 | систему от дерева. Swapon и swapoff, соответственно, разрешает и | |
264 | запрещает своппинг в определенные файлы и устройства. | |
265 | ||
266 | %description -n mount -l tr.UTF-8 | |
267 | mount, hem yerel hem de ağ dosya sistemlerinin dizin yapısına | |
268 | eklenmesi için kullanılır. Bunun için bağlanacak dosya sisteminin | |
269 | önceden hazırlanmış olması gerekir. Aynı zamanda çekirdeğin bağlanmış | |
270 | dosya sistemlerine erişimini değiştirmek için de kullanılır. Bu paket | |
271 | sisteminizin işlevselliği açısından kritiktir. | |
272 | ||
273 | %description -n mount -l uk.UTF-8 | |
274 | Пакет mount містить програми mount, umount, swapon та swapoff. Файли у | |
275 | вашій системі організовані у вигляді одного великого дерева або | |
276 | ієрархії. Ці файли можуть бути розташовані на різних пристроях. | |
277 | Команда mount під'єднує файлову систему на деякому пристрої до дерева | |
278 | файлів вашої системи. Команда umount від'єднує файлову систему від | |
279 | дерева. Swapon та swapoff, відповідно, дозволяє та заборонює свопінг у | |
280 | визначені файли або пристрої. | |
281 | ||
282 | %package chkdupexe | |
283 | Summary: chkdupexe - find duplicate executables | |
284 | Summary(pl.UTF-8): chkdupexe odszukuje powtarzające się pliki uruchamialne | |
285 | Group: Applications/System | |
286 | ||
287 | %description chkdupexe | |
288 | chkdupexe will scan the union of $PATH and a hardcoded list of common | |
289 | locations for binaries. It will report dangling symlinks and | |
290 | duplicately-named binaries. | |
291 | ||
292 | %description chkdupexe -l pl.UTF-8 | |
293 | chkdupexe przeszukuje katalogi z $PATH oraz inne powszechnie znane | |
294 | katalogi z plikami uruchamialnymi i informuje o powtarzających się | |
295 | plikach w różnych katalogach. | |
296 | ||
297 | %package -n tunelp | |
298 | Summary: Configures kernel parallel port driver | |
299 | Summary(de.UTF-8): Konfiguriert den Kerneltreiber für den parallelen Port | |
300 | Summary(fr.UTF-8): Configure le pilote du port parallèle dans le noyau | |
301 | Summary(pl.UTF-8): Program do konfigurowania sterownika portu równoległego | |
302 | Summary(tr.UTF-8): Çekirdeğin paralel bağlantı noktası sürücüsünü ayarlar | |
303 | Group: Applications/System | |
304 | ||
305 | %description -n tunelp | |
306 | tunelp aids in configuring the kernel parallel port driver. | |
307 | ||
308 | %description -n tunelp -l de.UTF-8 | |
309 | tunelp hilft bei der Konfiguration des Kernel-Parallelport-Treibers. | |
310 | ||
311 | %description -n tunelp -l fr.UTF-8 | |
312 | « tunelp » aide à configurer le pilote du noyau pour le port | |
313 | parallèle. | |
314 | ||
315 | %description -n tunelp -l pl.UTF-8 | |
316 | Program do konfigurowania sterownika portu równoległego. | |
317 | ||
318 | %description -n tunelp -l tr.UTF-8 | |
319 | Paralel bağlantı noktası sürücüsünü ayarlar. | |
320 | ||
321 | %package -n login | |
322 | Summary: login is used when signing onto a system | |
323 | Summary(pl.UTF-8): login jest używany do rozpoczęcia pracy w systemie | |
324 | Group: Applications/System | |
325 | Requires: pam >= 0.99.7.1 | |
326 | Obsoletes: heimdal-login | |
327 | ||
328 | %description -n login | |
329 | login is used when signing onto a system. It can also be used to | |
330 | switch from one user to another at any time (most modern shells have | |
331 | support for this feature built into them, however). | |
332 | ||
333 | %description -n login -l pl.UTF-8 | |
334 | login jest używany do rozpoczęcia pracy w systemie. Może być używany | |
335 | do przełączania z jednego użytkownika na innego w każdym momencie | |
336 | (jednak większość nowoczesnych powłok ma takie funkcje wbudowane). | |
337 | ||
338 | %package -n agetty | |
339 | Summary: Alternative Linux getty | |
340 | Summary(pl.UTF-8): Alternatywny getty | |
341 | Group: Applications/System | |
342 | Requires: login | |
343 | ||
344 | %description -n agetty | |
345 | agetty is simple Linux getty with serial support. | |
346 | ||
347 | %description -n agetty -l pl.UTF-8 | |
348 | agetty jest prostym linuksowym getty z obsługą portu szeregowego. | |
349 | ||
350 | %package -n rawdevices | |
351 | Summary: Support for raw-devices | |
352 | Summary(pl.UTF-8): Obsługa raw-device'ów | |
353 | Group: Applications/System | |
354 | Requires(post,preun): /sbin/chkconfig | |
355 | Requires: rc-scripts | |
356 | ||
357 | %description -n rawdevices | |
358 | Support for raw-devices. | |
359 | ||
360 | %description -n rawdevices -l pl.UTF-8 | |
361 | Obsługa raw-device'ów. | |
362 | ||
363 | %prep | |
364 | %setup -q -a1 | |
365 | %patch0 -p1 | |
366 | %patch1 -p1 | |
367 | %patch2 -p1 | |
368 | %patch3 -p1 | |
369 | %patch4 -p1 | |
370 | %patch5 -p1 | |
371 | %patch6 -p1 | |
372 | %patch7 -p1 | |
373 | %patch8 -p1 | |
374 | %patch9 -p1 | |
375 | %patch10 -p1 | |
376 | %patch11 -p1 | |
377 | %patch12 -p0 | |
378 | %patch13 -p1 | |
379 | %patch14 -p1 | |
380 | %patch15 -p1 | |
381 | %patch16 -p1 | |
382 | %patch17 -p1 | |
383 | %patch18 -p1 | |
384 | %patch19 -p0 | |
385 | %patch20 -p1 | |
386 | ||
387 | %build | |
388 | CC="%{__cc}" | |
389 | LDFLAGS="%{rpmldflags}" | |
390 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" | |
391 | export CC CFLAGS LDFLAGS | |
392 | # using %%configure2_13 isn't very wise here, it is not autoconf generated | |
393 | # configure and it doesn't take any parameters | |
394 | ./configure | |
395 | ||
396 | %{?with_uClibc:echo 'char *nl_langinfo (nl_item x){return "";}' >> misc-utils/cal.c} | |
397 | %{__make} \ | |
398 | OPT="%{rpmcflags}" \ | |
399 | MOREHELPDIR=%{_datadir}/misc \ | |
400 | %{!?with_uClibc:ADD_RAW="yes"} \ | |
401 | %{?with_uClibc:HAVE_RAW_H="no" HAVE_PAM="no"} \ | |
402 | %{!?with_selinux:HAVE_SELINUX="no"} | |
403 | ||
404 | %ifarch ppc | |
405 | %{__cc} %{rpmcflags} %{rpmldflags} clock-ppc.c -o clock-ppc | |
406 | %endif | |
407 | ||
408 | cd sys-utils | |
409 | makeinfo ipc.texi | |
410 | ||
411 | %install | |
412 | rm -rf $RPM_BUILD_ROOT | |
413 | ||
414 | install -d $RPM_BUILD_ROOT{/bin,/sbin,/etc/{pam.d,logrotate,rc.d/init.d,sysconfig}} \ | |
415 | $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_infodir},%{_datadir}/misc} \ | |
416 | $RPM_BUILD_ROOT{%{_examplesdir},%{_mandir}/man{1,5,6,8}} | |
417 | ||
418 | %{__make} install \ | |
419 | DESTDIR=$RPM_BUILD_ROOT \ | |
420 | INSTALLSUID="install -m 755" \ | |
421 | MOREHELPDIR=$RPM_BUILD_ROOT%{_datadir}/misc \ | |
422 | GETOPTDIR=$RPM_BUILD_ROOT%{_examplesdir}/getopt \ | |
423 | USRGAMESDIR=$RPM_BUILD_ROOT%{_bindir} \ | |
424 | USE_TTY_GROUP=no \ | |
425 | %{!?with_selinux:HAVE_SELINUX="no"} \ | |
426 | %{!?with_uClibc:ADD_RAW="yes"} \ | |
427 | %{?with_uClibc:HAVE_RAW_H="no" HAVE_PAM="no"} | |
428 | ||
429 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/login | |
430 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/rawdevices | |
431 | install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/rawdevices | |
432 | install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/blockdev | |
433 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/blockdev | |
434 | ||
435 | install -d $RPM_BUILD_ROOT{/etc/security,/var/lock} | |
436 | ||
437 | > $RPM_BUILD_ROOT/etc/security/blacklist.login | |
438 | ||
439 | :> $RPM_BUILD_ROOT/var/lock/wtmpxlock | |
440 | ||
441 | %ifarch ppc | |
442 | mv -f $RPM_BUILD_ROOT/sbin/hwclock $RPM_BUILD_ROOT/sbin/hwclock.rtc | |
443 | install clock-ppc $RPM_BUILD_ROOT/sbin/hwclock.adb | |
444 | #yneed fix: | |
445 | # hwclock.adb is for PowerMac (default) | |
446 | # hwclock.rtc is for RS/6000 (PreP,CHRP) | |
447 | ln -sf hwclock.adb $RPM_BUILD_ROOT/sbin/hwclock | |
448 | %endif | |
449 | ||
450 | ln -sf hwclock $RPM_BUILD_ROOT/sbin/clock | |
451 | echo '.so hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/man8/clock.8 | |
452 | ||
453 | ln -sf swapon $RPM_BUILD_ROOT/sbin/swapoff | |
454 | ||
455 | for d in cs de es fi fr hu id it ja ko nl pl ; do | |
456 | for m in man1 man5 man8 ; do | |
457 | if [ -d man/$d/$m ]; then | |
458 | install -d $RPM_BUILD_ROOT%{_mandir}/$d/$m | |
459 | install man/$d/$m/* $RPM_BUILD_ROOT%{_mandir}/$d/$m | |
460 | fi | |
461 | done | |
462 | done | |
463 | ||
464 | # cleanup, remove files not included in package | |
465 | rm -f $RPM_BUILD_ROOT%{_bindir}/{chfn,chsh,newgrp} \ | |
466 | $RPM_BUILD_ROOT%{_sbindir}/{vifr,vipw} \ | |
467 | $RPM_BUILD_ROOT%{_mandir}/man1/{chfn,chsh,newgrp,sg}.1 \ | |
468 | $RPM_BUILD_ROOT%{_mandir}/man8/{sln,vigr,vipw}.8 \ | |
469 | $RPM_BUILD_ROOT%{_mandir}/*/man1/{chfn,chsh,clear,last,mesg,newgrp,od,passwd,reset,sg,wall}.1 \ | |
470 | $RPM_BUILD_ROOT%{_mandir}/*/man8/{display-services,fast*,halt,initctl,need,provide,reboot,shutdown,simpleinit,sln,vigr,vipw}.8 | |
471 | %ifnarch %{ix86} | |
472 | rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/{ramsize,rdev,rootflags,vidmode}.8 | |
473 | %endif | |
474 | %ifarch sparc sparc64 | |
475 | rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/{cfdisk,sfdisk}.8 | |
476 | %endif | |
477 | ||
478 | %{!?with_uClibc:%find_lang %{name}} | |
479 | ||
480 | %clean | |
481 | rm -rf $RPM_BUILD_ROOT | |
482 | ||
483 | %post | |
484 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
485 | ||
486 | %postun | |
487 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
488 | ||
489 | %post -n blockdev | |
490 | /sbin/chkconfig --add blockdev | |
491 | %service blockdev restart | |
492 | ||
493 | %preun -n blockdev | |
494 | if [ "$1" = "0" ]; then | |
495 | %service blockdev stop | |
496 | /sbin/chkconfig --del blockdev | |
497 | fi | |
498 | ||
499 | %post -n rawdevices | |
500 | /sbin/chkconfig --add rawdevices | |
501 | %service rawdevices restart | |
502 | ||
503 | %preun -n rawdevices | |
504 | if [ "$1" = "0" ]; then | |
505 | %service rawdevices stop | |
506 | /sbin/chkconfig --del rawdevices | |
507 | fi | |
508 | ||
509 | %files %{!?with_uClibc:-f %{name}.lang} | |
510 | %defattr(644,root,root,755) | |
511 | %doc */README.* text-utils/LICENSE.pg | |
512 | ||
513 | %attr(755,root,root) /sbin/clock | |
514 | %ifarch ppc | |
515 | %attr(755,root,root) %config(noreplace) %verify(not link) /sbin/hwclock | |
516 | %attr(755,root,root) /sbin/hwclock.adb | |
517 | %attr(755,root,root) /sbin/hwclock.rtc | |
518 | %else | |
519 | %attr(755,root,root) /sbin/hwclock* | |
520 | %endif | |
521 | ||
522 | %{_mandir}/man8/clock.8* | |
523 | %{_mandir}/man8/hwclock.8* | |
524 | %lang(es) %{_mandir}/es/man8/clock.8* | |
525 | %lang(es) %{_mandir}/es/man8/hwclock.8* | |
526 | %lang(ja) %{_mandir}/ja/man8/clock.8* | |
527 | %lang(ja) %{_mandir}/ja/man8/hwclock.8* | |
528 | ||
529 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fdprm | |
530 | ||
531 | %attr(755,root,root) /bin/arch | |
532 | %attr(755,root,root) /bin/dmesg | |
533 | %attr(755,root,root) /bin/kill | |
534 | %{!?with_uClibc:%attr(755,root,root) /bin/more} | |
535 | %attr(755,root,root) /sbin/mkfs | |
536 | %attr(755,root,root) /sbin/mkswap | |
537 | %attr(755,root,root) /sbin/ctrlaltdel | |
538 | %attr(755,root,root) /sbin/elvtune | |
539 | %attr(755,root,root) %{_bindir}/cal | |
540 | %attr(755,root,root) %{_bindir}/col | |
541 | %attr(755,root,root) %{_bindir}/colcrt | |
542 | %attr(755,root,root) %{_bindir}/colrm | |
543 | %attr(755,root,root) %{_bindir}/column | |
544 | %attr(755,root,root) %{_bindir}/ddate | |
545 | %attr(755,root,root) %{_bindir}/fdformat | |
546 | %attr(755,root,root) %{_bindir}/flock | |
547 | %attr(755,root,root) %{_bindir}/getopt | |
548 | %attr(755,root,root) %{_bindir}/hexdump | |
549 | %attr(755,root,root) %{_bindir}/ipcrm | |
550 | %attr(755,root,root) %{_bindir}/ipcs | |
551 | %attr(755,root,root) %{_bindir}/isosize | |
552 | %attr(755,root,root) %{_bindir}/line | |
553 | %attr(755,root,root) %{_bindir}/logger | |
554 | %attr(755,root,root) %{_bindir}/look | |
555 | %attr(755,root,root) %{_bindir}/mcookie | |
556 | %attr(755,root,root) %{_bindir}/namei | |
557 | %{!?with_uClibc:%attr(755,root,root) %{_bindir}/pg} | |
558 | %attr(755,root,root) %{_bindir}/renice | |
559 | %attr(755,root,root) %{_bindir}/rev | |
560 | %attr(755,root,root) %{_bindir}/script | |
561 | %attr(755,root,root) %{_bindir}/setsid | |
562 | %attr(755,root,root) %{_bindir}/setfdprm | |
563 | %attr(755,root,root) %{_bindir}/rename | |
564 | %{!?with_uClibc:%attr(755,root,root) %{_bindir}/setterm} | |
565 | %{!?with_uClibc:%attr(755,root,root) %{_bindir}/ul} | |
566 | %attr(755,root,root) %{_bindir}/whereis | |
567 | %attr(2755,root,tty) %{_bindir}/write | |
568 | %attr(755,root,root) %{_bindir}/tailf | |
569 | %attr(755,root,root) %{_sbindir}/readprofile | |
570 | ||
571 | %{_mandir}/man1/arch.1* | |
572 | %{_mandir}/man1/cal.1* | |
573 | %{_mandir}/man1/col.1* | |
574 | %{_mandir}/man1/colcrt.1* | |
575 | %{_mandir}/man1/colrm.1* | |
576 | %{_mandir}/man1/column.1* | |
577 | %{_mandir}/man1/ddate.1* | |
578 | %{_mandir}/man1/flock.1* | |
579 | %{_mandir}/man1/getopt.1* | |
580 | %{_mandir}/man1/hexdump.1* | |
581 | %{_mandir}/man1/kill.1* | |
582 | %{_mandir}/man1/line.1* | |
583 | %{_mandir}/man1/logger.1* | |
584 | %{_mandir}/man1/look.1* | |
585 | %{_mandir}/man1/mcookie.1* | |
586 | %{!?with_uClibc:%{_mandir}/man1/more.1*} | |
587 | %{_mandir}/man1/namei.1* | |
588 | %{!?with_uClibc:%{_mandir}/man1/pg.1*} | |
589 | %{_mandir}/man1/readprofile.1* | |
590 | %{_mandir}/man1/rev.1* | |
591 | %{_mandir}/man1/rename.1* | |
592 | %{_mandir}/man1/script.1* | |
593 | %{!?with_uClibc:%{_mandir}/man1/setterm.1*} | |
594 | %{!?with_uClibc:%{_mandir}/man1/ul.1*} | |
595 | %{_mandir}/man1/whereis.1* | |
596 | %{_mandir}/man1/write.1* | |
597 | %{_mandir}/man1/tailf.1* | |
598 | ||
599 | %{_mandir}/man8/ctrlaltdel.8* | |
600 | %{_mandir}/man8/cytune.8* | |
601 | %{_mandir}/man8/dmesg.8* | |
602 | %{_mandir}/man8/elvtune.8* | |
603 | %{_mandir}/man8/fdformat.8* | |
604 | %{_mandir}/man8/ipcrm.8* | |
605 | %{_mandir}/man8/ipcs.8* | |
606 | %{_mandir}/man8/isosize.8* | |
607 | %{_mandir}/man8/mkswap.8* | |
608 | %{_mandir}/man8/renice.8* | |
609 | %{_mandir}/man8/setfdprm.8* | |
610 | %{_mandir}/man8/setsid.8* | |
611 | ||
612 | %lang(cs) %{_mandir}/cs/man1/write.1* | |
613 | ||
614 | %lang(de) %{_mandir}/de/man1/kill.1* | |
615 | %lang(de) %{_mandir}/de/man1/more.1* | |
616 | %lang(de) %{_mandir}/de/man1/write.1* | |
617 | ||
618 | %lang(de) %{_mandir}/de/man8/fdformat.8* | |
619 | ||
620 | %lang(es) %{_mandir}/es/man1/arch.1* | |
621 | %lang(es) %{_mandir}/es/man1/colrm.1* | |
622 | %lang(es) %{_mandir}/es/man1/column.1* | |
623 | %lang(es) %{_mandir}/es/man1/ddate.1* | |
624 | %lang(es) %{_mandir}/es/man1/getopt.1* | |
625 | %lang(es) %{_mandir}/es/man1/look.1* | |
626 | %lang(es) %{_mandir}/es/man1/more.1* | |
627 | %lang(es) %{_mandir}/es/man1/namei.1* | |
628 | %lang(es) %{_mandir}/es/man1/readprofile.1* | |
629 | %lang(es) %{_mandir}/es/man1/rev.1* | |
630 | %lang(es) %{_mandir}/es/man1/script.1* | |
631 | %lang(es) %{_mandir}/es/man1/setterm.1* | |
632 | %lang(es) %{_mandir}/es/man1/ul.1* | |
633 | %lang(es) %{_mandir}/es/man1/whereis.1* | |
634 | %lang(es) %{_mandir}/es/man1/write.1* | |
635 | ||
636 | %lang(es) %{_mandir}/es/man8/cytune.8* | |
637 | %lang(es) %{_mandir}/es/man8/ctrlaltdel.8* | |
638 | %lang(es) %{_mandir}/es/man8/ipcrm.8* | |
639 | %lang(es) %{_mandir}/es/man8/ipcs.8* | |
640 | %lang(es) %{_mandir}/es/man8/mkswap.8* | |
641 | %lang(es) %{_mandir}/es/man8/renice.8* | |
642 | %lang(es) %{_mandir}/es/man8/setfdprm.8* | |
643 | %lang(es) %{_mandir}/es/man8/setsid.8* | |
644 | ||
645 | %lang(fi) %{_mandir}/fi/man1/arch.1* | |
646 | %lang(fi) %{_mandir}/fi/man1/cal.1* | |
647 | %lang(fi) %{_mandir}/fi/man1/column.1* | |
648 | %lang(fi) %{_mandir}/fi/man1/kill.1* | |
649 | %lang(fi) %{_mandir}/fi/man1/more.1* | |
650 | %lang(fi) %{_mandir}/fi/man1/whereis.1* | |
651 | %lang(fi) %{_mandir}/fi/man1/write.1* | |
652 | ||
653 | %lang(fr) %{_mandir}/fr/man1/arch.1* | |
654 | %lang(fr) %{_mandir}/fr/man1/cal.1* | |
655 | %lang(fr) %{_mandir}/fr/man1/col.1* | |
656 | %lang(fr) %{_mandir}/fr/man1/kill.1* | |
657 | %lang(fr) %{_mandir}/fr/man1/more.1* | |
658 | %lang(fr) %{_mandir}/fr/man1/rev.1* | |
659 | %lang(fr) %{_mandir}/fr/man1/whereis.1* | |
660 | %lang(fr) %{_mandir}/fr/man1/write.1* | |
661 | ||
662 | %lang(fr) %{_mandir}/fr/man8/ctrlaltdel.8* | |
663 | %lang(fr) %{_mandir}/fr/man8/dmesg.8* | |
664 | %lang(fr) %{_mandir}/fr/man8/fdformat.8* | |
665 | %lang(fr) %{_mandir}/fr/man8/ipcrm.8* | |
666 | %lang(fr) %{_mandir}/fr/man8/ipcs.8* | |
667 | %lang(fr) %{_mandir}/fr/man8/setsid.8* | |
668 | ||
669 | %lang(hu) %{_mandir}/hu/man1/arch.1* | |
670 | %lang(hu) %{_mandir}/hu/man1/cal.1* | |
671 | %lang(hu) %{_mandir}/hu/man1/colrm.1* | |
672 | %lang(hu) %{_mandir}/hu/man1/hexdump.1* | |
673 | %lang(hu) %{_mandir}/hu/man1/kill.1* | |
674 | %lang(hu) %{_mandir}/hu/man1/logger.1* | |
675 | %lang(hu) %{_mandir}/hu/man1/more.1* | |
676 | %lang(hu) %{_mandir}/hu/man1/setterm.1* | |
677 | %lang(hu) %{_mandir}/hu/man1/whereis.1* | |
678 | %lang(hu) %{_mandir}/hu/man1/write.1* | |
679 | ||
680 | %lang(hu) %{_mandir}/hu/man8/ctrlaltdel.8* | |
681 | %lang(hu) %{_mandir}/hu/man8/fdformat.8* | |
682 | %lang(hu) %{_mandir}/hu/man8/mkswap.8* | |
683 | ||
684 | %lang(id) %{_mandir}/id/man1/cal.1* | |
685 | %lang(id) %{_mandir}/id/man1/kill.1* | |
686 | %lang(id) %{_mandir}/id/man1/logger.1* | |
687 | %lang(id) %{_mandir}/id/man1/more.1* | |
688 | %lang(id) %{_mandir}/id/man1/script.1* | |
689 | %lang(id) %{_mandir}/id/man1/write.1* | |
690 | ||
691 | %lang(id) %{_mandir}/id/man8/fdformat.8* | |
692 | ||
693 | %lang(it) %{_mandir}/it/man1/arch.1* | |
694 | %lang(it) %{_mandir}/it/man1/cal.1* | |
695 | %lang(it) %{_mandir}/it/man1/kill.1* | |
696 | %lang(it) %{_mandir}/it/man1/rename.1* | |
697 | %lang(it) %{_mandir}/it/man1/rev.1* | |
698 | ||
699 | %lang(it) %{_mandir}/it/man8/ctrlaltdel.8* | |
700 | %lang(it) %{_mandir}/it/man8/dmesg.8* | |
701 | %lang(it) %{_mandir}/it/man8/fdformat.8* | |
702 | %lang(it) %{_mandir}/it/man8/ipcrm.8* | |
703 | %lang(it) %{_mandir}/it/man8/ipcs.8* | |
704 | %lang(it) %{_mandir}/it/man8/mkfs.8* | |
705 | %lang(it) %{_mandir}/it/man8/mkswap.8* | |
706 | %lang(it) %{_mandir}/it/man8/setsid.8* | |
707 | ||
708 | %lang(ja) %{_mandir}/ja/man1/arch.1* | |
709 | %lang(ja) %{_mandir}/ja/man1/cal.1* | |
710 | %lang(ja) %{_mandir}/ja/man1/col.1* | |
711 | %lang(ja) %{_mandir}/ja/man1/colcrt.1* | |
712 | %lang(ja) %{_mandir}/ja/man1/colrm.1* | |
713 | %lang(ja) %{_mandir}/ja/man1/column.1* | |
714 | %lang(ja) %{_mandir}/ja/man1/ddate.1* | |
715 | %lang(ja) %{_mandir}/ja/man1/getopt.1* | |
716 | %lang(ja) %{_mandir}/ja/man1/hexdump.1* | |
717 | %lang(ja) %{_mandir}/ja/man1/kill.1* | |
718 | %lang(ja) %{_mandir}/ja/man1/line.1* | |
719 | %lang(ja) %{_mandir}/ja/man1/logger.1* | |
720 | %lang(ja) %{_mandir}/ja/man1/look.1* | |
721 | %lang(ja) %{_mandir}/ja/man1/mcookie.1* | |
722 | %lang(ja) %{_mandir}/ja/man1/more.1* | |
723 | %lang(ja) %{_mandir}/ja/man1/namei.1* | |
724 | %lang(ja) %{_mandir}/ja/man1/readprofile.1* | |
725 | %lang(ja) %{_mandir}/ja/man1/rename.1* | |
726 | %lang(ja) %{_mandir}/ja/man1/replay.1* | |
727 | %lang(ja) %{_mandir}/ja/man1/rev.1* | |
728 | %lang(ja) %{_mandir}/ja/man1/script.1* | |
729 | %lang(ja) %{_mandir}/ja/man1/setterm.1* | |
730 | %lang(ja) %{_mandir}/ja/man1/ul.1* | |
731 | %lang(ja) %{_mandir}/ja/man1/whereis.1* | |
732 | %lang(ja) %{_mandir}/ja/man1/write.1* | |
733 | ||
734 | %lang(ja) %{_mandir}/ja/man8/ctrlaltdel.8* | |
735 | %lang(ja) %{_mandir}/ja/man8/cytune.8* | |
736 | %lang(ja) %{_mandir}/ja/man8/dmesg.8* | |
737 | %lang(ja) %{_mandir}/ja/man8/elvtune.8* | |
738 | %lang(ja) %{_mandir}/ja/man8/fdformat.8* | |
739 | %lang(ja) %{_mandir}/ja/man8/ipcrm.8* | |
740 | %lang(ja) %{_mandir}/ja/man8/ipcs.8* | |
741 | %lang(ja) %{_mandir}/ja/man8/isosize.8* | |
742 | %lang(ja) %{_mandir}/ja/man8/mkswap.8* | |
743 | %lang(ja) %{_mandir}/ja/man8/renice.8* | |
744 | %lang(ja) %{_mandir}/ja/man8/setfdprm.8* | |
745 | %lang(ja) %{_mandir}/ja/man8/setsid.8* | |
746 | ||
747 | %lang(ko) %{_mandir}/ko/man1/arch.1* | |
748 | %lang(ko) %{_mandir}/ko/man1/cal.1* | |
749 | %lang(ko) %{_mandir}/ko/man1/col.1* | |
750 | %lang(ko) %{_mandir}/ko/man1/colcrt.1* | |
751 | %lang(ko) %{_mandir}/ko/man1/colrm.1* | |
752 | %lang(ko) %{_mandir}/ko/man1/column.1* | |
753 | %lang(ko) %{_mandir}/ko/man1/ddate.1* | |
754 | %lang(ko) %{_mandir}/ko/man1/getopt.1* | |
755 | %lang(ko) %{_mandir}/ko/man1/hexdump.1* | |
756 | %lang(ko) %{_mandir}/ko/man1/kill.1* | |
757 | %lang(ko) %{_mandir}/ko/man1/logger.1* | |
758 | %lang(ko) %{_mandir}/ko/man1/look.1* | |
759 | %lang(ko) %{_mandir}/ko/man1/mcookie.1* | |
760 | %lang(ko) %{_mandir}/ko/man1/more.1* | |
761 | %lang(ko) %{_mandir}/ko/man1/namei.1* | |
762 | %lang(ko) %{_mandir}/ko/man1/readprofile.1* | |
763 | %lang(ko) %{_mandir}/ko/man1/rev.1* | |
764 | %lang(ko) %{_mandir}/ko/man1/script.1* | |
765 | %lang(ko) %{_mandir}/ko/man1/setterm.1* | |
766 | %lang(ko) %{_mandir}/ko/man1/ul.1* | |
767 | %lang(ko) %{_mandir}/ko/man1/whereis.1* | |
768 | %lang(ko) %{_mandir}/ko/man1/write.1* | |
769 | ||
770 | %lang(ko) %{_mandir}/ko/man8/ctrlaltdel.8* | |
771 | %lang(ko) %{_mandir}/ko/man8/dmesg.8* | |
772 | %lang(ko) %{_mandir}/ko/man8/fdformat.8* | |
773 | %lang(ko) %{_mandir}/ko/man8/ipcrm.8* | |
774 | %lang(ko) %{_mandir}/ko/man8/ipcs.8* | |
775 | %lang(ko) %{_mandir}/ko/man8/mkswap.8* | |
776 | %lang(ko) %{_mandir}/ko/man8/renice.8* | |
777 | %lang(ko) %{_mandir}/ko/man8/setfdprm.8* | |
778 | %lang(ko) %{_mandir}/ko/man8/setsid.8* | |
779 | ||
780 | %lang(nl) %{_mandir}/nl/man1/kill.1* | |
781 | ||
782 | %lang(pl) %{_mandir}/pl/man1/arch.1* | |
783 | %lang(pl) %{_mandir}/pl/man1/cal.1* | |
784 | %lang(pl) %{_mandir}/pl/man1/col.1* | |
785 | %lang(pl) %{_mandir}/pl/man1/colcrt.1* | |
786 | %lang(pl) %{_mandir}/pl/man1/colrm.1* | |
787 | %lang(pl) %{_mandir}/pl/man1/getopt.1* | |
788 | %lang(pl) %{_mandir}/pl/man1/hexdump.1* | |
789 | %lang(pl) %{_mandir}/pl/man1/kill.1* | |
790 | %lang(pl) %{_mandir}/pl/man1/look.1* | |
791 | %lang(pl) %{_mandir}/pl/man1/logger.1* | |
792 | %lang(pl) %{_mandir}/pl/man1/more.1* | |
793 | %lang(pl) %{_mandir}/pl/man1/rev.1* | |
794 | %lang(pl) %{_mandir}/pl/man1/script.1* | |
795 | %lang(pl) %{_mandir}/pl/man1/setterm.1* | |
796 | %lang(pl) %{_mandir}/pl/man1/ul.1* | |
797 | %lang(pl) %{_mandir}/pl/man1/whereis.1* | |
798 | %lang(pl) %{_mandir}/pl/man1/write.1* | |
799 | ||
800 | %lang(pl) %{_mandir}/pl/man8/ctrlaltdel.8* | |
801 | %lang(pl) %{_mandir}/pl/man8/dmesg.8* | |
802 | %lang(pl) %{_mandir}/pl/man8/fdformat.8* | |
803 | %lang(pl) %{_mandir}/pl/man8/ipcrm.8* | |
804 | %lang(pl) %{_mandir}/pl/man8/ipcs.8* | |
805 | %lang(pl) %{_mandir}/pl/man8/mkswap.8* | |
806 | %lang(pl) %{_mandir}/pl/man8/renice.8* | |
807 | %lang(pl) %{_mandir}/pl/man8/setfdprm.8* | |
808 | ||
809 | %dir %{_examplesdir}/getopt | |
810 | %attr(755,root,root) %{_examplesdir}/getopt/* | |
811 | ||
812 | %attr(755,root,root) /sbin/fdisk | |
813 | %attr(755,root,root) /sbin/fsck.minix | |
814 | %attr(755,root,root) /sbin/mkfs.minix | |
815 | %ifnarch sparc sparc64 | |
816 | %{!?with_uClibc:%attr(755,root,root) /sbin/cfdisk} | |
817 | %attr(755,root,root) /sbin/sfdisk | |
818 | %endif | |
819 | ||
820 | %{_mandir}/man8/fdisk.8* | |
821 | %ifnarch sparc sparc64 | |
822 | %{!?with_uClibc:%{_mandir}/man8/cfdisk.8*} | |
823 | %{_mandir}/man8/sfdisk.8* | |
824 | %endif | |
825 | %{_mandir}/man8/fsck.minix.8* | |
826 | %{_mandir}/man8/mkfs.bfs.8* | |
827 | %{_mandir}/man8/mkfs.minix.8* | |
828 | %{_mandir}/man8/mkfs.8* | |
829 | ||
830 | %lang(es) %{_mandir}/es/man8/fdisk.8* | |
831 | %lang(es) %{_mandir}/es/man8/fsck.minix.8* | |
832 | %lang(es) %{_mandir}/es/man8/mkfs.minix.8* | |
833 | %lang(es) %{_mandir}/es/man8/mkfs.8* | |
834 | ||
835 | %lang(fr) %{_mandir}/fr/man8/fdisk.8* | |
836 | %ifnarch sparc sparc64 | |
837 | %{!?with_uClibc:%lang(fr) %{_mandir}/fr/man8/cfdisk.8*} | |
838 | %lang(fr) %{_mandir}/fr/man8/sfdisk.8* | |
839 | %endif | |
840 | %lang(fr) %{_mandir}/fr/man8/mkfs.minix.8* | |
841 | %lang(fr) %{_mandir}/fr/man8/mkfs.8* | |
842 | ||
843 | %lang(hu) %{_mandir}/hu/man8/mkfs.8* | |
844 | ||
845 | %lang(it) %{_mandir}/it/man8/fdisk.8* | |
846 | %ifnarch sparc sparc64 | |
847 | %{!?with_uClibc:%lang(it) %{_mandir}/it/man8/cfdisk.8*} | |
848 | %endif | |
849 | ||
850 | %lang(ja) %{_mandir}/ja/man8/fdisk.8* | |
851 | %ifnarch sparc sparc64 | |
852 | %{!?with_uClibc:%lang(ja) %{_mandir}/ja/man8/cfdisk.8*} | |
853 | %lang(ja) %{_mandir}/ja/man8/sfdisk.8* | |
854 | %endif | |
855 | %lang(ja) %{_mandir}/ja/man8/fsck.minix.8* | |
856 | %lang(ja) %{_mandir}/ja/man8/mkfs.bfs.8* | |
857 | %lang(ja) %{_mandir}/ja/man8/mkfs.minix.8* | |
858 | %lang(ja) %{_mandir}/ja/man8/mkfs.8* | |
859 | ||
860 | %lang(ko) %{_mandir}/ko/man8/fdisk.8* | |
861 | %lang(ko) %{_mandir}/ko/man8/fsck.minix.8* | |
862 | %lang(ko) %{_mandir}/ko/man8/mkfs.minix.8* | |
863 | %lang(ko) %{_mandir}/ko/man8/mkfs.8* | |
864 | ||
865 | %lang(pl) %{_mandir}/pl/man8/fdisk.8* | |
866 | %lang(pl) %{_mandir}/pl/man8/fsck.minix.8* | |
867 | %lang(pl) %{_mandir}/pl/man8/mkfs.minix.8* | |
868 | %lang(pl) %{_mandir}/pl/man8/mkfs.8* | |
869 | ||
870 | %{!?with_uClibc:%attr(755,root,root) /sbin/fsck.cramfs} | |
871 | %{!?with_uClibc:%attr(755,root,root) /sbin/mkfs.cramfs} | |
872 | %attr(755,root,root) /sbin/mkfs.bfs | |
873 | ||
874 | %attr(755,root,root) %{_bindir}/cytune | |
875 | ||
876 | %ifarch %{ix86} | |
877 | %attr(755,root,root) %{_sbindir}/ramsize | |
878 | %attr(755,root,root) %{_sbindir}/rdev | |
879 | %attr(755,root,root) %{_sbindir}/rootflags | |
880 | %attr(755,root,root) %{_sbindir}/vidmode | |
881 | ||
882 | %{_mandir}/man8/ramsize.8* | |
883 | %{_mandir}/man8/rdev.8* | |
884 | %{_mandir}/man8/rootflags.8* | |
885 | %{_mandir}/man8/vidmode.8* | |
886 | ||
887 | %lang(de) %{_mandir}/de/man8/ramsize.8* | |
888 | %lang(de) %{_mandir}/de/man8/rdev.8* | |
889 | %lang(de) %{_mandir}/de/man8/rootflags.8* | |
890 | %lang(de) %{_mandir}/de/man8/vidmode.8* | |
891 | ||
892 | %lang(es) %{_mandir}/es/man8/ramsize.8* | |
893 | %lang(es) %{_mandir}/es/man8/rdev.8* | |
894 | %lang(es) %{_mandir}/es/man8/rootflags.8* | |
895 | %lang(es) %{_mandir}/es/man8/vidmode.8* | |
896 | ||
897 | %lang(ja) %{_mandir}/ja/man8/ramsize.8* | |
898 | %lang(ja) %{_mandir}/ja/man8/rdev.8* | |
899 | %lang(ja) %{_mandir}/ja/man8/rootflags.8* | |
900 | %lang(ja) %{_mandir}/ja/man8/vidmode.8* | |
901 | ||
902 | %lang(ko) %{_mandir}/ko/man8/ramsize.8* | |
903 | %lang(ko) %{_mandir}/ko/man8/rdev.8* | |
904 | %lang(ko) %{_mandir}/ko/man8/rootflags.8* | |
905 | %lang(ko) %{_mandir}/ko/man8/vidmode.8* | |
906 | ||
907 | %lang(pl) %{_mandir}/pl/man8/ramsize.8* | |
908 | %lang(pl) %{_mandir}/pl/man8/rdev.8* | |
909 | %lang(pl) %{_mandir}/pl/man8/rootflags.8* | |
910 | %lang(pl) %{_mandir}/pl/man8/vidmode.8* | |
911 | %endif | |
912 | ||
913 | %{_infodir}/ipc* | |
914 | ||
915 | %ghost /var/lock/wtmpxlock | |
916 | ||
917 | %files -n blockdev | |
918 | %defattr(644,root,root,755) | |
919 | %attr(754,root,root) /etc/rc.d/init.d/blockdev | |
920 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/blockdev | |
921 | %attr(755,root,root) /sbin/blockdev | |
922 | %{_mandir}/man8/blockdev.8* | |
923 | %lang(ja) %{_mandir}/ja/man8/blockdev.8* | |
924 | ||
925 | %files -n mount | |
926 | %defattr(644,root,root,755) | |
927 | ||
928 | %attr(4755,root,root) /bin/mount | |
929 | %attr(4755,root,root) /bin/umount | |
930 | %attr(755,root,root) /sbin/pivot_root | |
931 | %attr(755,root,root) /sbin/swapon | |
932 | %attr(755,root,root) /sbin/swapoff | |
933 | ||
934 | %{_mandir}/man5/fstab.5* | |
935 | %{_mandir}/man5/nfs.5* | |
936 | ||
937 | %{_mandir}/man8/mount.8* | |
938 | %{_mandir}/man8/umount.8* | |
939 | %{_mandir}/man8/pivot_root.8* | |
940 | %{_mandir}/man8/swapon.8* | |
941 | %{_mandir}/man8/swapoff.8* | |
942 | ||
943 | %lang(cs) %{_mandir}/cs/man5/fstab.5* | |
944 | ||
945 | %lang(de) %{_mandir}/de/man5/fstab.5* | |
946 | %lang(de) %{_mandir}/de/man5/nfs.5* | |
947 | ||
948 | %lang(es) %{_mandir}/es/man5/fstab.5* | |
949 | %lang(es) %{_mandir}/es/man5/nfs.5* | |
950 | ||
951 | %lang(es) %{_mandir}/es/man8/mount.8* | |
952 | %lang(es) %{_mandir}/es/man8/umount.8* | |
953 | %lang(es) %{_mandir}/es/man8/swapon.8* | |
954 | %lang(es) %{_mandir}/es/man8/swapoff.8* | |
955 | ||
956 | %lang(fr) %{_mandir}/fr/man5/fstab.5* | |
957 | %lang(fr) %{_mandir}/fr/man5/nfs.5* | |
958 | ||
959 | %lang(fr) %{_mandir}/fr/man8/mount.8* | |
960 | %lang(fr) %{_mandir}/fr/man8/umount.8* | |
961 | ||
962 | %lang(hu) %{_mandir}/hu/man5/fstab.5* | |
963 | ||
964 | %lang(hu) %{_mandir}/hu/man8/mount.8* | |
965 | %lang(hu) %{_mandir}/hu/man8/umount.8* | |
966 | ||
967 | %lang(it) %{_mandir}/it/man5/fstab.5* | |
968 | %lang(it) %{_mandir}/it/man5/nfs.5* | |
969 | ||
970 | %lang(it) %{_mandir}/it/man8/mount.8* | |
971 | %lang(it) %{_mandir}/it/man8/umount.8* | |
972 | %lang(it) %{_mandir}/it/man8/swapon.8* | |
973 | %lang(it) %{_mandir}/it/man8/swapoff.8* | |
974 | ||
975 | %lang(ja) %{_mandir}/ja/man5/fstab.5* | |
976 | %lang(ja) %{_mandir}/ja/man5/nfs.5* | |
977 | ||
978 | %lang(ja) %{_mandir}/ja/man8/mount.8* | |
979 | %lang(ja) %{_mandir}/ja/man8/umount.8* | |
980 | %lang(ja) %{_mandir}/ja/man8/pivot_root.8* | |
981 | %lang(ja) %{_mandir}/ja/man8/swapon.8* | |
982 | %lang(ja) %{_mandir}/ja/man8/swapoff.8* | |
983 | ||
984 | %lang(ko) %{_mandir}/ko/man5/fstab.5* | |
985 | %lang(ko) %{_mandir}/ko/man5/nfs.5* | |
986 | ||
987 | %lang(ko) %{_mandir}/ko/man8/mount.8* | |
988 | %lang(ko) %{_mandir}/ko/man8/umount.8* | |
989 | %lang(ko) %{_mandir}/ko/man8/swapon.8* | |
990 | %lang(ko) %{_mandir}/ko/man8/swapoff.8* | |
991 | ||
992 | %lang(pl) %{_mandir}/pl/man5/fstab.5* | |
993 | %lang(pl) %{_mandir}/pl/man5/nfs.5* | |
994 | ||
995 | %lang(pl) %{_mandir}/pl/man8/mount.8* | |
996 | %lang(pl) %{_mandir}/pl/man8/umount.8* | |
997 | %lang(pl) %{_mandir}/pl/man8/swapon.8* | |
998 | %lang(pl) %{_mandir}/pl/man8/swapoff.8* | |
999 | ||
1000 | %files -n losetup | |
1001 | %defattr(644,root,root,755) | |
1002 | %attr(755,root,root) /sbin/losetup | |
1003 | ||
1004 | %{_mandir}/man8/losetup.8* | |
1005 | %lang(fr) %{_mandir}/fr/man8/losetup.8* | |
1006 | %lang(it) %{_mandir}/it/man8/losetup.8* | |
1007 | %lang(ja) %{_mandir}/ja/man8/losetup.8* | |
1008 | %lang(ko) %{_mandir}/ko/man8/losetup.8* | |
1009 | %lang(pl) %{_mandir}/pl/man8/losetup.8* | |
1010 | ||
1011 | %files chkdupexe | |
1012 | %defattr(644,root,root,755) | |
1013 | %attr(755,root,root) %{_bindir}/chkdupexe | |
1014 | ||
1015 | %{_mandir}/man1/chkdupexe.1* | |
1016 | %lang(ja) %{_mandir}/ja/man1/chkdupexe.1* | |
1017 | %lang(ko) %{_mandir}/ko/man1/chkdupexe.1* | |
1018 | %lang(pl) %{_mandir}/pl/man1/chkdupexe.1* | |
1019 | ||
1020 | %files -n tunelp | |
1021 | %defattr(644,root,root,755) | |
1022 | %attr(755,root,root) %{_sbindir}/tunelp | |
1023 | ||
1024 | %{_mandir}/man8/tunelp.8* | |
1025 | %lang(es) %{_mandir}/es/man8/tunelp.8* | |
1026 | %lang(ja) %{_mandir}/ja/man8/tunelp.8* | |
1027 | %lang(pl) %{_mandir}/pl/man8/tunelp.8* | |
1028 | ||
1029 | %if !%{with uClibc} | |
1030 | %files -n login | |
1031 | %defattr(644,root,root,755) | |
1032 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/login | |
1033 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.login | |
1034 | %attr(755,root,root) /bin/login | |
1035 | ||
1036 | %{_mandir}/man1/login.1* | |
1037 | %lang(de) %{_mandir}/de/man1/login.1* | |
1038 | %lang(es) %{_mandir}/es/man1/login.1* | |
1039 | %lang(hu) %{_mandir}/hu/man1/login.1* | |
1040 | %lang(id) %{_mandir}/id/man1/login.1* | |
1041 | %lang(it) %{_mandir}/it/man1/login.1* | |
1042 | %lang(ja) %{_mandir}/ja/man1/login.1* | |
1043 | %lang(ko) %{_mandir}/ko/man1/login.1* | |
1044 | %lang(pl) %{_mandir}/pl/man1/login.1* | |
1045 | %endif | |
1046 | ||
1047 | %files -n agetty | |
1048 | %defattr(644,root,root,755) | |
1049 | %attr(755,root,root) /sbin/agetty | |
1050 | ||
1051 | %{_mandir}/man8/agetty.8* | |
1052 | %lang(es) %{_mandir}/es/man8/agetty.8* | |
1053 | %lang(ja) %{_mandir}/ja/man8/agetty.8* | |
1054 | ||
1055 | %if !%{with uClibc} | |
1056 | %files -n rawdevices | |
1057 | %defattr(644,root,root,755) | |
1058 | %attr(755,root,root) %{_bindir}/raw | |
1059 | %attr(754,root,root) /etc/rc.d/init.d/rawdevices | |
1060 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rawdevices | |
1061 | ||
1062 | %{_mandir}/man8/raw.8* | |
1063 | %lang(ja) %{_mandir}/ja/man8/raw.8* | |
1064 | %endif |