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