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