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