]>
Commit | Line | Data |
---|---|---|
4cccca28 JB |
1 | # |
2 | # Conditional build: | |
f3a75081 JB |
3 | %bcond_with allstatic # link everything statically |
4 | %bcond_without static # link e2fsck dynamically with libc | |
5c6b44ff | 5 | %bcond_without nls # build without NLS |
a09cb351 | 6 | %bcond_without initrd # don't build initrd version |
5a52d40c JR |
7 | %bcond_with uClibc # link initrd version with static glibc instead of uClibc |
8 | %bcond_without dietlibc # link initrd version with dietlibc instead of uClibc | |
a09cb351 | 9 | # |
10 | %ifarch sparc64 sparc | |
11 | %undefine with_uClibc | |
12 | %endif | |
4cccca28 | 13 | # |
af315f07 | 14 | Summary: Utilities for managing the second extended (ext2) filesystem |
142b9411 ER |
15 | Summary(cs.UTF-8): Nástroje pro správu souborových systémů typu ext2 |
16 | Summary(da.UTF-8): Værktøjer til håndtering af ext2 filsystemer | |
17 | Summary(de.UTF-8): Dienstprogramme zum Verwalten des Second Extended-Dateisystems (ext2) | |
18 | Summary(es.UTF-8): Utilidades para la gestión de un sistema de ficheros ext2 | |
19 | Summary(fr.UTF-8): Utilitaires pour la gestion du système de fichiers ext2 | |
20 | Summary(id.UTF-8): Utility untuk management filesystem ext2 | |
21 | Summary(is.UTF-8): Tól til að sýsla með ext2 skráarkerfið | |
22 | Summary(it.UTF-8): Utility per la gestione del filesystem (ext2) | |
23 | Summary(ja.UTF-8): Second Extended (ext2) ファイルシステムを管理するためのユーティリティ | |
24 | Summary(ko.UTF-8): ext2 파일 시스템을 관리하는 유틸리티 | |
25 | Summary(nb.UTF-8): Verktøy for håndtering av ext2 filsystemet | |
26 | Summary(pl.UTF-8): Narzędzia do systemu plikowego ext2 | |
27 | Summary(pt.UTF-8): Utilitários para gerir o sistema de ficheiros ext2 | |
28 | Summary(pt_BR.UTF-8): Ferramentas para o sistema de arquivos ext2 | |
29 | Summary(ru.UTF-8): Утилиты управления файловой системой ext2 | |
30 | Summary(sk.UTF-8): Pomocné programy pre správu ext2 súborového systému | |
31 | Summary(sl.UTF-8): Pripomočki za upravljanje datotečnega sistema ext2 | |
32 | Summary(sv.UTF-8): Verktyg för att hantera det andra utökade (ext2) filsystemet | |
33 | Summary(tr.UTF-8): ext2 dosya sistemi için araçlar | |
34 | Summary(uk.UTF-8): Утиліти для роботи з файловою системою ext2 | |
35 | Summary(zh_CN.UTF-8): 管理第二扩展(ext2)文件系统的工具。 | |
36 | Summary(zh_TW.UTF-8): 用於管理 ext2 檔案系統的工具程式。 | |
fde8cd71 | 37 | Name: e2fsprogs |
db278f4a JR |
38 | Version: 1.41.5 |
39 | Release: 0.1 | |
914260e2 | 40 | License: GPL v2 (with LGPL v2 and BSD parts) |
ae6cbd15 | 41 | Group: Applications/System |
4cccca28 | 42 | Source0: http://dl.sourceforge.net/e2fsprogs/%{name}-%{version}.tar.gz |
db278f4a | 43 | # Source0-md5: e218df6c84fc17c1126d31de9472a76c |
853955ea | 44 | Source1: e2compr-0.4.texinfo.gz |
4ffdd425 | 45 | # Source1-md5: c3c59ff37e49d8759abb1ef95a8d3abf |
e557345b | 46 | Source2: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 |
4fffe1bf | 47 | # Source2-md5: 992a37783bd42a897232972917e8ca7d |
ae6cbd15 | 48 | Patch0: %{name}-info.patch |
1d03201a | 49 | Patch1: e2compr-info.patch |
1fd884dd | 50 | Patch2: %{name}-498381.patch |
5a52d40c | 51 | Patch3: %{name}-diet.patch |
ae6cbd15 | 52 | URL: http://e2fsprogs.sourceforge.net/ |
c0e3e149 | 53 | BuildRequires: autoconf >= 2.50 |
5e39b1b4 | 54 | BuildRequires: automake |
abab4914 | 55 | BuildRequires: gettext-devel >= 0.11 |
fb02f962 | 56 | BuildRequires: rpmbuild(macros) >= 1.426 |
72326922 | 57 | BuildRequires: texinfo |
73952175 | 58 | %if %{with allstatic} |
f1a6ac20 | 59 | BuildRequires: glibc-static |
f1a6ac20 | 60 | BuildRequires: libselinux-static |
5e39b1b4 | 61 | BuildRequires: libsepol-static |
f1a6ac20 | 62 | %endif |
5a52d40c JR |
63 | %if %{with initrd} |
64 | %if %{with uClibc} | |
6924a188 | 65 | BuildRequires: uClibc-static >= 2:0.9.29 |
5a52d40c JR |
66 | %else |
67 | %if %{with dietlibc} | |
68 | BuildRequires: dietlibc-static | |
69 | %else | |
70 | BuildRequires: glibc-static | |
71 | %endif | |
72 | %endif | |
a09cb351 | 73 | %endif |
31cbbf88 | 74 | Requires(post,postun): /sbin/ldconfig |
4c0374c9 | 75 | Requires: fsck = %{version}-%{release} |
a78a2468 PS |
76 | Requires: libcom_err = %{version}-%{release} |
77 | Requires: libuuid = %{version}-%{release} | |
58c5291a | 78 | Obsoletes: e2fsprogs-evms |
a2a3c869 | 79 | Obsoletes: libext2fs2 |
f677340d | 80 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8c809535 | 81 | |
a09cb351 | 82 | # changing CFLAGS in the middle confuses confcache |
83 | %undefine configure_cache | |
84 | ||
558ab019 JR |
85 | # for some reason known only to rpm there must be "\\|" not "\|" here |
86 | %define dietarch %(echo %{_target_cpu} | sed -e 's/i.86\\|pentium.\\|athlon/i386/;s/amd64/x86_64/;s/armv.*/arm/') | |
87 | %define dietlibdir %{_prefix}/lib/dietlibc/lib-%{dietarch} | |
88 | ||
b47bcf8d | 89 | %description |
431e5747 | 90 | The e2fsprogs package contains a number of utilities for creating, |
a561033a | 91 | checking, modifying and correcting any inconsistencies in second |
af315f07 | 92 | extended (ext2) filesystems. e2fsprogs contains e2fsck (used to repair |
a561033a | 93 | filesystem inconsistencies after an unclean shutdown), mke2fs (used to |
94 | initialize a partition to contain an empty ext2 filesystem), debugfs | |
95 | (used to examine the internal structure of a filesystem, to manually | |
96 | repair a corrupted filesystem or to create test cases for e2fsck), | |
97 | tune2fs (used to modify filesystem parameters) and most of the other | |
98 | core ext2fs filesystem utilities. | |
b47bcf8d | 99 | |
58a23205 JR |
100 | %description -l cs.UTF-8 |
101 | Balíček e2fsprogs obsahuje několik programů pro vytváření, kontrolu | |
102 | úpravy a opravy nekonzistencí v systémech souborů typu ext2 (second | |
103 | extended filesystem). Balíček obsahuje program e2fsck (na opravy | |
104 | nekonzistencí systémů souborů, které nebyly odpojeny při vypnutí | |
105 | systému), mke2fs (pro vytvoření prázdného systému souborů typu ext2 v | |
106 | diskovém oddílu), debugfs (pro kontrolu interní struktury systému | |
107 | souborů, manuální opravu poškozeného systému souborů a pro vytváření | |
108 | testovacích případů pro e2fsck), tune2fs (pro úpravu parametrů systému | |
109 | souborů) a většinu dalších programů pro práci se systémy souborů typu | |
af315f07 | 110 | ext2fs. |
111 | ||
58a23205 JR |
112 | %description -l da.UTF-8 |
113 | e2fsprogs-pakken indeholder diverse værktøjer for at lave, | |
af315f07 | 114 | kontrollere, modificere og reparere ext2-filsystemer. e2fsprogs |
115 | indeholder e2fsck (bruges for at reparere filsystemer efter uren | |
116 | nedlukning af systemet), mke2fs (bruges for at initialisere en | |
117 | partition med et tomt ext2-filsystem), debugfs (bruges for at | |
58a23205 JR |
118 | undersøge de interne strukturer i filsystemet, for manuelt at kunne |
119 | reparere et ødelagt filsystem eller lave testscenarier for e2fsck), | |
af315f07 | 120 | tune2fs (bruges for at modificere filsystem-parametre) og flere andre |
58a23205 | 121 | værktøjer for at ændre og undersøge ext2-filsystemer. |
af315f07 | 122 | |
58a23205 JR |
123 | %description -l de.UTF-8 |
124 | Das Paket e2fsprogs enthält eine Reihe von Dienstprogrammen zum | |
125 | Anlegen, Überprüfen, Ändern und Reparieren von Inkonsistenzen in | |
126 | Second Extended-Dateisystemen (ext2). e2fsprogs enthält: e2fsck (zum | |
af315f07 | 127 | Korrigieren von Inkonsistenzen im Dateisystem nach einem |
128 | Computerabsturz), mke2fs (zum Initialisieren einer Partition mit einem | |
58a23205 | 129 | leeren ext2-Dateisystem), debugfs (zum Überprüfen der internen |
af315f07 | 130 | Struktur eines Dateisystems, zum manuellen Reparieren eines |
58a23205 JR |
131 | beschädigten Dateisystems oder zum Erstellen von Testfällen für |
132 | e2fsck), tune2fs (zum Ändern der Dateisystemparameter) und die meisten | |
133 | anderen wichtigen Dienstprogramme für ext2fs-Dateisystemem. | |
b47bcf8d | 134 | |
58a23205 | 135 | %description -l es.UTF-8 |
af315f07 | 136 | El paquete e2fsprogs contiene varias utilidades para crear, controlar, |
137 | modificar y corregir las inconsistencias en un sistema de ficheros | |
138 | ext2. e2fsprogs contiene e2fsck (resuelve el problema de | |
58a23205 JR |
139 | inconsistencia después de haber apagado el ordenador de manera |
140 | incorrecta), mke2fs (inicializa una nueva partición para contener un | |
141 | sistema de ficheros ext2 vacío), debugfs (examina la estructura | |
af315f07 | 142 | interna de un sistema de ficheros para reparar manualmente los errores |
143 | presentes en un sistema de ficheros o crear casos de prueba para | |
58a23205 JR |
144 | e2fsck), tune2fs (modifica los parámetros del sistema de ficheros) y |
145 | la mayoría de las utilidades principales del systema de ficheros | |
af315f07 | 146 | ext2fs. |
aa7adcf8 | 147 | |
58a23205 | 148 | %description -l fr.UTF-8 |
af315f07 | 149 | Le paquetage e2fsprogs contient plusieurs utilitaires permettant de |
58a23205 JR |
150 | créer, vérifier, modifier et corriger des incohérences dans des |
151 | systèmes de fichiers de type ext2. e2fsprogs contient e2fsck | |
152 | (réparation d'incohérences de système de fichiers après un arrêt | |
af315f07 | 153 | brutal), mke2fs (initialisation d'une partition devant contenir un |
58a23205 JR |
154 | système de fichiers ext2 vide), debugfs (examen de la structure |
155 | interne d'un système de fichiers afin de réparer manuellement un | |
156 | système de fichiers corrompu ou de créer des cas de test pour e2fsck), | |
157 | tune2fs (modification des paramètres de systèmes de fichiers) et la | |
158 | plupart des autres utilitaires clés pour les systèmes de fichiers | |
af315f07 | 159 | ext2fs. |
160 | ||
58a23205 | 161 | %description -l id.UTF-8 |
af315f07 | 162 | Package e2fsprogs berisi beberapa utility untuk membuat, cek, merubah, |
163 | dan memperbaiki kerusakan, pada second extended (ext2) filesystem. | |
164 | e2fsprogs berisi e2fsck (digunakan untuk memperbaiki filesystem | |
165 | inconsistencies yang biasanya terjadi setelah unclean shutdown), | |
166 | mke2fs (digunakan untuk membuat filesystem ext2 yang kosong), debugfs | |
167 | (untuk memeriksa internal structure dari filesystem, dan secara manual | |
168 | memperbaiki corrupted filesystem atau untuk membuat test cases untuk | |
169 | e2fsck), tune2fs (untuk merubah parameter filesystem) dan kebanyakan | |
170 | utility untuk filesystem ext2. | |
171 | ||
58a23205 JR |
172 | %description -l is.UTF-8 |
173 | e2fsprogs pakkinn inniheldur nokkur forrit til að búa til, skoða, | |
174 | breyta og laga allar villur í Linux skráarkerfinu (ext2). e2fsprogs | |
175 | inniheldur e2fsck (notað til að laga villur í skráarkerfinu eftir | |
176 | vonda enduruppkeyrslu), mke2fs (notað til að undirbúa harða disk töflu | |
177 | til að innihalda tómt ext2 skráarkerfi), debugfs (notað til að skoða | |
178 | innihald tóms ext2 skráarkerfis, til að handvirkt laga ónýtt | |
179 | skráarkerfi eða til að undirbúa tilraunir fyrir e2fsck)m tune2fs(notað | |
180 | til að breyta skráarkerfis möguleikum) og flest önnur ext2fs | |
181 | skráarkerfis forritum | |
182 | ||
183 | %description -l it.UTF-8 | |
af315f07 | 184 | Il pacchetto e2fsprogs contiene varie utility per creare, controllare, |
185 | modificare e correggere le inconsistenze in un filesystem ext2. | |
186 | e2fsprogs contiene e2fsck (risolve le inconsistenze di un filesystem | |
187 | dopo un arresto non corretto del calcolatore), mke2fs (inizializza una | |
188 | nuova partizione per un filesystem ext2 vuoto), debugfs (esamina la | |
58a23205 | 189 | struttura interna di un filesystem, è usato per riparare manualmente |
af315f07 | 190 | gli errori presenti in un filesystem e per creare casi di test per |
191 | e2fsck), tune2fs (modifica i parametri del filesystem) e molte delle | |
192 | utility principali per il filesystem ext2fs. | |
193 | ||
58a23205 JR |
194 | %description -l ja.UTF-8 |
195 | e2fsprogs パッケージには Second Extended (ext2) ファイルシステムの | |
196 | 作成、検査、変更を行ったり、不整合を修復するためのユーティリティが | |
197 | 数多く含まれています。e2fsprogs には e2fsck (異常終了後にファイル | |
198 | システムの不整合を修復する)、mke2fs (パーティションを初期化して空の | |
199 | ext2 ファイルシステムを作成する)、debugfs (ファイルシステムの内部 | |
200 | 構造を検査し、破損したファイルシステムを手動で修復したり、e2fsck | |
201 | 用のテストケースを作成する)、tune2fs (ファイルシステムのパラメータ | |
202 | を変更する) のほか、主な ext2fs ファイルシステムユーティリティの | |
203 | ほとんどが含まれます。 | |
204 | ||
205 | %description -l nb.UTF-8 | |
206 | e2fsprogs-pakken inneholder diverse verktøy for å lage, kontrollere, | |
af315f07 | 207 | modifisere og reparere ext2-filsystemer. e2fsprogs inneholder e2fsck |
58a23205 JR |
208 | (brukes for å reparere filsystemer etter uren nedkjøring av systemet), |
209 | mke2fs (brukes for å initialisere en partisjon med et tomt | |
210 | ext2-filsystem), debugfs (brukes for å undersøke de interne | |
211 | strukturene i filsystemet, for manuelt å kunne reparere et ødelagt | |
212 | filsystem eller lage testscenarier for e2fsck), tune2fs (brukes for å | |
213 | modifisere filsystem-parametre) og flere andre verktøy for å endre og | |
214 | undersøke ext2-filsystemer. | |
215 | ||
216 | %description -l pl.UTF-8 | |
217 | Pakiet ten zawiera narzędzia do tworzenia, sprawdzania i naprawiania | |
218 | wolumenów dyskowych z systemem plikowym ext2. e2fsprogs zawiera e2fsck | |
219 | (używany do naprawiania niespójności w systemie plikowym po | |
220 | niepoprawnym zamknięciu systemu), mke2fs (używany do inicjacji | |
221 | wolumenów ext2), debugfs (używany do sprawdzania wewnętrznej struktury | |
222 | wolumenów ext2, a także do ręcznego naprawiania błędów), tune2fs | |
223 | (używany do modyfikacji parametrów wolumenów ext2) i kilka innych | |
224 | narzędzi do ext2. | |
225 | ||
226 | %description -l pt.UTF-8 | |
227 | O pacote e2fsprogs contém uma quantidade de utilitários para criar, | |
228 | verificar, modificar e corrigir algumas inconsistências no sistema de | |
229 | ficheiros ext2. O e2fsprogs contém o e2fsck (usado para reparar as | |
230 | inconsistências do sistema de ficheiros depois duma terminação | |
231 | forçada), o mke2fs (usado para inicializar uma partição para esta | |
af315f07 | 232 | conter um sistema de ficheiros ext2 vazio), o debugfs (usado para |
233 | examinar a estrutura interna dum sistema de ficheiros, para reparar | |
58a23205 JR |
234 | manualmente um sistema de ficheiros corrompido ou para criar situações |
235 | de teste para o e2fsck), o tune2fs (usado para modificar os parâmetros | |
236 | do sistema de ficheiros) e a maioria dos outros utilitários de base do | |
af315f07 | 237 | sistema de ficheiros ext2. |
238 | ||
58a23205 JR |
239 | %description -l pt_BR.UTF-8 |
240 | Este pacote inclui vários utilitários para criação, checagem e reparo | |
aa7adcf8 | 241 | de sistema de arquivos ext2. |
242 | ||
58a23205 JR |
243 | %description -l ru.UTF-8 |
244 | Пакет e2fsprogs содержит утилиты для создания, проверки, изменения и | |
245 | корректировки внутреннего состояния файловой системы ext2. e2fsprogs | |
246 | содержит e2fsck (для восстановления файловой структуры после | |
247 | некорректного завершения работы), mke2fs (для инициализации раздела | |
248 | при создании пустой файловой системы ext2), debugfs (просмотр | |
249 | внутренней структуры файловой системы для ручного восстановления | |
250 | поврежденной файловой системы или создания тестовых ситуаций для | |
251 | e2fsck), tune2fs (для изменения параметров файловой системы) и | |
252 | множество других утилит для файловой системы ext2. | |
253 | ||
254 | %description -l sk.UTF-8 | |
255 | Balík e2fsprogs obsahuje niekoľko programov pre vytváranie, kontrolu, | |
256 | zmenu a opravu nekonzistencií na ext2 súborovom systéme. e2fsprogs | |
257 | obsahuje e2fsck (pre opravu nekonzistentných údajov na súborovom | |
258 | systéme po nečistom ukončení), mke2fs (pre vytvorenie prázdneho | |
259 | súborového systému na diskovom oddieli), debugfs (pre skúmanie | |
260 | vnútorných štruktúr súborového systému, jeho ručnú opravu alebo pre | |
261 | vytvorenie testovacích prípadov pre e2fsck), tune2fs (pre modifikáciu | |
262 | parametrov súborového systému) a väčšinu ďalších základných pomôcok | |
263 | pre prácu s ext2fs. | |
264 | ||
265 | %description -l sv.UTF-8 | |
266 | Paketet e2fsprogs innehåller ett antal verktyg för att skapa, | |
267 | kontrollera, modifiera och rätta felaktigheter i det andra utökade | |
268 | (ext2) filsystemet. e2fsprogs innehåller e2fsck (används för att | |
269 | reparera felaktigheter efter en oren avstängning), mke2fs (används för | |
270 | att initiera en partition att innehålla ett tomt ext2-filsystem), | |
271 | debugfs (används för att undersöka den interna strukturen i ett | |
af315f07 | 272 | filsystem, manuellt reparera trasiga filsystem eller skapa testfall |
58a23205 JR |
273 | för e2fsck), tune2fs (används för att modifiera filsystemparametrar) |
274 | och de flesta andra basverktygen för filsystemet ext2fs. | |
aa7adcf8 | 275 | |
58a23205 | 276 | %description -l tr.UTF-8 |
a561033a | 277 | Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve |
58a23205 JR |
278 | bazı parametrelerini değiştirmek için gerekli yazılımları içerir. |
279 | ||
280 | %description -l uk.UTF-8 | |
281 | Пакет e2fsprogs містить набір утиліт для створення, перевірки, | |
282 | модифікації та виправлення будь-яких помилок у файловій системі ext2. | |
283 | e2fsprogs містить e2fsck (використовується для виправлення помилок | |
284 | після "брудної" зупинки машини), mke2fs (для ініциалізації розділу та | |
285 | створення порожньої файлової системи ext2), debugfs (для вивчення | |
286 | внутрішньої структури файлової системи, ручного ремонту пошкодженої | |
287 | файлової системи або для створення тестів для e2fsck), tune2fs (для | |
288 | модифікації параметрів файлової системи) та більшість інших базових | |
289 | утиліт для ext2fs. | |
290 | ||
291 | %description -l zh_CN.UTF-8 | |
292 | e2fsprogs 软件包包含一些实用程序,用于创建、检查、 修改和纠正辅助扩展 | |
293 | (ext2) 文件系统中的任何不统一之处。 e2fsprogs 包含 | |
294 | e2fsck(用于在非正常关机后修复文件系统的不统一之处)、 | |
295 | mke2fs(用于将分区初始化为包含空白ext2 文件系统)、 | |
296 | debugfs(用于检查文件系统的内部结构、手动修复被破坏的文件系统或为e2fsck | |
297 | 创建测试范例)、 tune2fs(用于修改文件系统参数)和其它大多数核心 | |
298 | ext2fs 文件系统实用程序。 | |
af315f07 | 299 | |
fe802cbd ER |
300 | %package libs |
301 | Summary: ext2 filesystem-specific libraries | |
af0a3b54 | 302 | Summary(pl.UTF-8): Biblioteki dla systemu plików ext2 |
fe802cbd | 303 | Group: Libraries |
af0a3b54 | 304 | Conflicts: e2fsprogs < 1.40.6-3 |
e68d455c | 305 | Conflicts: fsck < 1.40.6-3 |
fe802cbd ER |
306 | |
307 | %description libs | |
308 | ext2 filesystem-specific libraries. | |
309 | ||
af0a3b54 JB |
310 | %description libs -l pl.UTF-8 |
311 | Biblioteki dla systemu plików ext2. | |
312 | ||
95841810 | 313 | %package devel |
af315f07 | 314 | Summary: ext2 filesystem-specific libraries and headers |
142b9411 ER |
315 | Summary(cs.UTF-8): Knihovny a hlavičkové soubory pro systém souborů ext2 |
316 | Summary(da.UTF-8): ext2 filsystemsspecifikke biblioteker og headerfiler | |
317 | Summary(de.UTF-8): Bibliotheken und Header-Dateien für ext2-Dateisysteme | |
318 | Summary(es.UTF-8): Bibliotecas y archivos de inclusión para e2fs | |
319 | Summary(fr.UTF-8): Bibliothèques et en-têtes spécifiques au système de fichiers ext2 | |
320 | Summary(id.UTF-8): Library dan file header untuk e2fsprogs | |
321 | Summary(is.UTF-8): Aðgerðasöfn og hausaskrár fyrir ext2 skráarkerfið | |
322 | Summary(it.UTF-8): Librerie e file header specifici per il filesystem ext2 | |
323 | Summary(ja.UTF-8): ext2 ファイルシステムに固有の静的ライブラリとヘッダー | |
324 | Summary(ko.UTF-8): ext2 파일시스템-지정 정적 라이브러리와 헤더들 | |
325 | Summary(nb.UTF-8): ext2 filsystemspesifikke bibliotek og headerfiler | |
326 | Summary(pl.UTF-8): Pliki nagłówkowe do bibliotek e2fs | |
327 | Summary(pt.UTF-8): Bibliotecas e ficheiros de inclusão específicos do sistema de ficheiros ext2 | |
328 | Summary(pt_BR.UTF-8): Bibliotecas e arquivos de inclusão para e2fs | |
329 | Summary(ru.UTF-8): Библиотеки и файлы заголовков для разработки программ, использующих ext2 | |
330 | Summary(sk.UTF-8): Knižnice a hlavičkové súbory pre ext2-špecifické programy | |
331 | Summary(sl.UTF-8): Knjižnice in glave, specifične datotečnemu sistemu ext2 | |
332 | Summary(sv.UTF-8): ext2 filsystemspecifika bibliotek och huvuden | |
333 | Summary(uk.UTF-8): Бібліотки програміста та хедери для роботи з ext2fs | |
334 | Summary(zh_CN.UTF-8): ext2 文件系统特有的静态库和头文件。 | |
335 | Summary(zh_TW.UTF-8): ext2 檔案系統特定的靜態函式庫與表頭。 | |
fde8cd71 | 336 | Group: Development/Libraries |
1c91fdac | 337 | %if %{without allstatic} |
fe802cbd | 338 | Requires: %{name}-libs = %{version}-%{release} |
af0a3b54 | 339 | %endif |
a78a2468 PS |
340 | Requires: libcom_err-devel = %{version}-%{release} |
341 | Requires: libuuid-devel = %{version}-%{release} | |
aa7adcf8 | 342 | Obsoletes: libext2fs2-devel |
b47bcf8d | 343 | |
344 | %description devel | |
af315f07 | 345 | e2fsprogs-devel contains the libraries and header files needed to |
a561033a | 346 | develop second extended (ext2) filesystem-specific programs. |
b47bcf8d | 347 | |
58a23205 JR |
348 | %description devel -l cs.UTF-8 |
349 | Balíček e2fsprogs-devel obsahuje knihovny a hlavičkové soubory | |
350 | potřebné pro vývoj programů pracujících se systémem souborů ext2 | |
af315f07 | 351 | (second extended fs). |
352 | ||
58a23205 JR |
353 | %description devel -l da.UTF-8 |
354 | e2fsprogs-devel indeholder de headerfiler og biblioteker man behøver | |
af315f07 | 355 | for at udvikle programmer specielt rettet mod ext2-filsystemer. |
356 | ||
58a23205 JR |
357 | %description devel -l de.UTF-8 |
358 | Das Paket e2fsprogs-devel enthält die Bibliotheken und Header-Dateien, | |
359 | die für die Entwicklung von Programmen für das Second | |
af315f07 | 360 | Extended-Dateisystem (ext2) erforderlich sind. |
b47bcf8d | 361 | |
58a23205 | 362 | %description devel -l es.UTF-8 |
af315f07 | 363 | e2fsprogs-devel contiene las bibliotecas y los ficheros de cabecera |
58a23205 | 364 | necesarios para desarrollar programas específicos para el sistema de |
af315f07 | 365 | ficheros ext2. |
366 | ||
58a23205 JR |
367 | %description devel -l fr.UTF-8 |
368 | e2fsprogs-devel contient les bibliothèques et fichiers d'en-tête | |
369 | nécessaires au développement de programmes spécifiques au système de | |
af315f07 | 370 | fichiers ext2. |
371 | ||
58a23205 | 372 | %description devel -l id.UTF-8 |
af315f07 | 373 | e2fsprogs-devel berisi library dan file header yang dibutuhkan untuk |
374 | develop program yang berkaitan dengan filesystem ext2. | |
375 | ||
58a23205 JR |
376 | %description devel -l is.UTF-8 |
377 | e2fsprogs-devel inniheldur library og header skrár sem þarf til að búa | |
378 | til (ext2) skráarsafns forrit | |
af315f07 | 379 | |
58a23205 | 380 | %description devel -l it.UTF-8 |
af315f07 | 381 | e2fsprogs-devel contiene le librerie e i file header necessari per |
382 | sviluppare programmi specifici per il filesystem ext2. | |
383 | ||
58a23205 JR |
384 | %description devel -l ja.UTF-8 |
385 | e2fspgrogs-devel には、Second Extended (ext2) ファイルシステムに固有 | |
386 | のプログラムを開発するために必要なライブラリとヘッダーファイルが含まれ | |
387 | ています。 | |
af315f07 | 388 | |
58a23205 | 389 | %description devel -l nb.UTF-8 |
af315f07 | 390 | e2fsprogs-devel inneholder de headerfiler og bibliotek man trenger for |
58a23205 | 391 | å utvikle programmer spesielt rettet mot ext2-filsystemer. |
aa7adcf8 | 392 | |
58a23205 JR |
393 | %description devel -l pl.UTF-8 |
394 | Pliki nagłówkowe i dokumentacja niezbędne do tworzenia programów | |
395 | obsługujących e2fs. | |
b47bcf8d | 396 | |
58a23205 JR |
397 | %description devel -l pt.UTF-8 |
398 | O pacote e2fsprogs-devel contém as bibliotecas e ficheiros de inclusão | |
399 | necessários para desenvolver programas específicos do sistema de | |
af315f07 | 400 | ficheiros ext2. |
401 | ||
58a23205 JR |
402 | %description devel -l pt_BR.UTF-8 |
403 | Bibliotecas e arquivos de inclusão para desenvolvimento de programas | |
404 | específicos para sistema de arquivo ext2. | |
aa7adcf8 | 405 | |
58a23205 JR |
406 | %description devel -l ru.UTF-8 |
407 | e2fsprogs-devel содержит статические библиотеки и файлы заголовков, | |
408 | необходимые при разработке программ, использующих файловую систему | |
af315f07 | 409 | ext2. |
410 | ||
58a23205 JR |
411 | %description devel -l sk.UTF-8 |
412 | e2fsprogs-devel obsahuje knižnice a hlavičkové súbory potrebné pre | |
413 | vývoj programov pre ext2 súborový systém. | |
af315f07 | 414 | |
58a23205 JR |
415 | %description devel -l sv.UTF-8 |
416 | e2fsprogs-devel innehåller bibliotek och huvudfiler som behövs för att | |
417 | utveckla filsystemsspecifika program för det andra utökade (ext2) | |
af315f07 | 418 | filsystemet. |
aa7adcf8 | 419 | |
58a23205 JR |
420 | %description devel -l uk.UTF-8 |
421 | e2fsprogs-devel містить бібліотеки та хедери, необхідні для написання | |
422 | програм, які працюють з файловою системою ext2. | |
aa7adcf8 | 423 | |
58a23205 JR |
424 | %description devel -l zh_CN.UTF-8 |
425 | e2fsprogs-devel 包含开发辅助扩展 (ext2) | |
426 | 文件系统专用程序所需的程序库和头文件。 | |
af315f07 | 427 | |
95841810 | 428 | %package static |
af315f07 | 429 | Summary: ext2 filesystem-specific static libraries |
142b9411 ER |
430 | Summary(cs.UTF-8): Statické knihovny pro systém souborů ext2 |
431 | Summary(da.UTF-8): ext2 filsystemsspecifikke statiske biblioteker | |
432 | Summary(de.UTF-8): Statische Bibliotheken für ext2-Dateisysteme | |
433 | Summary(es.UTF-8): Bibliotecas estaticas para e2fs | |
434 | Summary(fr.UTF-8): Bibliothèques statiques spécifiques au système de fichiers ext2 | |
435 | Summary(it.UTF-8): Librerie statiche specifici per il filesystem ext2 | |
436 | Summary(nb.UTF-8): ext2 filsystemspesifikke statiske bibliotek | |
437 | Summary(pl.UTF-8): Biblioteki statyczne do obsługi systemu plików ext2 | |
438 | Summary(pt.UTF-8): Bibliotecas estaticas específicos do sistema de ficheiros ext2 | |
439 | Summary(pt_BR.UTF-8): Bibliotecas estaticas para e2fs | |
440 | Summary(ru.UTF-8): Статические библиотеки для разработки программ, использующих ext2 | |
441 | Summary(sk.UTF-8): Statické knižnice a hlavičkové súbory pre ext2-špecifické programy | |
442 | Summary(sv.UTF-8): ext2 filsystemspecifika statiska bibliotek | |
443 | Summary(uk.UTF-8): Статичні бібліотки програміста для роботи з ext2fs | |
fde8cd71 | 444 | Group: Development/Libraries |
a78a2468 | 445 | Requires: %{name}-devel = %{version}-%{release} |
b47bcf8d | 446 | |
447 | %description static | |
af315f07 | 448 | Static libraries needed to develop ext2 filesystem-specific programs |
449 | statically linked with e2progs libs. | |
b47bcf8d | 450 | |
58a23205 | 451 | %description static -l de.UTF-8 |
431e5747 | 452 | Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen |
453 | erforderlich sind. | |
b47bcf8d | 454 | |
58a23205 JR |
455 | %description static -l es.UTF-8 |
456 | Bibliotecas estaticas para desarrollo de programas específicos para | |
af315f07 | 457 | sistema de archivo ext2. |
aa7adcf8 | 458 | |
58a23205 JR |
459 | %description static -l pl.UTF-8 |
460 | Biblioteki statyczne do obsługi e2fs niezbędne do kompilacji programów | |
e46e0049 | 461 | statycznie skonsolidowanych (linkowanych) z bibliotekami do e2fs. |
b47bcf8d | 462 | |
58a23205 JR |
463 | %description static -l pt_BR.UTF-8 |
464 | Bibliotecas estaticas para desenvolvimento de programas específicos | |
af315f07 | 465 | para sistema de arquivo ext2. |
aa7adcf8 | 466 | |
58a23205 JR |
467 | %description static -l ru.UTF-8 |
468 | e2fsprogs-devel-static содержит статические библиотеки, необходимые | |
469 | для написания программ, работающих с файловой системой ext2. | |
aa7adcf8 | 470 | |
58a23205 JR |
471 | %description static -l uk.UTF-8 |
472 | e2fsprogs-devel-static містить статичні бібліотеки, необхідні для | |
473 | написання програм, які працюють з файловою системою ext2. | |
aa7adcf8 | 474 | |
59f57553 | 475 | %package -n libcom_err |
5c6b44ff | 476 | Summary: A Common Error Description Library for unices |
142b9411 | 477 | Summary(pl.UTF-8): Biblioteka opisu popularnych błędów dla uniksów |
59f57553 | 478 | Group: Libraries |
48426a96 | 479 | Conflicts: e2fsprogs < 1.34-3 |
59f57553 AM |
480 | |
481 | %description -n libcom_err | |
5c6b44ff | 482 | A Common Error Description Library for unices. |
59f57553 | 483 | |
58a23205 JR |
484 | %description -n libcom_err -l pl.UTF-8 |
485 | Biblioteka opisu popularnych błędów dla uniksów. | |
59f57553 AM |
486 | |
487 | %package -n libcom_err-devel | |
5c6b44ff | 488 | Summary: Development files for Common Error Description Library for unices |
142b9411 | 489 | Summary(pl.UTF-8): Pliki dla programistów do biblioteki opisu popularnych błędów dla uniksów |
59f57553 | 490 | Group: Development/Libraries |
a78a2468 | 491 | Requires: libcom_err = %{version}-%{release} |
48426a96 | 492 | Conflicts: e2fsprogs-devel < 1.34-3 |
59f57553 AM |
493 | |
494 | %description -n libcom_err-devel | |
5c6b44ff | 495 | A Common Error Description Library for unices - development files. |
59f57553 | 496 | |
58a23205 JR |
497 | %description -n libcom_err-devel -l pl.UTF-8 |
498 | Biblioteka opisu popularnych błędów dla uniksów - pliki dla | |
499 | programistów. | |
59f57553 AM |
500 | |
501 | %package -n libcom_err-static | |
5c6b44ff | 502 | Summary: Static version of Common Error Description Library for unices |
142b9411 | 503 | Summary(pl.UTF-8): Statyczna biblioteka opisu popularnych błędów dla uniksów |
59f57553 | 504 | Group: Development/Libraries |
a78a2468 | 505 | Requires: libcom_err-devel = %{version}-%{release} |
48426a96 | 506 | Conflicts: e2fsprogs-static < 1.34-3 |
59f57553 AM |
507 | |
508 | %description -n libcom_err-static | |
5c6b44ff | 509 | A Common Error Description Library for unices - static version. |
59f57553 | 510 | |
58a23205 JR |
511 | %description -n libcom_err-static -l pl.UTF-8 |
512 | Biblioteka opisu popularnych błędów dla uniksów - wersja statyczna. | |
59f57553 AM |
513 | |
514 | %package -n libuuid | |
515 | Summary: Library for accessing and manipulating UUID | |
142b9411 | 516 | Summary(pl.UTF-8): Biblioteka umożliwiająca dostęp i zmiany UUID |
914260e2 | 517 | License: BSD |
59f57553 | 518 | Group: Libraries |
48426a96 | 519 | Conflicts: e2fsprogs < 1.34-3 |
59f57553 AM |
520 | |
521 | %description -n libuuid | |
522 | Library for accessing and manipulating UUID. | |
523 | ||
58a23205 JR |
524 | %description -n libuuid -l pl.UTF-8 |
525 | Biblioteka umożliwiająca dostęp i zmiany UUID. | |
59f57553 AM |
526 | |
527 | %package -n libuuid-devel | |
5c6b44ff | 528 | Summary: Header files for library for accessing and manipulating UUID |
142b9411 | 529 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki umożliwiającej dostęp i zmiany UUID |
914260e2 | 530 | License: BSD |
59f57553 | 531 | Group: Development/Libraries |
a78a2468 | 532 | Requires: libuuid = %{version}-%{release} |
48426a96 | 533 | Conflicts: e2fsprogs-devel < 1.34-3 |
59f57553 AM |
534 | |
535 | %description -n libuuid-devel | |
536 | Library for accessing and manipulating UUID - development files. | |
537 | ||
58a23205 JR |
538 | %description -n libuuid-devel -l pl.UTF-8 |
539 | Biblioteka umożliwiająca dostęp i zmiany UUID - pliki dla | |
540 | programistów. | |
59f57553 AM |
541 | |
542 | %package -n libuuid-static | |
5c6b44ff | 543 | Summary: Static library for accessing and manipulating UUID |
142b9411 | 544 | Summary(pl.UTF-8): Statyczna biblioteka umożliwiająca dostęp i zmiany UUID |
914260e2 | 545 | License: BSD |
59f57553 | 546 | Group: Development/Libraries |
a78a2468 | 547 | Requires: libuuid-devel = %{version}-%{release} |
48426a96 | 548 | Conflicts: e2fsprogs-static < 1.34-3 |
59f57553 AM |
549 | |
550 | %description -n libuuid-static | |
5c6b44ff | 551 | Library for accessing and manipulating UUID - static version. |
59f57553 | 552 | |
58a23205 JR |
553 | %description -n libuuid-static -l pl.UTF-8 |
554 | Biblioteka umożliwiająca dostęp i zmiany UUID - wersja statyczna. | |
59f57553 | 555 | |
558ab019 JR |
556 | %package -n libuuid-dietlibc |
557 | Summary: Static dietlibc library for accessing and manipulating UUID | |
558 | Summary(pl.UTF-8): Statyczna biblioteka dietlibc umożliwiająca dostęp i zmiany UUID | |
559 | License: BSD | |
560 | Group: Development/Libraries | |
561 | Requires: libuuid-devel = %{version}-%{release} | |
562 | Conflicts: e2fsprogs-static < 1.34-3 | |
563 | ||
564 | %description -n libuuid-dietlibc | |
565 | Library for accessing and manipulating UUID - static dietlibc version. | |
566 | ||
567 | %description -n libuuid-dietlibc -l pl.UTF-8 | |
568 | Biblioteka umożliwiająca dostęp i zmiany UUID - wersja statyczna dietlibc. | |
569 | ||
96cf9b00 | 570 | %package -n uuidd |
174affbc JB |
571 | Summary: Helper daemon to guarantee uniqueness of time-based UUIDs |
572 | Summary(pl.UTF-8): Pomocniczy demon gwarantujący unikalność UUID-ów opartych na czasie | |
96cf9b00 ER |
573 | License: GPL v2 |
574 | Group: Daemons | |
575 | Requires(postun): /usr/sbin/groupdel | |
576 | Requires(postun): /usr/sbin/userdel | |
577 | Requires(pre): /bin/id | |
578 | Requires(pre): /usr/bin/getgid | |
579 | Requires(pre): /usr/sbin/groupadd | |
580 | Requires(pre): /usr/sbin/groupmod | |
581 | Requires(pre): /usr/sbin/useradd | |
582 | Requires(pre): /usr/sbin/usermod | |
583 | Requires: libuuid = %{version}-%{release} | |
584 | Provides: group(uuidd) | |
585 | Provides: user(uuidd) | |
586 | Conflicts: libuuid < 1.40.5-0.1 | |
587 | ||
588 | %description -n uuidd | |
589 | The uuidd package contains a userspace daemon (uuidd) which guarantees | |
590 | uniqueness of time-based UUID generation even at very high rates on | |
591 | SMP systems. | |
592 | ||
174affbc JB |
593 | %description -n uuidd -l pl.UTF-8 |
594 | Ten pakiet zawiera działającego w przestrzeni użytkownika demona | |
595 | (uuidd) gwarantującego unikalność generowania UUID-ów opartych na | |
596 | czasie nawet przy bardzo dużej częstotliwości na systemach SMP. | |
597 | ||
5e1eea35 | 598 | %package -n fsck |
599 | Summary: Check and repair a Linux file system | |
142b9411 | 600 | Summary(pl.UTF-8): Sprawdzenie i naprawa linuksowego systemu plików |
5e1eea35 | 601 | Group: Applications/System |
1c91fdac | 602 | %if %{without allstatic} |
fe802cbd | 603 | Requires: %{name}-libs = %{version}-%{release} |
af0a3b54 | 604 | %endif |
5a16540b | 605 | Requires: libuuid = %{version}-%{release} |
5e1eea35 | 606 | |
607 | %description -n fsck | |
608 | Check and repair a Linux file system. | |
609 | ||
58a23205 JR |
610 | %description -n fsck -l pl.UTF-8 |
611 | Sprawdzenie i naprawa linuksowego systemu plików. | |
5e1eea35 | 612 | |
a09cb351 | 613 | %package initrd |
9c368293 JR |
614 | Summary: e2fsck and mke2fs - initrd version |
615 | Summary(pl.UTF-8): e2fsck i mke2fs - wersja dla initrd | |
a794e14c | 616 | Group: Base |
cdaf9579 | 617 | Conflicts: geninitrd < 10000.10 |
a09cb351 | 618 | |
619 | %description initrd | |
9c368293 JR |
620 | This package includes a e2fsck and mke2fs utilities staticaly |
621 | linked for initrd. | |
a09cb351 | 622 | |
623 | %description initrd -l pl.UTF-8 | |
9c368293 JR |
624 | Pakiet ten zawiera narzędziae2fsck i mke2fs statycznie skonsolidowane |
625 | na potrzeby initrd. | |
a09cb351 | 626 | |
b47bcf8d | 627 | %prep |
5c6b44ff | 628 | %setup -q |
c4fa4179 | 629 | %patch0 -p1 |
fb02f962 | 630 | %{__gzip} -dc < %{SOURCE1} > doc/e2compr.texinfo |
b77dac48 | 631 | %patch1 -p1 |
6924a188 | 632 | %patch2 -p1 |
5a52d40c | 633 | %patch3 -p1 |
fb02f962 | 634 | |
73952175 | 635 | sed -i -e '/AC_SUBST(DO_TEST_SUITE/a\MKINSTALLDIRS="install -d"\nAC_SUBST(MKINSTALLDIRS)\n' configure.in |
fccc6bdc | 636 | |
9b25605d JB |
637 | # AX_TLS |
638 | tail -n +2604 aclocal.m4 > acinclude.m4 | |
639 | ||
b47bcf8d | 640 | %build |
853955ea | 641 | cp -f /usr/share/automake/config.sub . |
bc7535ae | 642 | %{__gettextize} |
8f84ac56 | 643 | %{__aclocal} |
607a49ca | 644 | %{__autoconf} |
a09cb351 | 645 | |
646 | %if %{with initrd} | |
5a52d40c JR |
647 | %if %{with dietlibc} |
648 | # needed for syscall() | |
649 | sed -i -e 's|\(^LIBUUID = .*\)|\1 -lcompat|g' \ | |
650 | -e 's|\(^STATIC_LIBUUID = .*\)|\1 -lcompat|g' MCONFIG.in | |
651 | %endif | |
a09cb351 | 652 | %configure \ |
a09cb351 | 653 | ac_cv_lib_dl_dlopen=no \ |
5a52d40c JR |
654 | %{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc"} \ |
655 | %{?with_dietlibc:--with-cc="diet %{__cc}"} \ | |
36f2b7be JR |
656 | --with-ccopts="%{rpmcflags} -Os" \ |
657 | --with-ldopts="%{rpmldflags} -static" \ | |
a09cb351 | 658 | --disable-elf-shlibs \ |
db278f4a | 659 | --disable-libblkid \ |
a09cb351 | 660 | --disable-selinux \ |
5a52d40c JR |
661 | --disable-nls \ |
662 | --disable-testio-debug \ | |
663 | --disable-e2initrd-helper \ | |
664 | --disable-uuidd \ | |
665 | --disable-tls \ | |
666 | --disable-nls \ | |
667 | --disable-threads | |
a09cb351 | 668 | |
936557cf | 669 | %{__make} -j1 libs |
a09cb351 | 670 | %{__make} progs |
5a52d40c JR |
671 | mv -f misc/mke2fs initrd-mke2fs |
672 | mv -f misc/fsck initrd-e2fsck | |
5a52d40c JR |
673 | %if %{with dietlibc} |
674 | sed -i -e 's|\(^LIBUUID = .*\) -lcompat|\1|g' \ | |
675 | -e 's|\(^STATIC_LIBUUID = .*\) -lcompat|\1|g' MCONFIG.in | |
558ab019 | 676 | mv -f lib/uuid/libuuid.a diet-libuuid.a |
5a52d40c | 677 | %endif |
558ab019 | 678 | %{__make} clean |
a09cb351 | 679 | %endif |
680 | ||
ae6cbd15 | 681 | %configure \ |
c0de64b5 | 682 | --with-root-prefix="" \ |
5c6b44ff | 683 | %{!?with_nls:--disable-nls} \ |
59f57553 | 684 | %{!?with_allstatic:--enable-elf-shlibs} \ |
db278f4a | 685 | --disable-libblkid \ |
ae6cbd15 | 686 | --enable-compression \ |
4fffe1bf | 687 | --enable-htree \ |
4fffe1bf AM |
688 | --enable-fsck \ |
689 | --disable-rpath | |
b47bcf8d | 690 | |
8d1303b7 | 691 | %{__make} -j1 libs \ |
692 | LDFLAGS="%{rpmldflags}" | |
693 | %{__make} progs docs \ | |
12ee2731 JB |
694 | LDFLAGS="%{rpmldflags}" |
695 | ||
3cdd562a | 696 | cd doc |
e1d59235 | 697 | makeinfo --no-split e2compr.texinfo |
3cdd562a | 698 | |
b47bcf8d | 699 | %install |
700 | rm -rf $RPM_BUILD_ROOT | |
558ab019 | 701 | %{?with_dietlibc:install -d $RPM_BUILD_ROOT%{dietlibdir}} |
0200ccaa | 702 | export PATH=/sbin:$PATH |
b47bcf8d | 703 | |
c73bd5d0 AM |
704 | install -d $RPM_BUILD_ROOT/var/lib/libuuid |
705 | ||
4fffe1bf AM |
706 | echo "install-shlibs:" >> intl/Makefile |
707 | ||
5e39b1b4 | 708 | %{__make} install install-libs \ |
9c9b1fd8 | 709 | root_libdir=/%{_lib} \ |
5e39b1b4 | 710 | mkinstalldirs='install -d' \ |
12ee2731 | 711 | DESTDIR=$RPM_BUILD_ROOT |
b47bcf8d | 712 | |
bd1a204b | 713 | ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2 |
ae6cbd15 | 714 | ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3 |
bd1a204b | 715 | ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2 |
716 | ||
3cdd562a AF |
717 | install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir} |
718 | ||
740f8c96 | 719 | touch $RPM_BUILD_ROOT%{_sysconfdir}/e2fsck.conf |
f1a6ac20 | 720 | |
7af173f7 | 721 | bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
722 | ||
fccf58c3 | 723 | rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{mkfs,fsck}.ext[234]*.8* |
2c799e7e ER |
724 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.ext2.8 |
725 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.ext3.8 | |
e062a2c5 JB |
726 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.ext4.8 |
727 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.ext4dev.8 | |
2c799e7e ER |
728 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.ext2.8 |
729 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.ext3.8 | |
e062a2c5 JB |
730 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.ext4.8 |
731 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.ext4dev.8 | |
8d3f2404 JB |
732 | # missing in non-english-man-pages tarball |
733 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/hu/man8/fsck.ext3.8 | |
e062a2c5 JB |
734 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/hu/man8/fsck.ext4.8 |
735 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/hu/man8/fsck.ext4dev.8 | |
8d3f2404 | 736 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/fsck.ext3.8 |
e062a2c5 JB |
737 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/fsck.ext4.8 |
738 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/fsck.ext4dev.8 | |
8d3f2404 | 739 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/mkfs.ext3.8 |
e062a2c5 JB |
740 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/mkfs.ext4.8 |
741 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/mkfs.ext4dev.8 | |
742 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/ja/man8/fsck.ext4.8 | |
743 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/ja/man8/fsck.ext4dev.8 | |
744 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/ja/man8/mkfs.ext4.8 | |
745 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/ja/man8/mkfs.ext4dev.8 | |
8d3f2404 | 746 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/fsck.ext3.8 |
e062a2c5 JB |
747 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/fsck.ext4.8 |
748 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/fsck.ext4dev.8 | |
8d3f2404 | 749 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/mkfs.ext3.8 |
e062a2c5 JB |
750 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/mkfs.ext4.8 |
751 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/mkfs.ext4dev.8 | |
752 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/fsck.ext4.8 | |
753 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/fsck.ext4dev.8 | |
8d3f2404 | 754 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/mkfs.ext3.8 |
e062a2c5 JB |
755 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/mkfs.ext4.8 |
756 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/mkfs.ext4dev.8 | |
4fdbb4fe | 757 | |
5c6b44ff | 758 | %if %{with nls} |
28032309 | 759 | [ "`file $RPM_BUILD_ROOT%{_datadir}/locale/it/LC_MESSAGES/e2fsprogs.mo |\ |
760 | sed -e 's/.*,//' -e 's/message.*//'`" -le 1 ] && rm -f $f | |
761 | %find_lang %{name} | |
762 | %endif | |
414f02af | 763 | |
5e39b1b4 ER |
764 | rm -f $RPM_BUILD_ROOT%{_mandir}/README.e2fsprogs-non-english-man-pages |
765 | ||
5a52d40c | 766 | %if %{with initrd} |
c530250e | 767 | install -d $RPM_BUILD_ROOT%{_libdir}/initrd |
c530250e JR |
768 | install initrd-e2fsck $RPM_BUILD_ROOT%{_libdir}/initrd/e2fsck |
769 | install initrd-mke2fs $RPM_BUILD_ROOT%{_libdir}/initrd/mke2fs | |
5a52d40c | 770 | %endif |
a09cb351 | 771 | |
558ab019 JR |
772 | %{?with_dietlibc:install diet-libuuid.a $RPM_BUILD_ROOT%{dietlibdir}/libuuid.a} |
773 | ||
b77dac48 JB |
774 | %clean |
775 | rm -rf $RPM_BUILD_ROOT | |
776 | ||
af0a3b54 | 777 | %post -p /sbin/postshell |
fe802cbd ER |
778 | -/usr/sbin/fix-info-dir -c %{_infodir} |
779 | ||
af0a3b54 | 780 | %postun -p /sbin/postshell |
fe802cbd | 781 | -/usr/sbin/fix-info-dir -c %{_infodir} |
3cdd562a | 782 | |
af0a3b54 JB |
783 | %post libs -p /sbin/ldconfig |
784 | %postun libs -p /sbin/ldconfig | |
b47bcf8d | 785 | |
174affbc | 786 | %post devel -p /sbin/postshell |
9f19c5b3 | 787 | -/usr/sbin/fix-info-dir -c %{_infodir} |
b47bcf8d | 788 | |
174affbc | 789 | %postun devel -p /sbin/postshell |
9f19c5b3 | 790 | -/usr/sbin/fix-info-dir -c %{_infodir} |
0200ccaa | 791 | |
5c6b44ff JB |
792 | %post -n libcom_err -p /sbin/ldconfig |
793 | %postun -n libcom_err -p /sbin/ldconfig | |
59f57553 | 794 | |
5c6b44ff | 795 | %post -n libuuid -p /sbin/ldconfig |
96cf9b00 ER |
796 | %postun -n libuuid -p /sbin/ldconfig |
797 | ||
798 | %pre -n uuidd | |
7b2f7bca | 799 | if [ "$(getgid libuuid 2>/dev/null)" = "222" ]; then |
96cf9b00 ER |
800 | /usr/sbin/groupmod -n uuidd libuuid |
801 | fi | |
802 | %groupadd -g 222 uuidd | |
803 | if [ "$(id -u libuuid 2>/dev/null)" = "222" ]; then | |
804 | /usr/sbin/usermod -l uuidd libuuid | |
805 | fi | |
806 | %useradd -u 222 -r -d /var/lib/libuuid -s /bin/false -c "UUID generator helper daemon" -g uuidd uuidd | |
c73bd5d0 | 807 | |
96cf9b00 | 808 | %postun -n uuidd |
c73bd5d0 | 809 | if [ "$1" = "0" ]; then |
96cf9b00 ER |
810 | %userremove uuidd |
811 | %groupremove uuidd | |
c73bd5d0 | 812 | fi |
59f57553 | 813 | |
62986ed9 JB |
814 | %post -n fsck -p /sbin/ldconfig |
815 | %postun -n fsck -p /sbin/ldconfig | |
816 | ||
5c6b44ff | 817 | %files %{?with_nls:-f %{name}.lang} |
3cdd562a | 818 | %defattr(644,root,root,755) |
914260e2 | 819 | # COPYING specifies license details for some parts of package |
bb508a12 | 820 | %doc COPYING README RELEASE-NOTES |
9b25605d | 821 | %attr(755,root,root) /sbin/badblocks |
9b25605d JB |
822 | %attr(755,root,root) /sbin/debugfs |
823 | %attr(755,root,root) /sbin/dumpe2fs | |
824 | %attr(755,root,root) /sbin/e2fsck | |
825 | %attr(755,root,root) /sbin/e2image | |
826 | %attr(755,root,root) /sbin/e2label | |
e062a2c5 | 827 | %attr(755,root,root) /sbin/e2undo |
9b25605d JB |
828 | %attr(755,root,root) /sbin/findfs |
829 | %attr(755,root,root) /sbin/fsck.ext2 | |
830 | %attr(755,root,root) /sbin/fsck.ext3 | |
e062a2c5 JB |
831 | %attr(755,root,root) /sbin/fsck.ext4 |
832 | %attr(755,root,root) /sbin/fsck.ext4dev | |
9b25605d JB |
833 | %attr(755,root,root) /sbin/logsave |
834 | %attr(755,root,root) /sbin/mke2fs | |
835 | %attr(755,root,root) /sbin/mkfs.ext2 | |
836 | %attr(755,root,root) /sbin/mkfs.ext3 | |
e062a2c5 JB |
837 | %attr(755,root,root) /sbin/mkfs.ext4 |
838 | %attr(755,root,root) /sbin/mkfs.ext4dev | |
9b25605d JB |
839 | %attr(755,root,root) /sbin/resize2fs |
840 | %attr(755,root,root) /sbin/tune2fs | |
841 | %attr(755,root,root) %{_bindir}/chattr | |
842 | %attr(755,root,root) %{_bindir}/lsattr | |
5c6b44ff | 843 | %attr(755,root,root) %{_bindir}/mk_cmds |
9b25605d JB |
844 | %attr(755,root,root) %{_sbindir}/filefrag |
845 | %attr(755,root,root) %{_sbindir}/mklost+found | |
58c5291a | 846 | %attr(755,root,root) %{_libdir}/e2initrd_helper |
740f8c96 ER |
847 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/e2fsck.conf |
848 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mke2fs.conf | |
9b25605d JB |
849 | %{_mandir}/man1/chattr.1* |
850 | %{_mandir}/man1/lsattr.1* | |
5c6b44ff | 851 | %{_mandir}/man1/mk_cmds.1* |
f1a6ac20 JB |
852 | %{_mandir}/man5/e2fsck.conf.5* |
853 | %{_mandir}/man5/mke2fs.conf.5* | |
9b25605d | 854 | %{_mandir}/man8/badblocks.8* |
9b25605d JB |
855 | %{_mandir}/man8/debugfs.8* |
856 | %{_mandir}/man8/dumpe2fs.8* | |
857 | %{_mandir}/man8/e2fsck.8* | |
858 | %{_mandir}/man8/e2image.8* | |
859 | %{_mandir}/man8/e2label.8* | |
e062a2c5 | 860 | %{_mandir}/man8/e2undo.8* |
9b25605d JB |
861 | %{_mandir}/man8/filefrag.8* |
862 | %{_mandir}/man8/findfs.8* | |
863 | %{_mandir}/man8/fsck.ext2.8* | |
864 | %{_mandir}/man8/fsck.ext3.8* | |
e062a2c5 JB |
865 | %{_mandir}/man8/fsck.ext4.8* |
866 | %{_mandir}/man8/fsck.ext4dev.8* | |
9b25605d JB |
867 | %{_mandir}/man8/logsave.8* |
868 | %{_mandir}/man8/mke2fs.8* | |
869 | %{_mandir}/man8/mkfs.ext2.8* | |
870 | %{_mandir}/man8/mkfs.ext3.8* | |
e062a2c5 JB |
871 | %{_mandir}/man8/mkfs.ext4.8* |
872 | %{_mandir}/man8/mkfs.ext4dev.8* | |
9b25605d JB |
873 | %{_mandir}/man8/mklost+found.8* |
874 | %{_mandir}/man8/resize2fs.8* | |
875 | %{_mandir}/man8/tune2fs.8* | |
876 | %lang(fi) %{_mandir}/fi/man1/chattr.1* | |
877 | %lang(fi) %{_mandir}/fi/man1/lsattr.1* | |
878 | %lang(fr) %{_mandir}/fr/man1/lsattr.1* | |
879 | %lang(fr) %{_mandir}/fr/man8/badblocks.8* | |
880 | %lang(fr) %{_mandir}/fr/man8/dumpe2fs.8* | |
881 | %lang(fr) %{_mandir}/fr/man8/e2label.8* | |
882 | %lang(fr) %{_mandir}/fr/man8/mklost+found.8* | |
883 | %lang(hu) %{_mandir}/hu/man1/chattr.1* | |
884 | %lang(hu) %{_mandir}/hu/man1/lsattr.1* | |
885 | %lang(hu) %{_mandir}/hu/man8/dumpe2fs.8* | |
886 | %lang(hu) %{_mandir}/hu/man8/e2fsck.8* | |
887 | %lang(hu) %{_mandir}/hu/man8/fsck.ext2.8* | |
888 | %lang(hu) %{_mandir}/hu/man8/fsck.ext3.8* | |
e062a2c5 JB |
889 | %lang(hu) %{_mandir}/hu/man8/fsck.ext4.8* |
890 | %lang(hu) %{_mandir}/hu/man8/fsck.ext4dev.8* | |
9b25605d JB |
891 | %lang(hu) %{_mandir}/hu/man8/tune2fs.8* |
892 | %lang(it) %{_mandir}/it/man1/chattr.1* | |
893 | %lang(it) %{_mandir}/it/man1/lsattr.1* | |
894 | %lang(it) %{_mandir}/it/man8/badblocks.8* | |
895 | %lang(it) %{_mandir}/it/man8/debugfs.8* | |
896 | %lang(it) %{_mandir}/it/man8/dumpe2fs.8* | |
897 | %lang(it) %{_mandir}/it/man8/e2fsck.8* | |
898 | %lang(it) %{_mandir}/it/man8/fsck.ext2.8* | |
899 | %lang(it) %{_mandir}/it/man8/fsck.ext3.8* | |
e062a2c5 JB |
900 | %lang(it) %{_mandir}/it/man8/fsck.ext4.8* |
901 | %lang(it) %{_mandir}/it/man8/fsck.ext4dev.8* | |
9b25605d JB |
902 | %lang(it) %{_mandir}/it/man8/mke2fs.8* |
903 | %lang(it) %{_mandir}/it/man8/mkfs.ext2.8* | |
904 | %lang(it) %{_mandir}/it/man8/mkfs.ext3.8* | |
e062a2c5 JB |
905 | %lang(it) %{_mandir}/it/man8/mkfs.ext4.8* |
906 | %lang(it) %{_mandir}/it/man8/mkfs.ext4dev.8* | |
9b25605d JB |
907 | %lang(it) %{_mandir}/it/man8/mklost+found.8* |
908 | %lang(it) %{_mandir}/it/man8/tune2fs.8* | |
909 | %lang(ja) %{_mandir}/ja/man1/chattr.1* | |
910 | %lang(ja) %{_mandir}/ja/man1/lsattr.1* | |
911 | %lang(ja) %{_mandir}/ja/man8/badblocks.8* | |
912 | %lang(ja) %{_mandir}/ja/man8/debugfs.8* | |
913 | %lang(ja) %{_mandir}/ja/man8/dumpe2fs.8* | |
914 | %lang(ja) %{_mandir}/ja/man8/e2fsck.8* | |
915 | %lang(ja) %{_mandir}/ja/man8/e2image.8* | |
916 | %lang(ja) %{_mandir}/ja/man8/e2label.8* | |
917 | %lang(ja) %{_mandir}/ja/man8/findfs.8* | |
918 | %lang(ja) %{_mandir}/ja/man8/fsck.ext2.8* | |
919 | %lang(ja) %{_mandir}/ja/man8/fsck.ext3.8* | |
e062a2c5 JB |
920 | %lang(ja) %{_mandir}/ja/man8/fsck.ext4.8* |
921 | %lang(ja) %{_mandir}/ja/man8/fsck.ext4dev.8* | |
9b25605d JB |
922 | %lang(ja) %{_mandir}/ja/man8/mke2fs.8* |
923 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext2.8* | |
924 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext3.8* | |
e062a2c5 JB |
925 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext4.8* |
926 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext4dev.8* | |
9b25605d JB |
927 | %lang(ja) %{_mandir}/ja/man8/mklost+found.8* |
928 | %lang(ja) %{_mandir}/ja/man8/resize2fs.8* | |
929 | %lang(ja) %{_mandir}/ja/man8/tune2fs.8* | |
930 | %lang(ko) %{_mandir}/ko/man1/chattr.1* | |
931 | %lang(ko) %{_mandir}/ko/man1/lsattr.1* | |
932 | %lang(ko) %{_mandir}/ko/man8/badblocks.8* | |
933 | %lang(ko) %{_mandir}/ko/man8/debugfs.8* | |
934 | %lang(ko) %{_mandir}/ko/man8/dumpe2fs.8* | |
935 | %lang(ko) %{_mandir}/ko/man8/e2fsck.8* | |
936 | %lang(ko) %{_mandir}/ko/man8/fsck.ext2.8* | |
937 | %lang(ko) %{_mandir}/ko/man8/fsck.ext3.8* | |
e062a2c5 JB |
938 | %lang(ko) %{_mandir}/ko/man8/fsck.ext4.8* |
939 | %lang(ko) %{_mandir}/ko/man8/fsck.ext4dev.8* | |
9b25605d JB |
940 | %lang(ko) %{_mandir}/ko/man8/mke2fs.8* |
941 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext2.8* | |
942 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext3.8* | |
e062a2c5 JB |
943 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext4.8* |
944 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext4dev.8* | |
9b25605d JB |
945 | %lang(ko) %{_mandir}/ko/man8/mklost+found.8* |
946 | %lang(ko) %{_mandir}/ko/man8/tune2fs.8* | |
947 | %lang(pl) %{_mandir}/pl/man1/chattr.1* | |
948 | %lang(pl) %{_mandir}/pl/man1/lsattr.1* | |
949 | %lang(pl) %{_mandir}/pl/man8/badblocks.8* | |
950 | %lang(pl) %{_mandir}/pl/man8/debugfs.8* | |
951 | %lang(pl) %{_mandir}/pl/man8/dumpe2fs.8* | |
952 | %lang(pl) %{_mandir}/pl/man8/e2fsck.8* | |
953 | %lang(pl) %{_mandir}/pl/man8/e2label.8* | |
954 | %lang(pl) %{_mandir}/pl/man8/fsck.ext2.8* | |
955 | %lang(pl) %{_mandir}/pl/man8/fsck.ext3.8* | |
e062a2c5 JB |
956 | %lang(pl) %{_mandir}/pl/man8/fsck.ext4.8* |
957 | %lang(pl) %{_mandir}/pl/man8/fsck.ext4dev.8* | |
9b25605d JB |
958 | %lang(pl) %{_mandir}/pl/man8/mke2fs.8* |
959 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext2.8* | |
960 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext3.8* | |
e062a2c5 JB |
961 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext4.8* |
962 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext4dev.8* | |
9b25605d JB |
963 | %lang(pl) %{_mandir}/pl/man8/mklost+found.8* |
964 | %lang(pl) %{_mandir}/pl/man8/tune2fs.8* | |
ae6cbd15 | 965 | %{_datadir}/ss |
3cdd562a | 966 | %{_infodir}/e2compr.info* |
7471f3a4 | 967 | |
af0a3b54 | 968 | %if %{without allstatic} |
fe802cbd | 969 | %files libs |
5a16540b | 970 | %defattr(644,root,root,755) |
fe802cbd ER |
971 | %attr(755,root,root) /%{_lib}/libe2p.so.*.* |
972 | %attr(755,root,root) %ghost /%{_lib}/libe2p.so.2 | |
973 | %attr(755,root,root) /%{_lib}/libext2fs.so.*.* | |
974 | %attr(755,root,root) %ghost /%{_lib}/libext2fs.so.2 | |
975 | %attr(755,root,root) /%{_lib}/libss.so.*.* | |
976 | %attr(755,root,root) %ghost /%{_lib}/libss.so.2 | |
977 | %endif | |
978 | ||
b47bcf8d | 979 | %files devel |
67692e6e | 980 | %defattr(644,root,root,755) |
9b25605d | 981 | %if %{without allstatic} |
59f57553 AM |
982 | %attr(755,root,root) %{_libdir}/libe2p.so |
983 | %attr(755,root,root) %{_libdir}/libext2fs.so | |
984 | %attr(755,root,root) %{_libdir}/libss.so | |
985 | %endif | |
5c6b44ff JB |
986 | %{_includedir}/e2p |
987 | %{_includedir}/ext2fs | |
988 | %{_includedir}/ss | |
58c5291a JB |
989 | %{_pkgconfigdir}/e2p.pc |
990 | %{_pkgconfigdir}/ext2fs.pc | |
991 | %{_pkgconfigdir}/ss.pc | |
5c6b44ff | 992 | %{_infodir}/libext2fs.info* |
b47bcf8d | 993 | |
994 | %files static | |
7471f3a4 | 995 | %defattr(644,root,root,755) |
59f57553 AM |
996 | %{_libdir}/libe2p.a |
997 | %{_libdir}/libext2fs.a | |
998 | %{_libdir}/libss.a | |
4cccca28 | 999 | |
59f57553 AM |
1000 | %files -n libcom_err |
1001 | %defattr(644,root,root,755) | |
a794e14c JB |
1002 | %if %{without allstatic} |
1003 | %attr(755,root,root) /%{_lib}/libcom_err.so.*.* | |
1004 | %attr(755,root,root) %ghost /%{_lib}/libcom_err.so.2 | |
1005 | %endif | |
59f57553 AM |
1006 | |
1007 | %files -n libcom_err-devel | |
1008 | %defattr(644,root,root,755) | |
1009 | %attr(755,root,root) %{_bindir}/compile_et | |
59f57553 | 1010 | %{!?with_allstatic:%attr(755,root,root) %{_libdir}/libcom_err.so} |
5c6b44ff JB |
1011 | %{_includedir}/et |
1012 | %{_datadir}/et | |
58c5291a | 1013 | %{_pkgconfigdir}/com_err.pc |
5c6b44ff JB |
1014 | %{_mandir}/man1/compile_et.1* |
1015 | %lang(ja) %{_mandir}/ja/man1/compile_et.1* | |
1016 | %{_mandir}/man3/com_err.3* | |
1017 | %lang(ja) %{_mandir}/ja/man3/com_err.3* | |
59f57553 AM |
1018 | |
1019 | %files -n libcom_err-static | |
1020 | %defattr(644,root,root,755) | |
1021 | %{_libdir}/libcom_err.a | |
1022 | ||
1023 | %files -n libuuid | |
1024 | %defattr(644,root,root,755) | |
914260e2 | 1025 | %doc lib/uuid/COPYING |
5c6b44ff | 1026 | %attr(755,root,root) %{_bindir}/uuidgen |
a794e14c JB |
1027 | %if %{without allstatic} |
1028 | %attr(755,root,root) /%{_lib}/libuuid.so.*.* | |
9b25605d | 1029 | %attr(755,root,root) %ghost /%{_lib}/libuuid.so.1 |
a794e14c | 1030 | %endif |
144df8b6 JB |
1031 | %{_mandir}/man1/uuidgen.1* |
1032 | %lang(ja) %{_mandir}/ja/man1/uuidgen.1* | |
59f57553 AM |
1033 | |
1034 | %files -n libuuid-devel | |
1035 | %defattr(644,root,root,755) | |
59f57553 | 1036 | %{!?with_allstatic:%attr(755,root,root) %{_libdir}/libuuid.so} |
5c6b44ff | 1037 | %{_includedir}/uuid |
58c5291a | 1038 | %{_pkgconfigdir}/uuid.pc |
9b25605d JB |
1039 | %{_mandir}/man3/uuid*.3* |
1040 | %lang(ja) %{_mandir}/ja/man3/libuuid.3* | |
1041 | %lang(ja) %{_mandir}/ja/man3/uuid_*.3* | |
59f57553 AM |
1042 | |
1043 | %files -n libuuid-static | |
1044 | %defattr(644,root,root,755) | |
1045 | %{_libdir}/libuuid.a | |
5e1eea35 | 1046 | |
558ab019 JR |
1047 | %if %{with dietlibc} |
1048 | %files -n libuuid-dietlibc | |
1049 | %defattr(644,root,root,755) | |
1050 | %{dietlibdir}/libuuid.a | |
1051 | %endif | |
1052 | ||
96cf9b00 ER |
1053 | %files -n uuidd |
1054 | %defattr(644,root,root,755) | |
96cf9b00 | 1055 | %attr(6755,uuidd,uuidd) %{_sbindir}/uuidd |
af0a3b54 | 1056 | %attr(2775,uuidd,uuidd) /var/lib/libuuid |
96cf9b00 ER |
1057 | %{_mandir}/man8/uuidd.8* |
1058 | ||
5e1eea35 | 1059 | %files -n fsck |
1060 | %defattr(644,root,root,755) | |
1061 | %attr(755,root,root) /sbin/fsck | |
5e1eea35 | 1062 | %{_mandir}/man8/fsck.8* |
1063 | %lang(it) %{_mandir}/it/man8/fsck.8* | |
1064 | %lang(ja) %{_mandir}/ja/man8/fsck.8* | |
1065 | %lang(ko) %{_mandir}/ko/man8/fsck.8* | |
1066 | %lang(pl) %{_mandir}/pl/man8/fsck.8* | |
a09cb351 | 1067 | |
1068 | %if %{with initrd} | |
1069 | %files initrd | |
1070 | %defattr(644,root,root,755) | |
c530250e JR |
1071 | %attr(755,root,root) %{_libdir}/initrd/e2fsck |
1072 | %attr(755,root,root) %{_libdir}/initrd/mke2fs | |
a09cb351 | 1073 | %endif |