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