]>
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 |
b7f4a202 AM |
38 | Version: 1.41.9 |
39 | Release: 1 | |
914260e2 | 40 | License: GPL v2 (with LGPL v2 and BSD parts) |
ae6cbd15 | 41 | Group: Applications/System |
4cccca28 | 42 | Source0: http://dl.sourceforge.net/e2fsprogs/%{name}-%{version}.tar.gz |
b7f4a202 | 43 | # Source0-md5: 52f60a9e19a02f142f5546f1b5681927 |
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 |
25be74d4 | 80 | Requires: fsck |
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 | ||
2b31b550 AM |
93 | %ifarch ppc ppc64 |
94 | # for dietlibc | |
95 | %define filterout_ld -Wl,-z,relro | |
96 | %endif | |
97 | ||
b47bcf8d | 98 | %description |
431e5747 | 99 | The e2fsprogs package contains a number of utilities for creating, |
a561033a | 100 | checking, modifying and correcting any inconsistencies in second |
af315f07 | 101 | extended (ext2) filesystems. e2fsprogs contains e2fsck (used to repair |
a561033a | 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. | |
b47bcf8d | 108 | |
58a23205 JR |
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 | |
af315f07 | 119 | ext2fs. |
120 | ||
58a23205 JR |
121 | %description -l da.UTF-8 |
122 | e2fsprogs-pakken indeholder diverse værktøjer for at lave, | |
af315f07 | 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 | |
58a23205 JR |
127 | undersøge de interne strukturer i filsystemet, for manuelt at kunne |
128 | reparere et ødelagt filsystem eller lave testscenarier for e2fsck), | |
af315f07 | 129 | tune2fs (bruges for at modificere filsystem-parametre) og flere andre |
58a23205 | 130 | værktøjer for at ændre og undersøge ext2-filsystemer. |
af315f07 | 131 | |
58a23205 JR |
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 | |
af315f07 | 136 | Korrigieren von Inkonsistenzen im Dateisystem nach einem |
137 | Computerabsturz), mke2fs (zum Initialisieren einer Partition mit einem | |
58a23205 | 138 | leeren ext2-Dateisystem), debugfs (zum Überprüfen der internen |
af315f07 | 139 | Struktur eines Dateisystems, zum manuellen Reparieren eines |
58a23205 JR |
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. | |
b47bcf8d | 143 | |
58a23205 | 144 | %description -l es.UTF-8 |
af315f07 | 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 | |
58a23205 JR |
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 | |
af315f07 | 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 | |
58a23205 JR |
153 | e2fsck), tune2fs (modifica los parámetros del sistema de ficheros) y |
154 | la mayoría de las utilidades principales del systema de ficheros | |
af315f07 | 155 | ext2fs. |
aa7adcf8 | 156 | |
58a23205 | 157 | %description -l fr.UTF-8 |
af315f07 | 158 | Le paquetage e2fsprogs contient plusieurs utilitaires permettant de |
58a23205 JR |
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 | |
af315f07 | 162 | brutal), mke2fs (initialisation d'une partition devant contenir un |
58a23205 JR |
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 | |
af315f07 | 168 | ext2fs. |
169 | ||
58a23205 | 170 | %description -l id.UTF-8 |
af315f07 | 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. | |
180 | ||
58a23205 JR |
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 | |
191 | ||
192 | %description -l it.UTF-8 | |
af315f07 | 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 | |
58a23205 | 198 | struttura interna di un filesystem, è usato per riparare manualmente |
af315f07 | 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. | |
202 | ||
58a23205 JR |
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 ファイルシステムユーティリティの | |
212 | ほとんどが含まれます。 | |
213 | ||
214 | %description -l nb.UTF-8 | |
215 | e2fsprogs-pakken inneholder diverse verktøy for å lage, kontrollere, | |
af315f07 | 216 | modifisere og reparere ext2-filsystemer. e2fsprogs inneholder e2fsck |
58a23205 JR |
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. | |
224 | ||
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 | |
233 | narzędzi do ext2. | |
234 | ||
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 | |
af315f07 | 241 | conter um sistema de ficheiros ext2 vazio), o debugfs (usado para |
242 | examinar a estrutura interna dum sistema de ficheiros, para reparar | |
58a23205 JR |
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 | |
af315f07 | 246 | sistema de ficheiros ext2. |
247 | ||
58a23205 JR |
248 | %description -l pt_BR.UTF-8 |
249 | Este pacote inclui vários utilitários para criação, checagem e reparo | |
aa7adcf8 | 250 | de sistema de arquivos ext2. |
251 | ||
58a23205 JR |
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. | |
262 | ||
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 | |
272 | pre prácu s ext2fs. | |
273 | ||
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 | |
af315f07 | 281 | filsystem, manuellt reparera trasiga filsystem eller skapa testfall |
58a23205 JR |
282 | för e2fsck), tune2fs (används för att modifiera filsystemparametrar) |
283 | och de flesta andra basverktygen för filsystemet ext2fs. | |
aa7adcf8 | 284 | |
58a23205 | 285 | %description -l tr.UTF-8 |
a561033a | 286 | Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve |
58a23205 JR |
287 | bazı parametrelerini değiştirmek için gerekli yazılımları içerir. |
288 | ||
289 | %description -l uk.UTF-8 | |
290 | Пакет e2fsprogs містить набір утиліт для створення, перевірки, | |
291 | модифікації та виправлення будь-яких помилок у файловій системі ext2. | |
292 | e2fsprogs містить e2fsck (використовується для виправлення помилок | |
293 | після "брудної" зупинки машини), mke2fs (для ініциалізації розділу та | |
294 | створення порожньої файлової системи ext2), debugfs (для вивчення | |
295 | внутрішньої структури файлової системи, ручного ремонту пошкодженої | |
296 | файлової системи або для створення тестів для e2fsck), tune2fs (для | |
297 | модифікації параметрів файлової системи) та більшість інших базових | |
298 | утиліт для ext2fs. | |
299 | ||
300 | %description -l zh_CN.UTF-8 | |
301 | e2fsprogs 软件包包含一些实用程序,用于创建、检查、 修改和纠正辅助扩展 | |
302 | (ext2) 文件系统中的任何不统一之处。 e2fsprogs 包含 | |
303 | e2fsck(用于在非正常关机后修复文件系统的不统一之处)、 | |
304 | mke2fs(用于将分区初始化为包含空白ext2 文件系统)、 | |
305 | debugfs(用于检查文件系统的内部结构、手动修复被破坏的文件系统或为e2fsck | |
306 | 创建测试范例)、 tune2fs(用于修改文件系统参数)和其它大多数核心 | |
307 | ext2fs 文件系统实用程序。 | |
af315f07 | 308 | |
fe802cbd ER |
309 | %package libs |
310 | Summary: ext2 filesystem-specific libraries | |
af0a3b54 | 311 | Summary(pl.UTF-8): Biblioteki dla systemu plików ext2 |
fe802cbd | 312 | Group: Libraries |
af0a3b54 | 313 | Conflicts: e2fsprogs < 1.40.6-3 |
e68d455c | 314 | Conflicts: fsck < 1.40.6-3 |
fe802cbd ER |
315 | |
316 | %description libs | |
317 | ext2 filesystem-specific libraries. | |
318 | ||
af0a3b54 JB |
319 | %description libs -l pl.UTF-8 |
320 | Biblioteki dla systemu plików ext2. | |
321 | ||
95841810 | 322 | %package devel |
af315f07 | 323 | Summary: ext2 filesystem-specific libraries and headers |
142b9411 ER |
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 檔案系統特定的靜態函式庫與表頭。 | |
fde8cd71 | 345 | Group: Development/Libraries |
1c91fdac | 346 | %if %{without allstatic} |
fe802cbd | 347 | Requires: %{name}-libs = %{version}-%{release} |
af0a3b54 | 348 | %endif |
a78a2468 | 349 | Requires: libcom_err-devel = %{version}-%{release} |
7f4443f1 | 350 | Requires: libuuid-devel |
aa7adcf8 | 351 | Obsoletes: libext2fs2-devel |
b47bcf8d | 352 | |
353 | %description devel | |
af315f07 | 354 | e2fsprogs-devel contains the libraries and header files needed to |
a561033a | 355 | develop second extended (ext2) filesystem-specific programs. |
b47bcf8d | 356 | |
58a23205 JR |
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 | |
af315f07 | 360 | (second extended fs). |
361 | ||
58a23205 JR |
362 | %description devel -l da.UTF-8 |
363 | e2fsprogs-devel indeholder de headerfiler og biblioteker man behøver | |
af315f07 | 364 | for at udvikle programmer specielt rettet mod ext2-filsystemer. |
365 | ||
58a23205 JR |
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 | |
af315f07 | 369 | Extended-Dateisystem (ext2) erforderlich sind. |
b47bcf8d | 370 | |
58a23205 | 371 | %description devel -l es.UTF-8 |
af315f07 | 372 | e2fsprogs-devel contiene las bibliotecas y los ficheros de cabecera |
58a23205 | 373 | necesarios para desarrollar programas específicos para el sistema de |
af315f07 | 374 | ficheros ext2. |
375 | ||
58a23205 JR |
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 | |
af315f07 | 379 | fichiers ext2. |
380 | ||
58a23205 | 381 | %description devel -l id.UTF-8 |
af315f07 | 382 | e2fsprogs-devel berisi library dan file header yang dibutuhkan untuk |
383 | develop program yang berkaitan dengan filesystem ext2. | |
384 | ||
58a23205 JR |
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 | |
af315f07 | 388 | |
58a23205 | 389 | %description devel -l it.UTF-8 |
af315f07 | 390 | e2fsprogs-devel contiene le librerie e i file header necessari per |
391 | sviluppare programmi specifici per il filesystem ext2. | |
392 | ||
58a23205 JR |
393 | %description devel -l ja.UTF-8 |
394 | e2fspgrogs-devel には、Second Extended (ext2) ファイルシステムに固有 | |
395 | のプログラムを開発するために必要なライブラリとヘッダーファイルが含まれ | |
396 | ています。 | |
af315f07 | 397 | |
58a23205 | 398 | %description devel -l nb.UTF-8 |
af315f07 | 399 | e2fsprogs-devel inneholder de headerfiler og bibliotek man trenger for |
58a23205 | 400 | å utvikle programmer spesielt rettet mot ext2-filsystemer. |
aa7adcf8 | 401 | |
58a23205 JR |
402 | %description devel -l pl.UTF-8 |
403 | Pliki nagłówkowe i dokumentacja niezbędne do tworzenia programów | |
404 | obsługujących e2fs. | |
b47bcf8d | 405 | |
58a23205 JR |
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 | |
af315f07 | 409 | ficheiros ext2. |
410 | ||
58a23205 JR |
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. | |
aa7adcf8 | 414 | |
58a23205 JR |
415 | %description devel -l ru.UTF-8 |
416 | e2fsprogs-devel содержит статические библиотеки и файлы заголовков, | |
417 | необходимые при разработке программ, использующих файловую систему | |
af315f07 | 418 | ext2. |
419 | ||
58a23205 JR |
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. | |
af315f07 | 423 | |
58a23205 JR |
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) | |
af315f07 | 427 | filsystemet. |
aa7adcf8 | 428 | |
58a23205 JR |
429 | %description devel -l uk.UTF-8 |
430 | e2fsprogs-devel містить бібліотеки та хедери, необхідні для написання | |
431 | програм, які працюють з файловою системою ext2. | |
aa7adcf8 | 432 | |
58a23205 JR |
433 | %description devel -l zh_CN.UTF-8 |
434 | e2fsprogs-devel 包含开发辅助扩展 (ext2) | |
435 | 文件系统专用程序所需的程序库和头文件。 | |
af315f07 | 436 | |
95841810 | 437 | %package static |
af315f07 | 438 | Summary: ext2 filesystem-specific static libraries |
142b9411 ER |
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 | |
fde8cd71 | 453 | Group: Development/Libraries |
a78a2468 | 454 | Requires: %{name}-devel = %{version}-%{release} |
b47bcf8d | 455 | |
456 | %description static | |
af315f07 | 457 | Static libraries needed to develop ext2 filesystem-specific programs |
458 | statically linked with e2progs libs. | |
b47bcf8d | 459 | |
58a23205 | 460 | %description static -l de.UTF-8 |
431e5747 | 461 | Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen |
462 | erforderlich sind. | |
b47bcf8d | 463 | |
58a23205 JR |
464 | %description static -l es.UTF-8 |
465 | Bibliotecas estaticas para desarrollo de programas específicos para | |
af315f07 | 466 | sistema de archivo ext2. |
aa7adcf8 | 467 | |
58a23205 JR |
468 | %description static -l pl.UTF-8 |
469 | Biblioteki statyczne do obsługi e2fs niezbędne do kompilacji programów | |
e46e0049 | 470 | statycznie skonsolidowanych (linkowanych) z bibliotekami do e2fs. |
b47bcf8d | 471 | |
58a23205 JR |
472 | %description static -l pt_BR.UTF-8 |
473 | Bibliotecas estaticas para desenvolvimento de programas específicos | |
af315f07 | 474 | para sistema de arquivo ext2. |
aa7adcf8 | 475 | |
58a23205 JR |
476 | %description static -l ru.UTF-8 |
477 | e2fsprogs-devel-static содержит статические библиотеки, необходимые | |
478 | для написания программ, работающих с файловой системой ext2. | |
aa7adcf8 | 479 | |
58a23205 JR |
480 | %description static -l uk.UTF-8 |
481 | e2fsprogs-devel-static містить статичні бібліотеки, необхідні для | |
482 | написання програм, які працюють з файловою системою ext2. | |
aa7adcf8 | 483 | |
59f57553 | 484 | %package -n libcom_err |
5c6b44ff | 485 | Summary: A Common Error Description Library for unices |
142b9411 | 486 | Summary(pl.UTF-8): Biblioteka opisu popularnych błędów dla uniksów |
59f57553 | 487 | Group: Libraries |
48426a96 | 488 | Conflicts: e2fsprogs < 1.34-3 |
59f57553 AM |
489 | |
490 | %description -n libcom_err | |
5c6b44ff | 491 | A Common Error Description Library for unices. |
59f57553 | 492 | |
58a23205 JR |
493 | %description -n libcom_err -l pl.UTF-8 |
494 | Biblioteka opisu popularnych błędów dla uniksów. | |
59f57553 AM |
495 | |
496 | %package -n libcom_err-devel | |
5c6b44ff | 497 | Summary: Development files for Common Error Description Library for unices |
142b9411 | 498 | Summary(pl.UTF-8): Pliki dla programistów do biblioteki opisu popularnych błędów dla uniksów |
59f57553 | 499 | Group: Development/Libraries |
a78a2468 | 500 | Requires: libcom_err = %{version}-%{release} |
48426a96 | 501 | Conflicts: e2fsprogs-devel < 1.34-3 |
59f57553 AM |
502 | |
503 | %description -n libcom_err-devel | |
5c6b44ff | 504 | A Common Error Description Library for unices - development files. |
59f57553 | 505 | |
58a23205 JR |
506 | %description -n libcom_err-devel -l pl.UTF-8 |
507 | Biblioteka opisu popularnych błędów dla uniksów - pliki dla | |
508 | programistów. | |
59f57553 AM |
509 | |
510 | %package -n libcom_err-static | |
5c6b44ff | 511 | Summary: Static version of Common Error Description Library for unices |
142b9411 | 512 | Summary(pl.UTF-8): Statyczna biblioteka opisu popularnych błędów dla uniksów |
59f57553 | 513 | Group: Development/Libraries |
a78a2468 | 514 | Requires: libcom_err-devel = %{version}-%{release} |
48426a96 | 515 | Conflicts: e2fsprogs-static < 1.34-3 |
59f57553 AM |
516 | |
517 | %description -n libcom_err-static | |
5c6b44ff | 518 | A Common Error Description Library for unices - static version. |
59f57553 | 519 | |
58a23205 JR |
520 | %description -n libcom_err-static -l pl.UTF-8 |
521 | Biblioteka opisu popularnych błędów dla uniksów - wersja statyczna. | |
59f57553 | 522 | |
a09cb351 | 523 | %package initrd |
9c368293 JR |
524 | Summary: e2fsck and mke2fs - initrd version |
525 | Summary(pl.UTF-8): e2fsck i mke2fs - wersja dla initrd | |
a794e14c | 526 | Group: Base |
cdaf9579 | 527 | Conflicts: geninitrd < 10000.10 |
a09cb351 | 528 | |
529 | %description initrd | |
9c368293 JR |
530 | This package includes a e2fsck and mke2fs utilities staticaly |
531 | linked for initrd. | |
a09cb351 | 532 | |
533 | %description initrd -l pl.UTF-8 | |
d41d124c | 534 | Pakiet ten zawiera narzędzia e2fsck i mke2fs statycznie skonsolidowane |
9c368293 | 535 | na potrzeby initrd. |
a09cb351 | 536 | |
b47bcf8d | 537 | %prep |
5c6b44ff | 538 | %setup -q |
c4fa4179 | 539 | %patch0 -p1 |
fb02f962 | 540 | %{__gzip} -dc < %{SOURCE1} > doc/e2compr.texinfo |
b77dac48 | 541 | %patch1 -p1 |
6924a188 | 542 | %patch2 -p1 |
5a52d40c | 543 | %patch3 -p1 |
f532f4fe | 544 | %patch4 -p1 |
7f4443f1 | 545 | %patch5 -p1 |
fb02f962 | 546 | |
73952175 | 547 | sed -i -e '/AC_SUBST(DO_TEST_SUITE/a\MKINSTALLDIRS="install -d"\nAC_SUBST(MKINSTALLDIRS)\n' configure.in |
fccc6bdc | 548 | |
9b25605d JB |
549 | # AX_TLS |
550 | tail -n +2604 aclocal.m4 > acinclude.m4 | |
551 | ||
b47bcf8d | 552 | %build |
853955ea | 553 | cp -f /usr/share/automake/config.sub . |
bc7535ae | 554 | %{__gettextize} |
8f84ac56 | 555 | %{__aclocal} |
607a49ca | 556 | %{__autoconf} |
a09cb351 | 557 | |
558 | %if %{with initrd} | |
5a52d40c JR |
559 | %if %{with dietlibc} |
560 | # needed for syscall() | |
7f4443f1 | 561 | cp -a MCONFIG.in MCONFIG.in.org |
5a52d40c JR |
562 | sed -i -e 's|\(^LIBUUID = .*\)|\1 -lcompat|g' \ |
563 | -e 's|\(^STATIC_LIBUUID = .*\)|\1 -lcompat|g' MCONFIG.in | |
564 | %endif | |
a09cb351 | 565 | %configure \ |
a09cb351 | 566 | ac_cv_lib_dl_dlopen=no \ |
5a52d40c JR |
567 | %{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc"} \ |
568 | %{?with_dietlibc:--with-cc="diet %{__cc}"} \ | |
36f2b7be JR |
569 | --with-ccopts="%{rpmcflags} -Os" \ |
570 | --with-ldopts="%{rpmldflags} -static" \ | |
a09cb351 | 571 | --disable-elf-shlibs \ |
25be74d4 | 572 | --disable-fsck \ |
db278f4a | 573 | --disable-libblkid \ |
7f4443f1 | 574 | --disable-libuuid \ |
5a52d40c JR |
575 | --disable-nls \ |
576 | --disable-testio-debug \ | |
577 | --disable-e2initrd-helper \ | |
578 | --disable-uuidd \ | |
579 | --disable-tls \ | |
580 | --disable-nls \ | |
581 | --disable-threads | |
a09cb351 | 582 | |
936557cf | 583 | %{__make} -j1 libs |
a09cb351 | 584 | %{__make} progs |
5a52d40c | 585 | mv -f misc/mke2fs initrd-mke2fs |
558ab019 | 586 | %{__make} clean |
7f4443f1 | 587 | %{?with_dietlibc:mv MCONFIG.in.org MCONFIG.in} |
a09cb351 | 588 | %endif |
589 | ||
ae6cbd15 | 590 | %configure \ |
c0de64b5 | 591 | --with-root-prefix="" \ |
5c6b44ff | 592 | %{!?with_nls:--disable-nls} \ |
59f57553 | 593 | %{!?with_allstatic:--enable-elf-shlibs} \ |
25be74d4 | 594 | --disable-fsck \ |
db278f4a | 595 | --disable-libblkid \ |
7f4443f1 AM |
596 | --disable-libuuid \ |
597 | --disable-uuidd \ | |
ae6cbd15 | 598 | --enable-compression \ |
4fffe1bf | 599 | --enable-htree \ |
4fffe1bf | 600 | --disable-rpath |
b47bcf8d | 601 | |
8d1303b7 | 602 | %{__make} -j1 libs \ |
603 | LDFLAGS="%{rpmldflags}" | |
604 | %{__make} progs docs \ | |
12ee2731 JB |
605 | LDFLAGS="%{rpmldflags}" |
606 | ||
3cdd562a | 607 | cd doc |
e1d59235 | 608 | makeinfo --no-split e2compr.texinfo |
3cdd562a | 609 | |
b47bcf8d | 610 | %install |
611 | rm -rf $RPM_BUILD_ROOT | |
558ab019 | 612 | %{?with_dietlibc:install -d $RPM_BUILD_ROOT%{dietlibdir}} |
0200ccaa | 613 | export PATH=/sbin:$PATH |
b47bcf8d | 614 | |
4fffe1bf AM |
615 | echo "install-shlibs:" >> intl/Makefile |
616 | ||
5e39b1b4 | 617 | %{__make} install install-libs \ |
9c9b1fd8 | 618 | root_libdir=/%{_lib} \ |
5e39b1b4 | 619 | mkinstalldirs='install -d' \ |
12ee2731 | 620 | DESTDIR=$RPM_BUILD_ROOT |
b47bcf8d | 621 | |
bd1a204b | 622 | ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2 |
ae6cbd15 | 623 | ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3 |
bd1a204b | 624 | ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2 |
625 | ||
3cdd562a AF |
626 | install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir} |
627 | ||
740f8c96 | 628 | touch $RPM_BUILD_ROOT%{_sysconfdir}/e2fsck.conf |
f1a6ac20 | 629 | |
7af173f7 | 630 | bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
631 | ||
fccf58c3 | 632 | rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{mkfs,fsck}.ext[234]*.8* |
2c799e7e ER |
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 | |
e062a2c5 JB |
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 | |
2c799e7e ER |
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 | |
e062a2c5 JB |
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 | |
8d3f2404 JB |
641 | # missing in non-english-man-pages tarball |
642 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/hu/man8/fsck.ext3.8 | |
e062a2c5 JB |
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 | |
8d3f2404 | 645 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/fsck.ext3.8 |
e062a2c5 JB |
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 | |
8d3f2404 | 648 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/mkfs.ext3.8 |
e062a2c5 JB |
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 | |
8d3f2404 | 655 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/fsck.ext3.8 |
e062a2c5 JB |
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 | |
8d3f2404 | 658 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/mkfs.ext3.8 |
e062a2c5 JB |
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 | |
8d3f2404 | 663 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/mkfs.ext3.8 |
e062a2c5 JB |
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 | |
4fdbb4fe | 666 | |
5c6b44ff | 667 | %if %{with nls} |
28032309 | 668 | [ "`file $RPM_BUILD_ROOT%{_datadir}/locale/it/LC_MESSAGES/e2fsprogs.mo |\ |
669 | sed -e 's/.*,//' -e 's/message.*//'`" -le 1 ] && rm -f $f | |
670 | %find_lang %{name} | |
671 | %endif | |
414f02af | 672 | |
5e39b1b4 ER |
673 | rm -f $RPM_BUILD_ROOT%{_mandir}/README.e2fsprogs-non-english-man-pages |
674 | ||
5a52d40c | 675 | %if %{with initrd} |
c530250e | 676 | install -d $RPM_BUILD_ROOT%{_libdir}/initrd |
c530250e | 677 | install initrd-mke2fs $RPM_BUILD_ROOT%{_libdir}/initrd/mke2fs |
5a52d40c | 678 | %endif |
a09cb351 | 679 | |
b77dac48 JB |
680 | %clean |
681 | rm -rf $RPM_BUILD_ROOT | |
682 | ||
af0a3b54 | 683 | %post -p /sbin/postshell |
fe802cbd ER |
684 | -/usr/sbin/fix-info-dir -c %{_infodir} |
685 | ||
af0a3b54 | 686 | %postun -p /sbin/postshell |
fe802cbd | 687 | -/usr/sbin/fix-info-dir -c %{_infodir} |
3cdd562a | 688 | |
af0a3b54 JB |
689 | %post libs -p /sbin/ldconfig |
690 | %postun libs -p /sbin/ldconfig | |
b47bcf8d | 691 | |
174affbc | 692 | %post devel -p /sbin/postshell |
9f19c5b3 | 693 | -/usr/sbin/fix-info-dir -c %{_infodir} |
b47bcf8d | 694 | |
174affbc | 695 | %postun devel -p /sbin/postshell |
9f19c5b3 | 696 | -/usr/sbin/fix-info-dir -c %{_infodir} |
0200ccaa | 697 | |
5c6b44ff JB |
698 | %post -n libcom_err -p /sbin/ldconfig |
699 | %postun -n libcom_err -p /sbin/ldconfig | |
59f57553 | 700 | |
5c6b44ff | 701 | %files %{?with_nls:-f %{name}.lang} |
3cdd562a | 702 | %defattr(644,root,root,755) |
914260e2 | 703 | # COPYING specifies license details for some parts of package |
bb508a12 | 704 | %doc COPYING README RELEASE-NOTES |
9b25605d | 705 | %attr(755,root,root) /sbin/badblocks |
9b25605d JB |
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 | |
e062a2c5 | 711 | %attr(755,root,root) /sbin/e2undo |
9b25605d JB |
712 | %attr(755,root,root) /sbin/fsck.ext2 |
713 | %attr(755,root,root) /sbin/fsck.ext3 | |
e062a2c5 JB |
714 | %attr(755,root,root) /sbin/fsck.ext4 |
715 | %attr(755,root,root) /sbin/fsck.ext4dev | |
9b25605d JB |
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 | |
e062a2c5 JB |
720 | %attr(755,root,root) /sbin/mkfs.ext4 |
721 | %attr(755,root,root) /sbin/mkfs.ext4dev | |
9b25605d JB |
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 | |
5c6b44ff | 726 | %attr(755,root,root) %{_bindir}/mk_cmds |
b7f4a202 | 727 | %attr(755,root,root) %{_sbindir}/e2freefrag |
9b25605d JB |
728 | %attr(755,root,root) %{_sbindir}/filefrag |
729 | %attr(755,root,root) %{_sbindir}/mklost+found | |
58c5291a | 730 | %attr(755,root,root) %{_libdir}/e2initrd_helper |
740f8c96 ER |
731 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/e2fsck.conf |
732 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mke2fs.conf | |
9b25605d JB |
733 | %{_mandir}/man1/chattr.1* |
734 | %{_mandir}/man1/lsattr.1* | |
5c6b44ff | 735 | %{_mandir}/man1/mk_cmds.1* |
f1a6ac20 JB |
736 | %{_mandir}/man5/e2fsck.conf.5* |
737 | %{_mandir}/man5/mke2fs.conf.5* | |
9b25605d | 738 | %{_mandir}/man8/badblocks.8* |
9b25605d JB |
739 | %{_mandir}/man8/debugfs.8* |
740 | %{_mandir}/man8/dumpe2fs.8* | |
b7f4a202 | 741 | %{_mandir}/man8/e2freefrag.8* |
9b25605d JB |
742 | %{_mandir}/man8/e2fsck.8* |
743 | %{_mandir}/man8/e2image.8* | |
744 | %{_mandir}/man8/e2label.8* | |
e062a2c5 | 745 | %{_mandir}/man8/e2undo.8* |
9b25605d | 746 | %{_mandir}/man8/filefrag.8* |
9b25605d JB |
747 | %{_mandir}/man8/fsck.ext2.8* |
748 | %{_mandir}/man8/fsck.ext3.8* | |
e062a2c5 JB |
749 | %{_mandir}/man8/fsck.ext4.8* |
750 | %{_mandir}/man8/fsck.ext4dev.8* | |
9b25605d JB |
751 | %{_mandir}/man8/logsave.8* |
752 | %{_mandir}/man8/mke2fs.8* | |
753 | %{_mandir}/man8/mkfs.ext2.8* | |
754 | %{_mandir}/man8/mkfs.ext3.8* | |
e062a2c5 JB |
755 | %{_mandir}/man8/mkfs.ext4.8* |
756 | %{_mandir}/man8/mkfs.ext4dev.8* | |
9b25605d JB |
757 | %{_mandir}/man8/mklost+found.8* |
758 | %{_mandir}/man8/resize2fs.8* | |
759 | %{_mandir}/man8/tune2fs.8* | |
760 | %lang(fi) %{_mandir}/fi/man1/chattr.1* | |
761 | %lang(fi) %{_mandir}/fi/man1/lsattr.1* | |
762 | %lang(fr) %{_mandir}/fr/man1/lsattr.1* | |
763 | %lang(fr) %{_mandir}/fr/man8/badblocks.8* | |
764 | %lang(fr) %{_mandir}/fr/man8/dumpe2fs.8* | |
765 | %lang(fr) %{_mandir}/fr/man8/e2label.8* | |
766 | %lang(fr) %{_mandir}/fr/man8/mklost+found.8* | |
767 | %lang(hu) %{_mandir}/hu/man1/chattr.1* | |
768 | %lang(hu) %{_mandir}/hu/man1/lsattr.1* | |
769 | %lang(hu) %{_mandir}/hu/man8/dumpe2fs.8* | |
770 | %lang(hu) %{_mandir}/hu/man8/e2fsck.8* | |
771 | %lang(hu) %{_mandir}/hu/man8/fsck.ext2.8* | |
772 | %lang(hu) %{_mandir}/hu/man8/fsck.ext3.8* | |
e062a2c5 JB |
773 | %lang(hu) %{_mandir}/hu/man8/fsck.ext4.8* |
774 | %lang(hu) %{_mandir}/hu/man8/fsck.ext4dev.8* | |
9b25605d JB |
775 | %lang(hu) %{_mandir}/hu/man8/tune2fs.8* |
776 | %lang(it) %{_mandir}/it/man1/chattr.1* | |
777 | %lang(it) %{_mandir}/it/man1/lsattr.1* | |
778 | %lang(it) %{_mandir}/it/man8/badblocks.8* | |
779 | %lang(it) %{_mandir}/it/man8/debugfs.8* | |
780 | %lang(it) %{_mandir}/it/man8/dumpe2fs.8* | |
781 | %lang(it) %{_mandir}/it/man8/e2fsck.8* | |
782 | %lang(it) %{_mandir}/it/man8/fsck.ext2.8* | |
783 | %lang(it) %{_mandir}/it/man8/fsck.ext3.8* | |
e062a2c5 JB |
784 | %lang(it) %{_mandir}/it/man8/fsck.ext4.8* |
785 | %lang(it) %{_mandir}/it/man8/fsck.ext4dev.8* | |
9b25605d JB |
786 | %lang(it) %{_mandir}/it/man8/mke2fs.8* |
787 | %lang(it) %{_mandir}/it/man8/mkfs.ext2.8* | |
788 | %lang(it) %{_mandir}/it/man8/mkfs.ext3.8* | |
e062a2c5 JB |
789 | %lang(it) %{_mandir}/it/man8/mkfs.ext4.8* |
790 | %lang(it) %{_mandir}/it/man8/mkfs.ext4dev.8* | |
9b25605d JB |
791 | %lang(it) %{_mandir}/it/man8/mklost+found.8* |
792 | %lang(it) %{_mandir}/it/man8/tune2fs.8* | |
793 | %lang(ja) %{_mandir}/ja/man1/chattr.1* | |
794 | %lang(ja) %{_mandir}/ja/man1/lsattr.1* | |
795 | %lang(ja) %{_mandir}/ja/man8/badblocks.8* | |
796 | %lang(ja) %{_mandir}/ja/man8/debugfs.8* | |
797 | %lang(ja) %{_mandir}/ja/man8/dumpe2fs.8* | |
798 | %lang(ja) %{_mandir}/ja/man8/e2fsck.8* | |
799 | %lang(ja) %{_mandir}/ja/man8/e2image.8* | |
800 | %lang(ja) %{_mandir}/ja/man8/e2label.8* | |
9b25605d JB |
801 | %lang(ja) %{_mandir}/ja/man8/fsck.ext2.8* |
802 | %lang(ja) %{_mandir}/ja/man8/fsck.ext3.8* | |
e062a2c5 JB |
803 | %lang(ja) %{_mandir}/ja/man8/fsck.ext4.8* |
804 | %lang(ja) %{_mandir}/ja/man8/fsck.ext4dev.8* | |
9b25605d JB |
805 | %lang(ja) %{_mandir}/ja/man8/mke2fs.8* |
806 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext2.8* | |
807 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext3.8* | |
e062a2c5 JB |
808 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext4.8* |
809 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext4dev.8* | |
9b25605d JB |
810 | %lang(ja) %{_mandir}/ja/man8/mklost+found.8* |
811 | %lang(ja) %{_mandir}/ja/man8/resize2fs.8* | |
812 | %lang(ja) %{_mandir}/ja/man8/tune2fs.8* | |
813 | %lang(ko) %{_mandir}/ko/man1/chattr.1* | |
814 | %lang(ko) %{_mandir}/ko/man1/lsattr.1* | |
815 | %lang(ko) %{_mandir}/ko/man8/badblocks.8* | |
816 | %lang(ko) %{_mandir}/ko/man8/debugfs.8* | |
817 | %lang(ko) %{_mandir}/ko/man8/dumpe2fs.8* | |
818 | %lang(ko) %{_mandir}/ko/man8/e2fsck.8* | |
819 | %lang(ko) %{_mandir}/ko/man8/fsck.ext2.8* | |
820 | %lang(ko) %{_mandir}/ko/man8/fsck.ext3.8* | |
e062a2c5 JB |
821 | %lang(ko) %{_mandir}/ko/man8/fsck.ext4.8* |
822 | %lang(ko) %{_mandir}/ko/man8/fsck.ext4dev.8* | |
9b25605d JB |
823 | %lang(ko) %{_mandir}/ko/man8/mke2fs.8* |
824 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext2.8* | |
825 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext3.8* | |
e062a2c5 JB |
826 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext4.8* |
827 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext4dev.8* | |
9b25605d JB |
828 | %lang(ko) %{_mandir}/ko/man8/mklost+found.8* |
829 | %lang(ko) %{_mandir}/ko/man8/tune2fs.8* | |
830 | %lang(pl) %{_mandir}/pl/man1/chattr.1* | |
831 | %lang(pl) %{_mandir}/pl/man1/lsattr.1* | |
832 | %lang(pl) %{_mandir}/pl/man8/badblocks.8* | |
833 | %lang(pl) %{_mandir}/pl/man8/debugfs.8* | |
834 | %lang(pl) %{_mandir}/pl/man8/dumpe2fs.8* | |
835 | %lang(pl) %{_mandir}/pl/man8/e2fsck.8* | |
836 | %lang(pl) %{_mandir}/pl/man8/e2label.8* | |
837 | %lang(pl) %{_mandir}/pl/man8/fsck.ext2.8* | |
838 | %lang(pl) %{_mandir}/pl/man8/fsck.ext3.8* | |
e062a2c5 JB |
839 | %lang(pl) %{_mandir}/pl/man8/fsck.ext4.8* |
840 | %lang(pl) %{_mandir}/pl/man8/fsck.ext4dev.8* | |
9b25605d JB |
841 | %lang(pl) %{_mandir}/pl/man8/mke2fs.8* |
842 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext2.8* | |
843 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext3.8* | |
e062a2c5 JB |
844 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext4.8* |
845 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext4dev.8* | |
9b25605d JB |
846 | %lang(pl) %{_mandir}/pl/man8/mklost+found.8* |
847 | %lang(pl) %{_mandir}/pl/man8/tune2fs.8* | |
ae6cbd15 | 848 | %{_datadir}/ss |
3cdd562a | 849 | %{_infodir}/e2compr.info* |
7471f3a4 | 850 | |
af0a3b54 | 851 | %if %{without allstatic} |
fe802cbd | 852 | %files libs |
5a16540b | 853 | %defattr(644,root,root,755) |
fe802cbd ER |
854 | %attr(755,root,root) /%{_lib}/libe2p.so.*.* |
855 | %attr(755,root,root) %ghost /%{_lib}/libe2p.so.2 | |
856 | %attr(755,root,root) /%{_lib}/libext2fs.so.*.* | |
857 | %attr(755,root,root) %ghost /%{_lib}/libext2fs.so.2 | |
858 | %attr(755,root,root) /%{_lib}/libss.so.*.* | |
859 | %attr(755,root,root) %ghost /%{_lib}/libss.so.2 | |
860 | %endif | |
861 | ||
b47bcf8d | 862 | %files devel |
67692e6e | 863 | %defattr(644,root,root,755) |
9b25605d | 864 | %if %{without allstatic} |
59f57553 AM |
865 | %attr(755,root,root) %{_libdir}/libe2p.so |
866 | %attr(755,root,root) %{_libdir}/libext2fs.so | |
867 | %attr(755,root,root) %{_libdir}/libss.so | |
868 | %endif | |
5c6b44ff JB |
869 | %{_includedir}/e2p |
870 | %{_includedir}/ext2fs | |
871 | %{_includedir}/ss | |
58c5291a JB |
872 | %{_pkgconfigdir}/e2p.pc |
873 | %{_pkgconfigdir}/ext2fs.pc | |
874 | %{_pkgconfigdir}/ss.pc | |
5c6b44ff | 875 | %{_infodir}/libext2fs.info* |
b47bcf8d | 876 | |
877 | %files static | |
7471f3a4 | 878 | %defattr(644,root,root,755) |
59f57553 AM |
879 | %{_libdir}/libe2p.a |
880 | %{_libdir}/libext2fs.a | |
881 | %{_libdir}/libss.a | |
4cccca28 | 882 | |
59f57553 AM |
883 | %files -n libcom_err |
884 | %defattr(644,root,root,755) | |
a794e14c JB |
885 | %if %{without allstatic} |
886 | %attr(755,root,root) /%{_lib}/libcom_err.so.*.* | |
887 | %attr(755,root,root) %ghost /%{_lib}/libcom_err.so.2 | |
888 | %endif | |
59f57553 AM |
889 | |
890 | %files -n libcom_err-devel | |
891 | %defattr(644,root,root,755) | |
892 | %attr(755,root,root) %{_bindir}/compile_et | |
59f57553 | 893 | %{!?with_allstatic:%attr(755,root,root) %{_libdir}/libcom_err.so} |
5c6b44ff JB |
894 | %{_includedir}/et |
895 | %{_datadir}/et | |
58c5291a | 896 | %{_pkgconfigdir}/com_err.pc |
5c6b44ff JB |
897 | %{_mandir}/man1/compile_et.1* |
898 | %lang(ja) %{_mandir}/ja/man1/compile_et.1* | |
899 | %{_mandir}/man3/com_err.3* | |
900 | %lang(ja) %{_mandir}/ja/man3/com_err.3* | |
59f57553 AM |
901 | |
902 | %files -n libcom_err-static | |
903 | %defattr(644,root,root,755) | |
904 | %{_libdir}/libcom_err.a | |
905 | ||
a09cb351 | 906 | %if %{with initrd} |
907 | %files initrd | |
908 | %defattr(644,root,root,755) | |
c530250e | 909 | %attr(755,root,root) %{_libdir}/initrd/mke2fs |
a09cb351 | 910 | %endif |