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