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