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