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