]>
Commit | Line | Data |
---|---|---|
58818f3f | 1 | # |
679c47c6 | 2 | # Conditional build: |
bef082de | 3 | %bcond_with uClibc # don't build few utilities |
b7aa2cf5 | 4 | %bcond_without selinux # build without SELinux support |
58818f3f | 5 | # |
52449440 | 6 | # TODO: |
11815f0a | 7 | # - move raw to /sbin (potentially can be used before mount partitions)?? |
9dee1345 | 8 | # - move logger to separate package (to avoid conflicts with inetutils) |
55b97da8 | 9 | |
47bc4ed8 | 10 | Summary: Collection of basic system utilities for Linux |
2e13a93d ER |
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 | |
47bc4ed8 | 19 | Name: util-linux |
23e88cbb JR |
20 | Version: 2.13 |
21 | %define _pre pre7 | |
22 | Release: 0.%{_pre}.1 | |
3f3b5221 | 23 | License: distributable |
58818f3f | 24 | Group: Applications/System |
fd1b44d0 | 25 | # devel versions at ftp://ftp.kernel.org/pub/linux/utils/util-linux/testing |
23e88cbb JR |
26 | Source0: ftp://ftp.kernel.org/pub/linux/utils/util-linux/testing/%{name}-%{version}-%{_pre}.tar.bz2 |
27 | # Source0-md5: 13cdf4b76533e8421dc49de188f85291 | |
d3f0754a JB |
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 | |
105fdd5c | 31 | Source2: login.pamd |
959434ae JB |
32 | Source3: rawdevices.init |
33 | Source4: rawdevices.sysconfig | |
c283ae4e AM |
34 | Source5: %{name}-blockdev.init |
35 | Source6: %{name}-blockdev.sysconfig | |
58818f3f JB |
36 | Patch0: %{name}-MCONFIG.patch |
37 | Patch1: %{name}-fdisk.patch | |
38 | Patch2: %{name}-utmpx.patch | |
39 | Patch3: %{name}-fhs.patch | |
23e88cbb JR |
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 | |
733c065a | 57 | BuildRequires: cryptsetup-devel |
b723d023 | 58 | BuildRequires: gettext-devel |
2b8194ad | 59 | %{?with_selinux:BuildRequires: libselinux-devel} |
bef082de | 60 | %{!?with_uClibc:BuildRequires: ncurses-devel >= 5.0} |
8d44acf0 | 61 | %{!?with_uClibc:BuildRequires: pam-devel >= 0.99.7.1} |
1380d110 | 62 | BuildRequires: rpmbuild(macros) >= 1.268 |
330debab | 63 | BuildRequires: texinfo |
bef082de | 64 | %{!?with_uClibc:BuildRequires: zlib-devel} |
8d44acf0 | 65 | %{!?with_uClibc:Requires: pam >= 0.99.7.1} |
f4bb1d14 | 66 | Provides: fdisk |
b8b4354b | 67 | Obsoletes: cramfs |
d9ba1cbc | 68 | Obsoletes: util-linux-suids |
818301e0 | 69 | Conflicts: shadow-extras < 1:4.0.3-6 |
d9ba1cbc | 70 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
47bc4ed8 | 71 | |
0946ca1c JB |
72 | %define debugcflags -O1 -g |
73 | ||
47bc4ed8 | 74 | %description |
b32ce38b | 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 | |
b7a3a770 | 78 | logger. |
47bc4ed8 | 79 | |
d9c1805a JR |
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 | |
b7a3a770 | 84 | 'fdisk' und Systemprogramme wie 'logger'. |
47bc4ed8 | 85 | |
d9c1805a | 86 | %description -l es.UTF-8 |
e6c4bd9d | 87 | util-linux contiene una gran variedad de utilitarios de sistema de |
679c47c6 | 88 | bajo nivel necesarios a un sistema Linux funcional. Esto incluye, |
d9c1805a | 89 | entre otras cosas, herramientas de configuración como fdisk y |
679c47c6 TP |
90 | programas de sistema como login. |
91 | ||
d9c1805a JR |
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 | |
b32ce38b | 95 | autres, les outils de configuration comme fdisk et des programmes |
d9c1805a | 96 | systèmes comme logger. |
47bc4ed8 | 97 | |
d9c1805a JR |
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 | |
5a51c32a | 102 | programy systemowe, takie jak logger. |
47bc4ed8 | 103 | |
d9c1805a JR |
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 | |
5a51c32a | 108 | programas de sistema como login. |
1a4673b9 | 109 | |
d9c1805a JR |
110 | %description -l ru.UTF-8 |
111 | Этот пакет содержит большой набор системных утилит низкого уровня, | |
112 | которые необходимы для функционирования системы Linux. Он включает, в | |
113 | числе прочих, инструменты конфигурации, такие как fdisk, и системные | |
114 | программы, такие как login. | |
32f5673c | 115 | |
d9c1805a JR |
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. | |
1a4673b9 | 120 | |
d9c1805a JR |
121 | %description -l uk.UTF-8 |
122 | Цей пакет містить великий набір системних утиліт низького рівня, які | |
123 | необхідні для функціонування системи Linux. Він містить, окрім інших, | |
124 | конфігураційні інструменти (такі як fdisk) та системні програми (такі | |
125 | як login). | |
fe7ea786 | 126 | |
24352d9f ER |
127 | %package -n blockdev |
128 | Summary: Support for blockdev | |
2e13a93d | 129 | Summary(pl.UTF-8): Obsługa blockdev |
24352d9f ER |
130 | Group: Applications/System |
131 | Requires(post,preun): /sbin/chkconfig | |
f143317a | 132 | Requires: coreutils |
24352d9f | 133 | Requires: rc-scripts |
1380d110 | 134 | #Requires: uname(release) >= 2.6 |
24352d9f ER |
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 | ||
d9c1805a JR |
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. | |
294c5f47 | 145 | |
4f3d2aad | 146 | %package -n losetup |
0cea08b7 | 147 | Summary: Programs for setting up and configuring loopback devices |
2e13a93d ER |
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-пристроїв | |
58818f3f | 154 | Group: Applications/System |
47bc4ed8 | 155 | |
156 | %description -n losetup | |
b32ce38b | 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. | |
47bc4ed8 | 161 | |
b32ce38b | 162 | Block loopback devices should not be confused with the networking |
163 | loopback device, which is configured with the normal ifconfig command. | |
47bc4ed8 | 164 | |
d9c1805a JR |
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. | |
743a5878 | 170 | |
d9c1805a JR |
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 | |
b32ce38b | 174 | paquetage contient les programmes pour configurer et supprimer la |
d9c1805a | 175 | correspondance entre les fichiers et les périphériques loopback. |
743a5878 | 176 | |
d9c1805a JR |
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 | |
0089f634 | 179 | normale. |
743a5878 | 180 | |
d9c1805a JR |
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ć. | |
47bc4ed8 | 185 | |
d9c1805a JR |
186 | Urządzenie blokowe loopback nie powinno być mylone z sieciowym |
187 | interfejsem loopback, który jest konfigurowany przy pomocy polecenia | |
b32ce38b | 188 | ifconfig. |
47bc4ed8 | 189 | |
d9c1805a JR |
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 | запросів їх стану. | |
fe7ea786 | 213 | |
4f3d2aad | 214 | %package -n mount |
47bc4ed8 | 215 | Summary: Programs for mounting and unmounting filesystems |
2e13a93d ER |
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): Програми для монтування та розмонтування файлових систем | |
58818f3f | 222 | Group: Applications/System |
35a538a1 | 223 | Requires: cryptsetup >= 0.2-1.pre1.4 |
224 | Requires: libgcrypt >= 1.2.0-6 | |
225 | Requires: libgpg-error >= 1.0-4 | |
47bc4ed8 | 226 | |
227 | %description -n mount | |
e6c4bd9d | 228 | mount is used for adding new filesystems, both local and networked, to |
b32ce38b | 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. | |
47bc4ed8 | 232 | |
233 | This package is critical for the functionality of your system. | |
234 | ||
d9c1805a JR |
235 | %description -n mount -l de.UTF-8 |
236 | mount wird zum Hinzufügen neuer Dateisysteme (lokal und im Netzwerk) | |
b32ce38b | 237 | zu Ihrer aktuellen Verzeichnisstruktur verwendet. Die Dateisysteme |
d9c1805a JR |
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 | визначені файли або пристрої. | |
fe7ea786 | 281 | |
b31bc18e | 282 | %package chkdupexe |
4711e82c | 283 | Summary: chkdupexe - find duplicate executables |
2e13a93d | 284 | Summary(pl.UTF-8): chkdupexe odszukuje powtarzające się pliki uruchamialne |
58818f3f | 285 | Group: Applications/System |
4711e82c AF |
286 | |
287 | %description chkdupexe | |
0089f634 | 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. | |
4711e82c | 291 | |
d9c1805a | 292 | %description chkdupexe -l pl.UTF-8 |
b32ce38b | 293 | chkdupexe przeszukuje katalogi z $PATH oraz inne powszechnie znane |
d9c1805a JR |
294 | katalogi z plikami uruchamialnymi i informuje o powtarzających się |
295 | plikach w różnych katalogach. | |
4711e82c | 296 | |
4f3d2aad | 297 | %package -n tunelp |
0cea08b7 | 298 | Summary: Configures kernel parallel port driver |
2e13a93d ER |
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 | |
58818f3f | 303 | Group: Applications/System |
d0966d2e | 304 | |
305 | %description -n tunelp | |
e6c4bd9d | 306 | tunelp aids in configuring the kernel parallel port driver. |
d0966d2e | 307 | |
d9c1805a | 308 | %description -n tunelp -l de.UTF-8 |
e6c4bd9d | 309 | tunelp hilft bei der Konfiguration des Kernel-Parallelport-Treibers. |
d0966d2e | 310 | |
d9c1805a JR |
311 | %description -n tunelp -l fr.UTF-8 |
312 | « tunelp » aide à configurer le pilote du noyau pour le port | |
313 | parallèle. | |
d0966d2e | 314 | |
d9c1805a JR |
315 | %description -n tunelp -l pl.UTF-8 |
316 | Program do konfigurowania sterownika portu równoległego. | |
d0966d2e | 317 | |
d9c1805a JR |
318 | %description -n tunelp -l tr.UTF-8 |
319 | Paralel bağlantı noktası sürücüsünü ayarlar. | |
3487ec80 | 320 | |
3cee3dc1 | 321 | %package -n login |
6650d8d7 | 322 | Summary: login is used when signing onto a system |
2e13a93d | 323 | Summary(pl.UTF-8): login jest używany do rozpoczęcia pracy w systemie |
58818f3f | 324 | Group: Applications/System |
8d44acf0 | 325 | Requires: pam >= 0.99.7.1 |
d9ba1cbc | 326 | Obsoletes: heimdal-login |
3cee3dc1 | 327 | |
3f5cc448 | 328 | %description -n login |
3cee3dc1 | 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 | |
6650d8d7 | 331 | support for this feature built into them, however). |
3cee3dc1 | 332 | |
d9c1805a JR |
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). | |
7e9bc8f4 | 337 | |
aa943d59 | 338 | %package -n agetty |
0cea08b7 | 339 | Summary: Alternative Linux getty |
2e13a93d | 340 | Summary(pl.UTF-8): Alternatywny getty |
aa943d59 | 341 | Group: Applications/System |
aa943d59 | 342 | Requires: login |
343 | ||
344 | %description -n agetty | |
0cea08b7 | 345 | agetty is simple Linux getty with serial support. |
aa943d59 | 346 | |
d9c1805a JR |
347 | %description -n agetty -l pl.UTF-8 |
348 | agetty jest prostym linuksowym getty z obsługą portu szeregowego. | |
aa943d59 | 349 | |
91af51c8 | 350 | %package -n rawdevices |
52449440 | 351 | Summary: Support for raw-devices |
2e13a93d | 352 | Summary(pl.UTF-8): Obsługa raw-device'ów |
52449440 | 353 | Group: Applications/System |
769aa6ee | 354 | Requires(post,preun): /sbin/chkconfig |
51303dde | 355 | Requires: rc-scripts |
91af51c8 PG |
356 | |
357 | %description -n rawdevices | |
358 | Support for raw-devices. | |
359 | ||
d9c1805a JR |
360 | %description -n rawdevices -l pl.UTF-8 |
361 | Obsługa raw-device'ów. | |
91af51c8 | 362 | |
47bc4ed8 | 363 | %prep |
6cc0fdd3 | 364 | %setup -q -a1 |
aaaf550e | 365 | %patch0 -p1 |
4711e82c | 366 | %patch1 -p1 |
aaaf550e TP |
367 | %patch2 -p1 |
368 | %patch3 -p1 | |
4711e82c | 369 | %patch4 -p1 |
6cc0fdd3 | 370 | %patch5 -p1 |
23e88cbb | 371 | %patch6 -p1 |
48fe690c | 372 | %patch7 -p1 |
efe13fbf | 373 | %patch8 -p1 |
10d1e7b3 JR |
374 | %patch9 -p1 |
375 | %patch10 -p1 | |
376 | %patch11 -p1 | |
23e88cbb JR |
377 | %patch12 -p0 |
378 | %patch13 -p1 | |
461278fd | 379 | %patch14 -p1 |
9ad1e482 | 380 | %patch15 -p1 |
654c4698 | 381 | %patch16 -p1 |
bad058af | 382 | %patch17 -p1 |
bef082de | 383 | %patch18 -p1 |
23e88cbb JR |
384 | %patch19 -p0 |
385 | %patch20 -p1 | |
036e82e9 | 386 | |
47bc4ed8 | 387 | %build |
5c9c59ca JB |
388 | CC="%{__cc}" |
389 | LDFLAGS="%{rpmldflags}" | |
1a6cdfa0 | 390 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
5c9c59ca | 391 | export CC CFLAGS LDFLAGS |
ca49ce52 MM |
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 | |
275eca34 | 395 | |
bef082de | 396 | %{?with_uClibc:echo 'char *nl_langinfo (nl_item x){return "";}' >> misc-utils/cal.c} |
d9ba1cbc | 397 | %{__make} \ |
398 | OPT="%{rpmcflags}" \ | |
13091f74 | 399 | MOREHELPDIR=%{_datadir}/misc \ |
bef082de | 400 | %{!?with_uClibc:ADD_RAW="yes"} \ |
65a93337 | 401 | %{?with_uClibc:HAVE_RAW_H="no" HAVE_PAM="no"} \ |
b7aa2cf5 | 402 | %{!?with_selinux:HAVE_SELINUX="no"} |
47bc4ed8 | 403 | |
677b2a26 | 404 | %ifarch ppc |
2a77da1f | 405 | %{__cc} %{rpmcflags} %{rpmldflags} clock-ppc.c -o clock-ppc |
677b2a26 AM |
406 | %endif |
407 | ||
5c9c59ca JB |
408 | cd sys-utils |
409 | makeinfo ipc.texi | |
330debab | 410 | |
47bc4ed8 | 411 | %install |
e237d104 | 412 | rm -rf $RPM_BUILD_ROOT |
47bc4ed8 | 413 | |
769aa6ee | 414 | install -d $RPM_BUILD_ROOT{/bin,/sbin,/etc/{pam.d,logrotate,rc.d/init.d,sysconfig}} \ |
8bc00f11 | 415 | $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_infodir},%{_datadir}/misc} \ |
105fdd5c | 416 | $RPM_BUILD_ROOT{%{_examplesdir},%{_mandir}/man{1,5,6,8}} |
47bc4ed8 | 417 | |
9b6ee1df | 418 | %{__make} install \ |
e6c4bd9d | 419 | DESTDIR=$RPM_BUILD_ROOT \ |
723dc251 | 420 | INSTALLSUID="install -m 755" \ |
a5c61da1 | 421 | MOREHELPDIR=$RPM_BUILD_ROOT%{_datadir}/misc \ |
8bc00f11 | 422 | GETOPTDIR=$RPM_BUILD_ROOT%{_examplesdir}/getopt \ |
13091f74 | 423 | USRGAMESDIR=$RPM_BUILD_ROOT%{_bindir} \ |
424 | USE_TTY_GROUP=no \ | |
2b8194ad | 425 | %{!?with_selinux:HAVE_SELINUX="no"} \ |
bef082de JB |
426 | %{!?with_uClibc:ADD_RAW="yes"} \ |
427 | %{?with_uClibc:HAVE_RAW_H="no" HAVE_PAM="no"} | |
47bc4ed8 | 428 | |
105fdd5c JB |
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 | |
c283ae4e AM |
432 | install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/blockdev |
433 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/blockdev | |
66b52990 | 434 | |
769aa6ee | 435 | install -d $RPM_BUILD_ROOT{/etc/security,/var/lock} |
47bc4ed8 | 436 | |
8edb5de2 | 437 | > $RPM_BUILD_ROOT/etc/security/blacklist.login |
f24c641b | 438 | |
cab8e833 | 439 | :> $RPM_BUILD_ROOT/var/lock/wtmpxlock |
47bc4ed8 | 440 | |
677b2a26 | 441 | %ifarch ppc |
df3f4860 | 442 | mv -f $RPM_BUILD_ROOT/sbin/hwclock $RPM_BUILD_ROOT/sbin/hwclock.rtc |
435d6701 | 443 | install clock-ppc $RPM_BUILD_ROOT/sbin/hwclock.adb |
68ded8bf | 444 | #yneed fix: |
435d6701 | 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 | |
677b2a26 AM |
448 | %endif |
449 | ||
e237d104 TP |
450 | ln -sf hwclock $RPM_BUILD_ROOT/sbin/clock |
451 | echo '.so hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/man8/clock.8 | |
47bc4ed8 | 452 | |
e237d104 | 453 | ln -sf swapon $RPM_BUILD_ROOT/sbin/swapoff |
47bc4ed8 | 454 | |
39116f9a | 455 | for d in cs de es fi fr hu id it ja ko nl pl ; do |
ec99463f TP |
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 | |
105fdd5c JB |
462 | done |
463 | ||
c91b6c66 | 464 | # cleanup, remove files not included in package |
d4c7001c | 465 | rm -f $RPM_BUILD_ROOT%{_bindir}/{chfn,chsh,newgrp} \ |
d3f0754a | 466 | $RPM_BUILD_ROOT%{_sbindir}/{vifr,vipw} \ |
d4c7001c | 467 | $RPM_BUILD_ROOT%{_mandir}/man1/{chfn,chsh,newgrp,sg}.1 \ |
d3f0754a | 468 | $RPM_BUILD_ROOT%{_mandir}/man8/{sln,vigr,vipw}.8 \ |
d4c7001c | 469 | $RPM_BUILD_ROOT%{_mandir}/*/man1/{chfn,chsh,clear,last,mesg,newgrp,od,passwd,reset,sg,wall}.1 \ |
d3f0754a | 470 | $RPM_BUILD_ROOT%{_mandir}/*/man8/{display-services,fast*,halt,initctl,need,provide,reboot,shutdown,simpleinit,sln,vigr,vipw}.8 |
985744e1 JB |
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 | |
c91b6c66 | 477 | |
bef082de | 478 | %{!?with_uClibc:%find_lang %{name}} |
cab8e833 | 479 | |
105fdd5c JB |
480 | %clean |
481 | rm -rf $RPM_BUILD_ROOT | |
482 | ||
330debab | 483 | %post |
83db4587 | 484 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
24352d9f ER |
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 | |
c283ae4e | 490 | /sbin/chkconfig --add blockdev |
1380d110 | 491 | %service blockdev restart |
330debab | 492 | |
24352d9f | 493 | %preun -n blockdev |
1380d110 ER |
494 | if [ "$1" = "0" ]; then |
495 | %service blockdev stop | |
496 | /sbin/chkconfig --del blockdev | |
c283ae4e | 497 | fi |
c283ae4e | 498 | |
4c6daa3d | 499 | %post -n rawdevices |
83db4587 | 500 | /sbin/chkconfig --add rawdevices |
1380d110 | 501 | %service rawdevices restart |
32118247 | 502 | |
4c6daa3d | 503 | %preun -n rawdevices |
1380d110 ER |
504 | if [ "$1" = "0" ]; then |
505 | %service rawdevices stop | |
506 | /sbin/chkconfig --del rawdevices | |
83db4587 | 507 | fi |
32118247 | 508 | |
bef082de | 509 | %files %{!?with_uClibc:-f %{name}.lang} |
47bc4ed8 | 510 | %defattr(644,root,root,755) |
b8b4354b | 511 | %doc */README.* text-utils/LICENSE.pg |
275eca34 | 512 | |
47bc4ed8 | 513 | %attr(755,root,root) /sbin/clock |
435d6701 | 514 | %ifarch ppc |
1ce7c588 | 515 | %attr(755,root,root) %config(noreplace) %verify(not link) /sbin/hwclock |
435d6701 | 516 | %attr(755,root,root) /sbin/hwclock.adb |
517 | %attr(755,root,root) /sbin/hwclock.rtc | |
518 | %else | |
f45294ee | 519 | %attr(755,root,root) /sbin/hwclock* |
435d6701 | 520 | %endif |
47bc4ed8 | 521 | |
3b538f2a | 522 | %{_mandir}/man8/clock.8* |
e237d104 | 523 | %{_mandir}/man8/hwclock.8* |
e22644a2 | 524 | %lang(es) %{_mandir}/es/man8/clock.8* |
525 | %lang(es) %{_mandir}/es/man8/hwclock.8* | |
105fdd5c JB |
526 | %lang(ja) %{_mandir}/ja/man8/clock.8* |
527 | %lang(ja) %{_mandir}/ja/man8/hwclock.8* | |
47bc4ed8 | 528 | |
4db557ee | 529 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fdprm |
47bc4ed8 | 530 | |
d4c7001c JB |
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} | |
d4c7001c JB |
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 | |
bad058af | 546 | %attr(755,root,root) %{_bindir}/flock |
d4c7001c JB |
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 | |
aaaf550e | 567 | %attr(2755,root,tty) %{_bindir}/write |
d4c7001c JB |
568 | %attr(755,root,root) %{_bindir}/tailf |
569 | %attr(755,root,root) %{_sbindir}/readprofile | |
47bc4ed8 | 570 | |
2cd1f30c | 571 | %{_mandir}/man1/arch.1* |
2cd1f30c | 572 | %{_mandir}/man1/cal.1* |
13091f74 | 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* | |
bad058af | 578 | %{_mandir}/man1/flock.1* |
13091f74 | 579 | %{_mandir}/man1/getopt.1* |
580 | %{_mandir}/man1/hexdump.1* | |
2cd1f30c | 581 | %{_mandir}/man1/kill.1* |
07cc849e | 582 | %{_mandir}/man1/line.1* |
2cd1f30c AF |
583 | %{_mandir}/man1/logger.1* |
584 | %{_mandir}/man1/look.1* | |
585 | %{_mandir}/man1/mcookie.1* | |
bef082de | 586 | %{!?with_uClibc:%{_mandir}/man1/more.1*} |
2cd1f30c | 587 | %{_mandir}/man1/namei.1* |
bef082de | 588 | %{!?with_uClibc:%{_mandir}/man1/pg.1*} |
13091f74 | 589 | %{_mandir}/man1/readprofile.1* |
2cd1f30c | 590 | %{_mandir}/man1/rev.1* |
7cf37ab4 | 591 | %{_mandir}/man1/rename.1* |
105fdd5c | 592 | %{_mandir}/man1/script.1* |
bef082de JB |
593 | %{!?with_uClibc:%{_mandir}/man1/setterm.1*} |
594 | %{!?with_uClibc:%{_mandir}/man1/ul.1*} | |
13091f74 | 595 | %{_mandir}/man1/whereis.1* |
596 | %{_mandir}/man1/write.1* | |
d9ba1cbc | 597 | %{_mandir}/man1/tailf.1* |
2cd1f30c | 598 | |
2cd1f30c | 599 | %{_mandir}/man8/ctrlaltdel.8* |
ec7a6431 | 600 | %{_mandir}/man8/cytune.8* |
2cd1f30c | 601 | %{_mandir}/man8/dmesg.8* |
46396bab | 602 | %{_mandir}/man8/elvtune.8* |
13091f74 | 603 | %{_mandir}/man8/fdformat.8* |
2cd1f30c AF |
604 | %{_mandir}/man8/ipcrm.8* |
605 | %{_mandir}/man8/ipcs.8* | |
13091f74 | 606 | %{_mandir}/man8/isosize.8* |
13091f74 | 607 | %{_mandir}/man8/mkswap.8* |
2cd1f30c | 608 | %{_mandir}/man8/renice.8* |
2cd1f30c | 609 | %{_mandir}/man8/setfdprm.8* |
105fdd5c JB |
610 | %{_mandir}/man8/setsid.8* |
611 | ||
d3f0754a JB |
612 | %lang(cs) %{_mandir}/cs/man1/write.1* |
613 | ||
105fdd5c JB |
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 | ||
81c36056 | 618 | %lang(de) %{_mandir}/de/man8/fdformat.8* |
ec7a6431 | 619 | |
e22644a2 | 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 | ||
105fdd5c JB |
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 | ||
105fdd5c JB |
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* | |
d3f0754a | 658 | %lang(fr) %{_mandir}/fr/man1/rev.1* |
105fdd5c JB |
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 | ||
ec7a6431 | 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 | ||
105fdd5c | 693 | %lang(it) %{_mandir}/it/man1/arch.1* |
d3f0754a | 694 | %lang(it) %{_mandir}/it/man1/cal.1* |
105fdd5c | 695 | %lang(it) %{_mandir}/it/man1/kill.1* |
d3f0754a JB |
696 | %lang(it) %{_mandir}/it/man1/rename.1* |
697 | %lang(it) %{_mandir}/it/man1/rev.1* | |
d3f0754a JB |
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* | |
105fdd5c JB |
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* | |
07cc849e | 718 | %lang(ja) %{_mandir}/ja/man1/line.1* |
105fdd5c JB |
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* | |
07cc849e | 725 | %lang(ja) %{_mandir}/ja/man1/rename.1* |
d3f0754a | 726 | %lang(ja) %{_mandir}/ja/man1/replay.1* |
105fdd5c JB |
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* | |
e22644a2 | 733 | |
105fdd5c | 734 | %lang(ja) %{_mandir}/ja/man8/ctrlaltdel.8* |
ec7a6431 | 735 | %lang(ja) %{_mandir}/ja/man8/cytune.8* |
105fdd5c JB |
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* | |
c3623843 | 769 | |
105fdd5c JB |
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* | |
c154ffa3 | 779 | |
ec7a6431 | 780 | %lang(nl) %{_mandir}/nl/man1/kill.1* |
781 | ||
858da232 | 782 | %lang(pl) %{_mandir}/pl/man1/arch.1* |
105fdd5c JB |
783 | %lang(pl) %{_mandir}/pl/man1/cal.1* |
784 | %lang(pl) %{_mandir}/pl/man1/col.1* | |
785 | %lang(pl) %{_mandir}/pl/man1/colcrt.1* | |
858da232 | 786 | %lang(pl) %{_mandir}/pl/man1/colrm.1* |
e237d104 | 787 | %lang(pl) %{_mandir}/pl/man1/getopt.1* |
858da232 | 788 | %lang(pl) %{_mandir}/pl/man1/hexdump.1* |
e237d104 TP |
789 | %lang(pl) %{_mandir}/pl/man1/kill.1* |
790 | %lang(pl) %{_mandir}/pl/man1/look.1* | |
b8b4354b | 791 | %lang(pl) %{_mandir}/pl/man1/logger.1* |
105fdd5c JB |
792 | %lang(pl) %{_mandir}/pl/man1/more.1* |
793 | %lang(pl) %{_mandir}/pl/man1/rev.1* | |
e237d104 | 794 | %lang(pl) %{_mandir}/pl/man1/script.1* |
105fdd5c | 795 | %lang(pl) %{_mandir}/pl/man1/setterm.1* |
858da232 | 796 | %lang(pl) %{_mandir}/pl/man1/ul.1* |
105fdd5c | 797 | %lang(pl) %{_mandir}/pl/man1/whereis.1* |
e237d104 | 798 | %lang(pl) %{_mandir}/pl/man1/write.1* |
858da232 | 799 | |
105fdd5c JB |
800 | %lang(pl) %{_mandir}/pl/man8/ctrlaltdel.8* |
801 | %lang(pl) %{_mandir}/pl/man8/dmesg.8* | |
e237d104 | 802 | %lang(pl) %{_mandir}/pl/man8/fdformat.8* |
858da232 AF |
803 | %lang(pl) %{_mandir}/pl/man8/ipcrm.8* |
804 | %lang(pl) %{_mandir}/pl/man8/ipcs.8* | |
858da232 | 805 | %lang(pl) %{_mandir}/pl/man8/mkswap.8* |
105fdd5c JB |
806 | %lang(pl) %{_mandir}/pl/man8/renice.8* |
807 | %lang(pl) %{_mandir}/pl/man8/setfdprm.8* | |
858da232 | 808 | |
8bc00f11 SZ |
809 | %dir %{_examplesdir}/getopt |
810 | %attr(755,root,root) %{_examplesdir}/getopt/* | |
c9165911 | 811 | |
e237d104 | 812 | %attr(755,root,root) /sbin/fdisk |
c9165911 | 813 | %attr(755,root,root) /sbin/fsck.minix |
814 | %attr(755,root,root) /sbin/mkfs.minix | |
850964c4 | 815 | %ifnarch sparc sparc64 |
bef082de | 816 | %{!?with_uClibc:%attr(755,root,root) /sbin/cfdisk} |
c9165911 | 817 | %attr(755,root,root) /sbin/sfdisk |
850964c4 | 818 | %endif |
47bc4ed8 | 819 | |
e237d104 | 820 | %{_mandir}/man8/fdisk.8* |
850964c4 | 821 | %ifnarch sparc sparc64 |
bef082de | 822 | %{!?with_uClibc:%{_mandir}/man8/cfdisk.8*} |
2cd1f30c | 823 | %{_mandir}/man8/sfdisk.8* |
850964c4 | 824 | %endif |
2cd1f30c | 825 | %{_mandir}/man8/fsck.minix.8* |
c67f93ef | 826 | %{_mandir}/man8/mkfs.bfs.8* |
2cd1f30c AF |
827 | %{_mandir}/man8/mkfs.minix.8* |
828 | %{_mandir}/man8/mkfs.8* | |
858da232 | 829 | |
e22644a2 | 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 | ||
105fdd5c | 835 | %lang(fr) %{_mandir}/fr/man8/fdisk.8* |
850964c4 | 836 | %ifnarch sparc sparc64 |
bef082de | 837 | %{!?with_uClibc:%lang(fr) %{_mandir}/fr/man8/cfdisk.8*} |
105fdd5c | 838 | %lang(fr) %{_mandir}/fr/man8/sfdisk.8* |
850964c4 | 839 | %endif |
105fdd5c JB |
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 | ||
105fdd5c | 845 | %lang(it) %{_mandir}/it/man8/fdisk.8* |
850964c4 | 846 | %ifnarch sparc sparc64 |
bef082de | 847 | %{!?with_uClibc:%lang(it) %{_mandir}/it/man8/cfdisk.8*} |
850964c4 | 848 | %endif |
105fdd5c | 849 | |
105fdd5c | 850 | %lang(ja) %{_mandir}/ja/man8/fdisk.8* |
850964c4 | 851 | %ifnarch sparc sparc64 |
bef082de | 852 | %{!?with_uClibc:%lang(ja) %{_mandir}/ja/man8/cfdisk.8*} |
105fdd5c | 853 | %lang(ja) %{_mandir}/ja/man8/sfdisk.8* |
850964c4 | 854 | %endif |
105fdd5c | 855 | %lang(ja) %{_mandir}/ja/man8/fsck.minix.8* |
c67f93ef | 856 | %lang(ja) %{_mandir}/ja/man8/mkfs.bfs.8* |
105fdd5c JB |
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 | ||
858da232 | 865 | %lang(pl) %{_mandir}/pl/man8/fdisk.8* |
105fdd5c JB |
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* | |
47bc4ed8 | 869 | |
bef082de JB |
870 | %{!?with_uClibc:%attr(755,root,root) /sbin/fsck.cramfs} |
871 | %{!?with_uClibc:%attr(755,root,root) /sbin/mkfs.cramfs} | |
b8b4354b | 872 | %attr(755,root,root) /sbin/mkfs.bfs |
b8b4354b | 873 | |
bc602d35 | 874 | %attr(755,root,root) %{_bindir}/cytune |
47bc4ed8 | 875 | |
858da232 | 876 | %ifarch %{ix86} |
0a8676ce | 877 | %attr(755,root,root) %{_sbindir}/ramsize |
e237d104 | 878 | %attr(755,root,root) %{_sbindir}/rdev |
da076167 | 879 | %attr(755,root,root) %{_sbindir}/rootflags |
e237d104 | 880 | %attr(755,root,root) %{_sbindir}/vidmode |
c9165911 | 881 | |
e237d104 | 882 | %{_mandir}/man8/ramsize.8* |
2cd1f30c AF |
883 | %{_mandir}/man8/rdev.8* |
884 | %{_mandir}/man8/rootflags.8* | |
2cd1f30c | 885 | %{_mandir}/man8/vidmode.8* |
105fdd5c | 886 | |
ec7a6431 | 887 | %lang(de) %{_mandir}/de/man8/ramsize.8* |
105fdd5c | 888 | %lang(de) %{_mandir}/de/man8/rdev.8* |
ec7a6431 | 889 | %lang(de) %{_mandir}/de/man8/rootflags.8* |
890 | %lang(de) %{_mandir}/de/man8/vidmode.8* | |
105fdd5c | 891 | |
e22644a2 | 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 | ||
105fdd5c JB |
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* | |
47bc4ed8 | 911 | %endif |
912 | ||
c154ffa3 | 913 | %{_infodir}/ipc* |
914 | ||
cab8e833 | 915 | %ghost /var/lock/wtmpxlock |
916 | ||
24352d9f ER |
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 | ||
47bc4ed8 | 925 | %files -n mount |
e0760399 | 926 | %defattr(644,root,root,755) |
927 | ||
65943269 SZ |
928 | %attr(4755,root,root) /bin/mount |
929 | %attr(4755,root,root) /bin/umount | |
6cc0fdd3 | 930 | %attr(755,root,root) /sbin/pivot_root |
47bc4ed8 | 931 | %attr(755,root,root) /sbin/swapon |
932 | %attr(755,root,root) /sbin/swapoff | |
933 | ||
2cd1f30c AF |
934 | %{_mandir}/man5/fstab.5* |
935 | %{_mandir}/man5/nfs.5* | |
c154ffa3 | 936 | |
2cd1f30c | 937 | %{_mandir}/man8/mount.8* |
e237d104 | 938 | %{_mandir}/man8/umount.8* |
6cc0fdd3 | 939 | %{_mandir}/man8/pivot_root.8* |
2cd1f30c | 940 | %{_mandir}/man8/swapon.8* |
e237d104 | 941 | %{_mandir}/man8/swapoff.8* |
47bc4ed8 | 942 | |
105fdd5c JB |
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 | ||
e22644a2 | 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 | ||
105fdd5c JB |
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* | |
6cc0fdd3 | 980 | %lang(ja) %{_mandir}/ja/man8/pivot_root.8* |
105fdd5c JB |
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 | ||
858da232 | 995 | %lang(pl) %{_mandir}/pl/man8/mount.8* |
e237d104 | 996 | %lang(pl) %{_mandir}/pl/man8/umount.8* |
858da232 AF |
997 | %lang(pl) %{_mandir}/pl/man8/swapon.8* |
998 | %lang(pl) %{_mandir}/pl/man8/swapoff.8* | |
999 | ||
47bc4ed8 | 1000 | %files -n losetup |
e0760399 | 1001 | %defattr(644,root,root,755) |
105fdd5c | 1002 | %attr(755,root,root) /sbin/losetup |
e0760399 | 1003 | |
2cd1f30c | 1004 | %{_mandir}/man8/losetup.8* |
105fdd5c JB |
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* | |
47bc4ed8 | 1010 | |
4711e82c AF |
1011 | %files chkdupexe |
1012 | %defattr(644,root,root,755) | |
105fdd5c | 1013 | %attr(755,root,root) %{_bindir}/chkdupexe |
d0966d2e | 1014 | |
105fdd5c JB |
1015 | %{_mandir}/man1/chkdupexe.1* |
1016 | %lang(ja) %{_mandir}/ja/man1/chkdupexe.1* | |
1017 | %lang(ko) %{_mandir}/ko/man1/chkdupexe.1* | |
858da232 AF |
1018 | %lang(pl) %{_mandir}/pl/man1/chkdupexe.1* |
1019 | ||
d0966d2e | 1020 | %files -n tunelp |
1021 | %defattr(644,root,root,755) | |
105fdd5c JB |
1022 | %attr(755,root,root) %{_sbindir}/tunelp |
1023 | ||
2cd1f30c | 1024 | %{_mandir}/man8/tunelp.8* |
e22644a2 | 1025 | %lang(es) %{_mandir}/es/man8/tunelp.8* |
105fdd5c | 1026 | %lang(ja) %{_mandir}/ja/man8/tunelp.8* |
b7a3a770 | 1027 | %lang(pl) %{_mandir}/pl/man8/tunelp.8* |
3cee3dc1 | 1028 | |
7b9c6733 | 1029 | %if !%{with uClibc} |
3cee3dc1 | 1030 | %files -n login |
6650d8d7 | 1031 | %defattr(644,root,root,755) |
4db557ee JB |
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 | |
1ce7c588 | 1034 | %attr(755,root,root) /bin/login |
105fdd5c | 1035 | |
3cee3dc1 | 1036 | %{_mandir}/man1/login.1* |
105fdd5c | 1037 | %lang(de) %{_mandir}/de/man1/login.1* |
e22644a2 | 1038 | %lang(es) %{_mandir}/es/man1/login.1* |
105fdd5c | 1039 | %lang(hu) %{_mandir}/hu/man1/login.1* |
ec7a6431 | 1040 | %lang(id) %{_mandir}/id/man1/login.1* |
d3f0754a | 1041 | %lang(it) %{_mandir}/it/man1/login.1* |
e22644a2 | 1042 | %lang(ja) %{_mandir}/ja/man1/login.1* |
105fdd5c | 1043 | %lang(ko) %{_mandir}/ko/man1/login.1* |
3cee3dc1 | 1044 | %lang(pl) %{_mandir}/pl/man1/login.1* |
ca49ce52 | 1045 | %endif |
91af51c8 | 1046 | |
aa943d59 | 1047 | %files -n agetty |
1048 | %defattr(644,root,root,755) | |
51303dde | 1049 | %attr(755,root,root) /sbin/agetty |
105fdd5c | 1050 | |
aa943d59 | 1051 | %{_mandir}/man8/agetty.8* |
e22644a2 | 1052 | %lang(es) %{_mandir}/es/man8/agetty.8* |
105fdd5c | 1053 | %lang(ja) %{_mandir}/ja/man8/agetty.8* |
aa943d59 | 1054 | |
7b9c6733 | 1055 | %if !%{with uClibc} |
91af51c8 | 1056 | %files -n rawdevices |
52449440 | 1057 | %defattr(644,root,root,755) |
088fe038 | 1058 | %attr(755,root,root) %{_bindir}/raw |
29288d0b | 1059 | %attr(754,root,root) /etc/rc.d/init.d/rawdevices |
4db557ee | 1060 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rawdevices |
105fdd5c | 1061 | |
336dde38 | 1062 | %{_mandir}/man8/raw.8* |
105fdd5c | 1063 | %lang(ja) %{_mandir}/ja/man8/raw.8* |
3e445eed | 1064 | %endif |