]>
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 |
1e2f8fa4 JR |
49 | Version: 1.42.6 |
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 |
1e2f8fa4 | 54 | # Source0-md5: 9e444c240c1001b3292d108fbad0f49c |
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/ |
c0e3e149 | 64 | BuildRequires: autoconf >= 2.50 |
5e39b1b4 | 65 | BuildRequires: automake |
abab4914 | 66 | BuildRequires: gettext-devel >= 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 |
b47bcf8d | 378 | |
379 | %description devel | |
af315f07 | 380 | e2fsprogs-devel contains the libraries and header files needed to |
a561033a | 381 | develop second extended (ext2) filesystem-specific programs. |
b47bcf8d | 382 | |
58a23205 JR |
383 | %description devel -l cs.UTF-8 |
384 | Balíček e2fsprogs-devel obsahuje knihovny a hlavičkové soubory | |
385 | potřebné pro vývoj programů pracujících se systémem souborů ext2 | |
af315f07 | 386 | (second extended fs). |
387 | ||
58a23205 JR |
388 | %description devel -l da.UTF-8 |
389 | e2fsprogs-devel indeholder de headerfiler og biblioteker man behøver | |
af315f07 | 390 | for at udvikle programmer specielt rettet mod ext2-filsystemer. |
391 | ||
58a23205 JR |
392 | %description devel -l de.UTF-8 |
393 | Das Paket e2fsprogs-devel enthält die Bibliotheken und Header-Dateien, | |
394 | die für die Entwicklung von Programmen für das Second | |
af315f07 | 395 | Extended-Dateisystem (ext2) erforderlich sind. |
b47bcf8d | 396 | |
58a23205 | 397 | %description devel -l es.UTF-8 |
af315f07 | 398 | e2fsprogs-devel contiene las bibliotecas y los ficheros de cabecera |
58a23205 | 399 | necesarios para desarrollar programas específicos para el sistema de |
af315f07 | 400 | ficheros ext2. |
401 | ||
58a23205 JR |
402 | %description devel -l fr.UTF-8 |
403 | e2fsprogs-devel contient les bibliothèques et fichiers d'en-tête | |
404 | nécessaires au développement de programmes spécifiques au système de | |
af315f07 | 405 | fichiers ext2. |
406 | ||
58a23205 | 407 | %description devel -l id.UTF-8 |
af315f07 | 408 | e2fsprogs-devel berisi library dan file header yang dibutuhkan untuk |
409 | develop program yang berkaitan dengan filesystem ext2. | |
410 | ||
58a23205 JR |
411 | %description devel -l is.UTF-8 |
412 | e2fsprogs-devel inniheldur library og header skrár sem þarf til að búa | |
413 | til (ext2) skráarsafns forrit | |
af315f07 | 414 | |
58a23205 | 415 | %description devel -l it.UTF-8 |
af315f07 | 416 | e2fsprogs-devel contiene le librerie e i file header necessari per |
417 | sviluppare programmi specifici per il filesystem ext2. | |
418 | ||
58a23205 JR |
419 | %description devel -l ja.UTF-8 |
420 | e2fspgrogs-devel には、Second Extended (ext2) ファイルシステムに固有 | |
421 | のプログラムを開発するために必要なライブラリとヘッダーファイルが含まれ | |
422 | ています。 | |
af315f07 | 423 | |
58a23205 | 424 | %description devel -l nb.UTF-8 |
af315f07 | 425 | e2fsprogs-devel inneholder de headerfiler og bibliotek man trenger for |
58a23205 | 426 | å utvikle programmer spesielt rettet mot ext2-filsystemer. |
aa7adcf8 | 427 | |
58a23205 JR |
428 | %description devel -l pl.UTF-8 |
429 | Pliki nagłówkowe i dokumentacja niezbędne do tworzenia programów | |
430 | obsługujących e2fs. | |
b47bcf8d | 431 | |
58a23205 JR |
432 | %description devel -l pt.UTF-8 |
433 | O pacote e2fsprogs-devel contém as bibliotecas e ficheiros de inclusão | |
434 | necessários para desenvolver programas específicos do sistema de | |
af315f07 | 435 | ficheiros ext2. |
436 | ||
58a23205 JR |
437 | %description devel -l pt_BR.UTF-8 |
438 | Bibliotecas e arquivos de inclusão para desenvolvimento de programas | |
439 | específicos para sistema de arquivo ext2. | |
aa7adcf8 | 440 | |
58a23205 JR |
441 | %description devel -l ru.UTF-8 |
442 | e2fsprogs-devel содержит статические библиотеки и файлы заголовков, | |
443 | необходимые при разработке программ, использующих файловую систему | |
af315f07 | 444 | ext2. |
445 | ||
58a23205 JR |
446 | %description devel -l sk.UTF-8 |
447 | e2fsprogs-devel obsahuje knižnice a hlavičkové súbory potrebné pre | |
448 | vývoj programov pre ext2 súborový systém. | |
af315f07 | 449 | |
58a23205 JR |
450 | %description devel -l sv.UTF-8 |
451 | e2fsprogs-devel innehåller bibliotek och huvudfiler som behövs för att | |
452 | utveckla filsystemsspecifika program för det andra utökade (ext2) | |
af315f07 | 453 | filsystemet. |
aa7adcf8 | 454 | |
58a23205 JR |
455 | %description devel -l uk.UTF-8 |
456 | e2fsprogs-devel містить бібліотеки та хедери, необхідні для написання | |
457 | програм, які працюють з файловою системою ext2. | |
aa7adcf8 | 458 | |
58a23205 JR |
459 | %description devel -l zh_CN.UTF-8 |
460 | e2fsprogs-devel 包含开发辅助扩展 (ext2) | |
461 | 文件系统专用程序所需的程序库和头文件。 | |
af315f07 | 462 | |
95841810 | 463 | %package static |
af315f07 | 464 | Summary: ext2 filesystem-specific static libraries |
142b9411 ER |
465 | Summary(cs.UTF-8): Statické knihovny pro systém souborů ext2 |
466 | Summary(da.UTF-8): ext2 filsystemsspecifikke statiske biblioteker | |
467 | Summary(de.UTF-8): Statische Bibliotheken für ext2-Dateisysteme | |
468 | Summary(es.UTF-8): Bibliotecas estaticas para e2fs | |
469 | Summary(fr.UTF-8): Bibliothèques statiques spécifiques au système de fichiers ext2 | |
470 | Summary(it.UTF-8): Librerie statiche specifici per il filesystem ext2 | |
471 | Summary(nb.UTF-8): ext2 filsystemspesifikke statiske bibliotek | |
472 | Summary(pl.UTF-8): Biblioteki statyczne do obsługi systemu plików ext2 | |
473 | Summary(pt.UTF-8): Bibliotecas estaticas específicos do sistema de ficheiros ext2 | |
474 | Summary(pt_BR.UTF-8): Bibliotecas estaticas para e2fs | |
475 | Summary(ru.UTF-8): Статические библиотеки для разработки программ, использующих ext2 | |
476 | Summary(sk.UTF-8): Statické knižnice a hlavičkové súbory pre ext2-špecifické programy | |
477 | Summary(sv.UTF-8): ext2 filsystemspecifika statiska bibliotek | |
478 | Summary(uk.UTF-8): Статичні бібліотки програміста для роботи з ext2fs | |
fde8cd71 | 479 | Group: Development/Libraries |
a78a2468 | 480 | Requires: %{name}-devel = %{version}-%{release} |
b47bcf8d | 481 | |
482 | %description static | |
af315f07 | 483 | Static libraries needed to develop ext2 filesystem-specific programs |
484 | statically linked with e2progs libs. | |
b47bcf8d | 485 | |
58a23205 | 486 | %description static -l de.UTF-8 |
431e5747 | 487 | Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen |
488 | erforderlich sind. | |
b47bcf8d | 489 | |
58a23205 JR |
490 | %description static -l es.UTF-8 |
491 | Bibliotecas estaticas para desarrollo de programas específicos para | |
af315f07 | 492 | sistema de archivo ext2. |
aa7adcf8 | 493 | |
58a23205 JR |
494 | %description static -l pl.UTF-8 |
495 | Biblioteki statyczne do obsługi e2fs niezbędne do kompilacji programów | |
e46e0049 | 496 | statycznie skonsolidowanych (linkowanych) z bibliotekami do e2fs. |
b47bcf8d | 497 | |
58a23205 JR |
498 | %description static -l pt_BR.UTF-8 |
499 | Bibliotecas estaticas para desenvolvimento de programas específicos | |
af315f07 | 500 | para sistema de arquivo ext2. |
aa7adcf8 | 501 | |
58a23205 JR |
502 | %description static -l ru.UTF-8 |
503 | e2fsprogs-devel-static содержит статические библиотеки, необходимые | |
504 | для написания программ, работающих с файловой системой ext2. | |
aa7adcf8 | 505 | |
58a23205 JR |
506 | %description static -l uk.UTF-8 |
507 | e2fsprogs-devel-static містить статичні бібліотеки, необхідні для | |
508 | написання програм, які працюють з файловою системою ext2. | |
aa7adcf8 | 509 | |
59f57553 | 510 | %package -n libcom_err |
5c6b44ff | 511 | Summary: A Common Error Description Library for unices |
142b9411 | 512 | Summary(pl.UTF-8): Biblioteka opisu popularnych błędów dla uniksów |
59f57553 | 513 | Group: Libraries |
48426a96 | 514 | Conflicts: e2fsprogs < 1.34-3 |
59f57553 AM |
515 | |
516 | %description -n libcom_err | |
5c6b44ff | 517 | A Common Error Description Library for unices. |
59f57553 | 518 | |
58a23205 JR |
519 | %description -n libcom_err -l pl.UTF-8 |
520 | Biblioteka opisu popularnych błędów dla uniksów. | |
59f57553 AM |
521 | |
522 | %package -n libcom_err-devel | |
5c6b44ff | 523 | Summary: Development files for Common Error Description Library for unices |
142b9411 | 524 | Summary(pl.UTF-8): Pliki dla programistów do biblioteki opisu popularnych błędów dla uniksów |
59f57553 | 525 | Group: Development/Libraries |
a78a2468 | 526 | Requires: libcom_err = %{version}-%{release} |
48426a96 | 527 | Conflicts: e2fsprogs-devel < 1.34-3 |
59f57553 AM |
528 | |
529 | %description -n libcom_err-devel | |
5c6b44ff | 530 | A Common Error Description Library for unices - development files. |
59f57553 | 531 | |
58a23205 JR |
532 | %description -n libcom_err-devel -l pl.UTF-8 |
533 | Biblioteka opisu popularnych błędów dla uniksów - pliki dla | |
534 | programistów. | |
59f57553 AM |
535 | |
536 | %package -n libcom_err-static | |
5c6b44ff | 537 | Summary: Static version of Common Error Description Library for unices |
142b9411 | 538 | Summary(pl.UTF-8): Statyczna biblioteka opisu popularnych błędów dla uniksów |
59f57553 | 539 | Group: Development/Libraries |
a78a2468 | 540 | Requires: libcom_err-devel = %{version}-%{release} |
48426a96 | 541 | Conflicts: e2fsprogs-static < 1.34-3 |
59f57553 AM |
542 | |
543 | %description -n libcom_err-static | |
5c6b44ff | 544 | A Common Error Description Library for unices - static version. |
59f57553 | 545 | |
58a23205 JR |
546 | %description -n libcom_err-static -l pl.UTF-8 |
547 | Biblioteka opisu popularnych błędów dla uniksów - wersja statyczna. | |
59f57553 | 548 | |
9a166f19 JB |
549 | %package -n libss |
550 | Summary: Subsystem command parsing library | |
551 | Summary(pl.UTF-8): Biblioteka analizy poleceń podsystemów | |
552 | Group: Libraries | |
553 | Requires: libcom_err = %{version}-%{release} | |
554 | Conflicts: e2fsprogs < 1.34-3 | |
555 | Conflicts: e2fsprogs-libs < 1.41.11-2 | |
556 | ||
557 | %description -n libss | |
558 | Subsystem command parsing library. | |
559 | ||
560 | %description -n libss -l pl.UTF-8 | |
561 | Biblioteka analizy poleceń podsystemów. | |
562 | ||
563 | %package -n libss-devel | |
564 | Summary: Development files for subsystem command parsing library | |
565 | Summary(pl.UTF-8): Pliki dla programistów do biblioteki analizy poleceń podsystemów | |
566 | Group: Development/Libraries | |
567 | Requires: libcom_err-devel = %{version}-%{release} | |
568 | Requires: libss = %{version}-%{release} | |
569 | Conflicts: e2fsprogs < 1.41.11-2 | |
570 | Conflicts: e2fsprogs-devel < 1.41.11-2 | |
571 | ||
572 | %description -n libss-devel | |
573 | Development files for subsystem command parsing library, including | |
574 | header files and mk_cmds utility. | |
575 | ||
576 | %description -n libss-devel -l pl.UTF-8 | |
577 | Biblioteka opisu popularPliki dla programistów do biblioteki analizy | |
578 | poleceń podsystemów - w tym pliki nagłówkowe i narzędzie mk_cmds. | |
579 | ||
580 | %package -n libss-static | |
581 | Summary: Static version of subsystem command parsing library | |
582 | Summary(pl.UTF-8): Statyczna wersja biblioteki analizy poleceń podsystemów | |
583 | Group: Development/Libraries | |
584 | Requires: libss-devel = %{version}-%{release} | |
585 | Conflicts: e2fsprogs-static < 1.41.11-2 | |
586 | ||
587 | %description -n libss-static | |
588 | Static version of subsystem command parsing library. | |
589 | ||
590 | %description -n libss-static -l pl.UTF-8 | |
591 | Statyczna wersja biblioteki analizy poleceń podsystemów. | |
592 | ||
f6c28fda JB |
593 | %package -n libquota-devel |
594 | Summary: Quota management library | |
595 | Summary(pl.UTF-8): Biblioteka do zarządzania limitami dyskowymi (quotami) | |
596 | Group: Development/Libraries | |
597 | ||
598 | %description -n libquota-devel | |
599 | Quota management library. | |
600 | ||
601 | %description -n libquota-devel -l pl.UTF-8 | |
602 | Biblioteka do zarządzania limitami dyskowymi (quotami). | |
603 | ||
a09cb351 | 604 | %package initrd |
9c368293 JR |
605 | Summary: e2fsck and mke2fs - initrd version |
606 | Summary(pl.UTF-8): e2fsck i mke2fs - wersja dla initrd | |
a794e14c | 607 | Group: Base |
cdaf9579 | 608 | Conflicts: geninitrd < 10000.10 |
a09cb351 | 609 | |
610 | %description initrd | |
2c1bd61a ER |
611 | This package includes a e2fsck and mke2fs utilities staticaly linked |
612 | for initrd. | |
a09cb351 | 613 | |
614 | %description initrd -l pl.UTF-8 | |
d41d124c | 615 | Pakiet ten zawiera narzędzia e2fsck i mke2fs statycznie skonsolidowane |
9c368293 | 616 | na potrzeby initrd. |
a09cb351 | 617 | |
b47bcf8d | 618 | %prep |
5c6b44ff | 619 | %setup -q |
c4fa4179 | 620 | %patch0 -p1 |
fb02f962 | 621 | %{__gzip} -dc < %{SOURCE1} > doc/e2compr.texinfo |
b77dac48 | 622 | %patch1 -p1 |
6924a188 | 623 | %patch2 -p1 |
5a52d40c | 624 | %patch3 -p1 |
fb02f962 | 625 | |
73952175 | 626 | sed -i -e '/AC_SUBST(DO_TEST_SUITE/a\MKINSTALLDIRS="install -d"\nAC_SUBST(MKINSTALLDIRS)\n' configure.in |
fccc6bdc | 627 | |
9b25605d JB |
628 | # AX_TLS |
629 | tail -n +2604 aclocal.m4 > acinclude.m4 | |
630 | ||
b47bcf8d | 631 | %build |
853955ea | 632 | cp -f /usr/share/automake/config.sub . |
bc7535ae | 633 | %{__gettextize} |
8f84ac56 | 634 | %{__aclocal} |
607a49ca | 635 | %{__autoconf} |
a09cb351 | 636 | |
637 | %if %{with initrd} | |
5a52d40c JR |
638 | %if %{with dietlibc} |
639 | # needed for syscall() | |
7f4443f1 | 640 | cp -a MCONFIG.in MCONFIG.in.org |
5a52d40c JR |
641 | sed -i -e 's|\(^LIBUUID = .*\)|\1 -lcompat|g' \ |
642 | -e 's|\(^STATIC_LIBUUID = .*\)|\1 -lcompat|g' MCONFIG.in | |
643 | %endif | |
a09cb351 | 644 | %configure \ |
a09cb351 | 645 | ac_cv_lib_dl_dlopen=no \ |
5a52d40c | 646 | %{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc"} \ |
6b6821b9 JB |
647 | %{?with_dietlibc:CC="diet %{__cc}"} \ |
648 | CFLAGS="%{rpmcflags} -Os" \ | |
649 | LDFLAGS="%{rpmldflags} -static" \ | |
2c1bd61a | 650 | %if %{with dietlibc} |
6b6821b9 JB |
651 | LIBUUID_LIBADD="-lcompat" \ |
652 | LIBBLKID_LIBADD="-luuid -lcompat" \ | |
2c1bd61a ER |
653 | %else |
654 | LIBBLKID_LIBADD="-luuid" \ | |
655 | %endif | |
a09cb351 | 656 | --disable-elf-shlibs \ |
25be74d4 | 657 | --disable-fsck \ |
db278f4a | 658 | --disable-libblkid \ |
7f4443f1 | 659 | --disable-libuuid \ |
5a52d40c JR |
660 | --disable-nls \ |
661 | --disable-testio-debug \ | |
662 | --disable-e2initrd-helper \ | |
6b6821b9 | 663 | --disable-threads \ |
5a52d40c | 664 | --disable-tls \ |
6b6821b9 | 665 | --disable-uuidd |
a09cb351 | 666 | |
6b6821b9 JB |
667 | %{__make} -j1 libs \ |
668 | V=1 | |
669 | %{__make} progs \ | |
670 | V=1 | |
5a52d40c | 671 | mv -f misc/mke2fs initrd-mke2fs |
558ab019 | 672 | %{__make} clean |
7f4443f1 | 673 | %{?with_dietlibc:mv MCONFIG.in.org MCONFIG.in} |
a09cb351 | 674 | %endif |
675 | ||
ae6cbd15 | 676 | %configure \ |
c0de64b5 | 677 | --with-root-prefix="" \ |
25be74d4 | 678 | --disable-fsck \ |
db278f4a | 679 | --disable-libblkid \ |
7f4443f1 | 680 | --disable-libuuid \ |
6b6821b9 | 681 | %{!?with_nls:--disable-nls} \ |
137571d0 | 682 | %{!?with_tls:--disable-tls} \ |
6b6821b9 | 683 | --disable-rpath \ |
7f4443f1 | 684 | --disable-uuidd \ |
ae6cbd15 | 685 | --enable-compression \ |
6b6821b9 JB |
686 | %{!?with_allstatic:--enable-elf-shlibs} \ |
687 | --enable-htree | |
b47bcf8d | 688 | |
8d1303b7 | 689 | %{__make} -j1 libs \ |
6b6821b9 JB |
690 | LDFLAGS="%{rpmldflags}" \ |
691 | V=1 | |
8d1303b7 | 692 | %{__make} progs docs \ |
6b6821b9 JB |
693 | LDFLAGS="%{rpmldflags}" \ |
694 | V=1 | |
12ee2731 | 695 | |
3cdd562a | 696 | cd doc |
e1d59235 | 697 | makeinfo --no-split e2compr.texinfo |
3cdd562a | 698 | |
b47bcf8d | 699 | %install |
700 | rm -rf $RPM_BUILD_ROOT | |
558ab019 | 701 | %{?with_dietlibc:install -d $RPM_BUILD_ROOT%{dietlibdir}} |
0200ccaa | 702 | export PATH=/sbin:$PATH |
b47bcf8d | 703 | |
4fffe1bf AM |
704 | echo "install-shlibs:" >> intl/Makefile |
705 | ||
5e39b1b4 | 706 | %{__make} install install-libs \ |
9c9b1fd8 | 707 | root_libdir=/%{_lib} \ |
5e39b1b4 | 708 | mkinstalldirs='install -d' \ |
12ee2731 | 709 | DESTDIR=$RPM_BUILD_ROOT |
b47bcf8d | 710 | |
bd1a204b | 711 | ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2 |
ae6cbd15 | 712 | ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3 |
bd1a204b | 713 | ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2 |
714 | ||
70d7a031 | 715 | cp -p doc/e2compr.info $RPM_BUILD_ROOT%{_infodir} |
3cdd562a | 716 | |
740f8c96 | 717 | touch $RPM_BUILD_ROOT%{_sysconfdir}/e2fsck.conf |
f1a6ac20 | 718 | |
7af173f7 | 719 | bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
720 | ||
fccf58c3 | 721 | rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{mkfs,fsck}.ext[234]*.8* |
2c799e7e ER |
722 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.ext2.8 |
723 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.ext3.8 | |
e062a2c5 JB |
724 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.ext4.8 |
725 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.ext4dev.8 | |
2c799e7e ER |
726 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.ext2.8 |
727 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.ext3.8 | |
e062a2c5 JB |
728 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.ext4.8 |
729 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.ext4dev.8 | |
8d3f2404 JB |
730 | # missing in non-english-man-pages tarball |
731 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/hu/man8/fsck.ext3.8 | |
e062a2c5 JB |
732 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/hu/man8/fsck.ext4.8 |
733 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/hu/man8/fsck.ext4dev.8 | |
8d3f2404 | 734 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/fsck.ext3.8 |
e062a2c5 JB |
735 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/fsck.ext4.8 |
736 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/fsck.ext4dev.8 | |
8d3f2404 | 737 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/mkfs.ext3.8 |
e062a2c5 JB |
738 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/mkfs.ext4.8 |
739 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/mkfs.ext4dev.8 | |
740 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/ja/man8/fsck.ext4.8 | |
741 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/ja/man8/fsck.ext4dev.8 | |
742 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/ja/man8/mkfs.ext4.8 | |
743 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/ja/man8/mkfs.ext4dev.8 | |
8d3f2404 | 744 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/fsck.ext3.8 |
e062a2c5 JB |
745 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/fsck.ext4.8 |
746 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/fsck.ext4dev.8 | |
8d3f2404 | 747 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/mkfs.ext3.8 |
e062a2c5 JB |
748 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/mkfs.ext4.8 |
749 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/mkfs.ext4dev.8 | |
750 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/fsck.ext4.8 | |
751 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/fsck.ext4dev.8 | |
8d3f2404 | 752 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/mkfs.ext3.8 |
e062a2c5 JB |
753 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/mkfs.ext4.8 |
754 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/mkfs.ext4dev.8 | |
6b6821b9 JB |
755 | # moved to util-linux-ng.spec |
756 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man1/uuidgen.1 | |
757 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man3/libuuid.3 | |
758 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man3/uuid_*.3 | |
759 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man8/findfs.8 | |
760 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man8/fsck.8 | |
4fdbb4fe | 761 | |
5c6b44ff | 762 | %if %{with nls} |
28032309 | 763 | [ "`file $RPM_BUILD_ROOT%{_datadir}/locale/it/LC_MESSAGES/e2fsprogs.mo |\ |
764 | sed -e 's/.*,//' -e 's/message.*//'`" -le 1 ] && rm -f $f | |
765 | %find_lang %{name} | |
766 | %endif | |
414f02af | 767 | |
5e39b1b4 ER |
768 | rm -f $RPM_BUILD_ROOT%{_mandir}/README.e2fsprogs-non-english-man-pages |
769 | ||
5a52d40c | 770 | %if %{with initrd} |
c530250e | 771 | install -d $RPM_BUILD_ROOT%{_libdir}/initrd |
70d7a031 | 772 | install -p initrd-mke2fs $RPM_BUILD_ROOT%{_libdir}/initrd/mke2fs |
5a52d40c | 773 | %endif |
a09cb351 | 774 | |
b77dac48 JB |
775 | %clean |
776 | rm -rf $RPM_BUILD_ROOT | |
777 | ||
af0a3b54 | 778 | %post -p /sbin/postshell |
fe802cbd ER |
779 | -/usr/sbin/fix-info-dir -c %{_infodir} |
780 | ||
af0a3b54 | 781 | %postun -p /sbin/postshell |
fe802cbd | 782 | -/usr/sbin/fix-info-dir -c %{_infodir} |
3cdd562a | 783 | |
af0a3b54 JB |
784 | %post libs -p /sbin/ldconfig |
785 | %postun libs -p /sbin/ldconfig | |
b47bcf8d | 786 | |
174affbc | 787 | %post devel -p /sbin/postshell |
9f19c5b3 | 788 | -/usr/sbin/fix-info-dir -c %{_infodir} |
b47bcf8d | 789 | |
174affbc | 790 | %postun devel -p /sbin/postshell |
9f19c5b3 | 791 | -/usr/sbin/fix-info-dir -c %{_infodir} |
0200ccaa | 792 | |
5c6b44ff JB |
793 | %post -n libcom_err -p /sbin/ldconfig |
794 | %postun -n libcom_err -p /sbin/ldconfig | |
59f57553 | 795 | |
9a166f19 JB |
796 | %post -n libss -p /sbin/ldconfig |
797 | %postun -n libss -p /sbin/ldconfig | |
798 | ||
5c6b44ff | 799 | %files %{?with_nls:-f %{name}.lang} |
3cdd562a | 800 | %defattr(644,root,root,755) |
914260e2 | 801 | # COPYING specifies license details for some parts of package |
bb508a12 | 802 | %doc COPYING README RELEASE-NOTES |
9b25605d | 803 | %attr(755,root,root) /sbin/badblocks |
9b25605d JB |
804 | %attr(755,root,root) /sbin/debugfs |
805 | %attr(755,root,root) /sbin/dumpe2fs | |
806 | %attr(755,root,root) /sbin/e2fsck | |
807 | %attr(755,root,root) /sbin/e2image | |
808 | %attr(755,root,root) /sbin/e2label | |
e062a2c5 | 809 | %attr(755,root,root) /sbin/e2undo |
9b25605d JB |
810 | %attr(755,root,root) /sbin/fsck.ext2 |
811 | %attr(755,root,root) /sbin/fsck.ext3 | |
e062a2c5 JB |
812 | %attr(755,root,root) /sbin/fsck.ext4 |
813 | %attr(755,root,root) /sbin/fsck.ext4dev | |
9b25605d JB |
814 | %attr(755,root,root) /sbin/logsave |
815 | %attr(755,root,root) /sbin/mke2fs | |
816 | %attr(755,root,root) /sbin/mkfs.ext2 | |
817 | %attr(755,root,root) /sbin/mkfs.ext3 | |
e062a2c5 JB |
818 | %attr(755,root,root) /sbin/mkfs.ext4 |
819 | %attr(755,root,root) /sbin/mkfs.ext4dev | |
9b25605d JB |
820 | %attr(755,root,root) /sbin/resize2fs |
821 | %attr(755,root,root) /sbin/tune2fs | |
822 | %attr(755,root,root) %{_bindir}/chattr | |
823 | %attr(755,root,root) %{_bindir}/lsattr | |
b7f4a202 | 824 | %attr(755,root,root) %{_sbindir}/e2freefrag |
f6c28fda | 825 | %attr(755,root,root) %{_sbindir}/e4defrag |
9b25605d JB |
826 | %attr(755,root,root) %{_sbindir}/filefrag |
827 | %attr(755,root,root) %{_sbindir}/mklost+found | |
58c5291a | 828 | %attr(755,root,root) %{_libdir}/e2initrd_helper |
740f8c96 ER |
829 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/e2fsck.conf |
830 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mke2fs.conf | |
9b25605d JB |
831 | %{_mandir}/man1/chattr.1* |
832 | %{_mandir}/man1/lsattr.1* | |
f1a6ac20 JB |
833 | %{_mandir}/man5/e2fsck.conf.5* |
834 | %{_mandir}/man5/mke2fs.conf.5* | |
9b25605d | 835 | %{_mandir}/man8/badblocks.8* |
9b25605d JB |
836 | %{_mandir}/man8/debugfs.8* |
837 | %{_mandir}/man8/dumpe2fs.8* | |
b7f4a202 | 838 | %{_mandir}/man8/e2freefrag.8* |
9b25605d JB |
839 | %{_mandir}/man8/e2fsck.8* |
840 | %{_mandir}/man8/e2image.8* | |
841 | %{_mandir}/man8/e2label.8* | |
e062a2c5 | 842 | %{_mandir}/man8/e2undo.8* |
44230b2e | 843 | %{_mandir}/man8/e4defrag.8* |
9b25605d | 844 | %{_mandir}/man8/filefrag.8* |
9b25605d JB |
845 | %{_mandir}/man8/fsck.ext2.8* |
846 | %{_mandir}/man8/fsck.ext3.8* | |
e062a2c5 JB |
847 | %{_mandir}/man8/fsck.ext4.8* |
848 | %{_mandir}/man8/fsck.ext4dev.8* | |
9b25605d JB |
849 | %{_mandir}/man8/logsave.8* |
850 | %{_mandir}/man8/mke2fs.8* | |
851 | %{_mandir}/man8/mkfs.ext2.8* | |
852 | %{_mandir}/man8/mkfs.ext3.8* | |
e062a2c5 JB |
853 | %{_mandir}/man8/mkfs.ext4.8* |
854 | %{_mandir}/man8/mkfs.ext4dev.8* | |
9b25605d JB |
855 | %{_mandir}/man8/mklost+found.8* |
856 | %{_mandir}/man8/resize2fs.8* | |
857 | %{_mandir}/man8/tune2fs.8* | |
858 | %lang(fi) %{_mandir}/fi/man1/chattr.1* | |
859 | %lang(fi) %{_mandir}/fi/man1/lsattr.1* | |
860 | %lang(fr) %{_mandir}/fr/man1/lsattr.1* | |
861 | %lang(fr) %{_mandir}/fr/man8/badblocks.8* | |
862 | %lang(fr) %{_mandir}/fr/man8/dumpe2fs.8* | |
863 | %lang(fr) %{_mandir}/fr/man8/e2label.8* | |
864 | %lang(fr) %{_mandir}/fr/man8/mklost+found.8* | |
865 | %lang(hu) %{_mandir}/hu/man1/chattr.1* | |
866 | %lang(hu) %{_mandir}/hu/man1/lsattr.1* | |
867 | %lang(hu) %{_mandir}/hu/man8/dumpe2fs.8* | |
868 | %lang(hu) %{_mandir}/hu/man8/e2fsck.8* | |
869 | %lang(hu) %{_mandir}/hu/man8/fsck.ext2.8* | |
870 | %lang(hu) %{_mandir}/hu/man8/fsck.ext3.8* | |
e062a2c5 JB |
871 | %lang(hu) %{_mandir}/hu/man8/fsck.ext4.8* |
872 | %lang(hu) %{_mandir}/hu/man8/fsck.ext4dev.8* | |
9b25605d JB |
873 | %lang(hu) %{_mandir}/hu/man8/tune2fs.8* |
874 | %lang(it) %{_mandir}/it/man1/chattr.1* | |
875 | %lang(it) %{_mandir}/it/man1/lsattr.1* | |
876 | %lang(it) %{_mandir}/it/man8/badblocks.8* | |
877 | %lang(it) %{_mandir}/it/man8/debugfs.8* | |
878 | %lang(it) %{_mandir}/it/man8/dumpe2fs.8* | |
879 | %lang(it) %{_mandir}/it/man8/e2fsck.8* | |
880 | %lang(it) %{_mandir}/it/man8/fsck.ext2.8* | |
881 | %lang(it) %{_mandir}/it/man8/fsck.ext3.8* | |
e062a2c5 JB |
882 | %lang(it) %{_mandir}/it/man8/fsck.ext4.8* |
883 | %lang(it) %{_mandir}/it/man8/fsck.ext4dev.8* | |
9b25605d JB |
884 | %lang(it) %{_mandir}/it/man8/mke2fs.8* |
885 | %lang(it) %{_mandir}/it/man8/mkfs.ext2.8* | |
886 | %lang(it) %{_mandir}/it/man8/mkfs.ext3.8* | |
e062a2c5 JB |
887 | %lang(it) %{_mandir}/it/man8/mkfs.ext4.8* |
888 | %lang(it) %{_mandir}/it/man8/mkfs.ext4dev.8* | |
9b25605d JB |
889 | %lang(it) %{_mandir}/it/man8/mklost+found.8* |
890 | %lang(it) %{_mandir}/it/man8/tune2fs.8* | |
891 | %lang(ja) %{_mandir}/ja/man1/chattr.1* | |
892 | %lang(ja) %{_mandir}/ja/man1/lsattr.1* | |
893 | %lang(ja) %{_mandir}/ja/man8/badblocks.8* | |
894 | %lang(ja) %{_mandir}/ja/man8/debugfs.8* | |
895 | %lang(ja) %{_mandir}/ja/man8/dumpe2fs.8* | |
896 | %lang(ja) %{_mandir}/ja/man8/e2fsck.8* | |
897 | %lang(ja) %{_mandir}/ja/man8/e2image.8* | |
898 | %lang(ja) %{_mandir}/ja/man8/e2label.8* | |
9b25605d JB |
899 | %lang(ja) %{_mandir}/ja/man8/fsck.ext2.8* |
900 | %lang(ja) %{_mandir}/ja/man8/fsck.ext3.8* | |
e062a2c5 JB |
901 | %lang(ja) %{_mandir}/ja/man8/fsck.ext4.8* |
902 | %lang(ja) %{_mandir}/ja/man8/fsck.ext4dev.8* | |
9b25605d JB |
903 | %lang(ja) %{_mandir}/ja/man8/mke2fs.8* |
904 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext2.8* | |
905 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext3.8* | |
e062a2c5 JB |
906 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext4.8* |
907 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext4dev.8* | |
9b25605d JB |
908 | %lang(ja) %{_mandir}/ja/man8/mklost+found.8* |
909 | %lang(ja) %{_mandir}/ja/man8/resize2fs.8* | |
910 | %lang(ja) %{_mandir}/ja/man8/tune2fs.8* | |
911 | %lang(ko) %{_mandir}/ko/man1/chattr.1* | |
912 | %lang(ko) %{_mandir}/ko/man1/lsattr.1* | |
913 | %lang(ko) %{_mandir}/ko/man8/badblocks.8* | |
914 | %lang(ko) %{_mandir}/ko/man8/debugfs.8* | |
915 | %lang(ko) %{_mandir}/ko/man8/dumpe2fs.8* | |
916 | %lang(ko) %{_mandir}/ko/man8/e2fsck.8* | |
917 | %lang(ko) %{_mandir}/ko/man8/fsck.ext2.8* | |
918 | %lang(ko) %{_mandir}/ko/man8/fsck.ext3.8* | |
e062a2c5 JB |
919 | %lang(ko) %{_mandir}/ko/man8/fsck.ext4.8* |
920 | %lang(ko) %{_mandir}/ko/man8/fsck.ext4dev.8* | |
9b25605d JB |
921 | %lang(ko) %{_mandir}/ko/man8/mke2fs.8* |
922 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext2.8* | |
923 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext3.8* | |
e062a2c5 JB |
924 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext4.8* |
925 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext4dev.8* | |
9b25605d JB |
926 | %lang(ko) %{_mandir}/ko/man8/mklost+found.8* |
927 | %lang(ko) %{_mandir}/ko/man8/tune2fs.8* | |
928 | %lang(pl) %{_mandir}/pl/man1/chattr.1* | |
929 | %lang(pl) %{_mandir}/pl/man1/lsattr.1* | |
930 | %lang(pl) %{_mandir}/pl/man8/badblocks.8* | |
931 | %lang(pl) %{_mandir}/pl/man8/debugfs.8* | |
932 | %lang(pl) %{_mandir}/pl/man8/dumpe2fs.8* | |
933 | %lang(pl) %{_mandir}/pl/man8/e2fsck.8* | |
934 | %lang(pl) %{_mandir}/pl/man8/e2label.8* | |
935 | %lang(pl) %{_mandir}/pl/man8/fsck.ext2.8* | |
936 | %lang(pl) %{_mandir}/pl/man8/fsck.ext3.8* | |
e062a2c5 JB |
937 | %lang(pl) %{_mandir}/pl/man8/fsck.ext4.8* |
938 | %lang(pl) %{_mandir}/pl/man8/fsck.ext4dev.8* | |
9b25605d JB |
939 | %lang(pl) %{_mandir}/pl/man8/mke2fs.8* |
940 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext2.8* | |
941 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext3.8* | |
e062a2c5 JB |
942 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext4.8* |
943 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext4dev.8* | |
9b25605d JB |
944 | %lang(pl) %{_mandir}/pl/man8/mklost+found.8* |
945 | %lang(pl) %{_mandir}/pl/man8/tune2fs.8* | |
3cdd562a | 946 | %{_infodir}/e2compr.info* |
7471f3a4 | 947 | |
af0a3b54 | 948 | %if %{without allstatic} |
fe802cbd | 949 | %files libs |
5a16540b | 950 | %defattr(644,root,root,755) |
fe802cbd ER |
951 | %attr(755,root,root) /%{_lib}/libe2p.so.*.* |
952 | %attr(755,root,root) %ghost /%{_lib}/libe2p.so.2 | |
953 | %attr(755,root,root) /%{_lib}/libext2fs.so.*.* | |
954 | %attr(755,root,root) %ghost /%{_lib}/libext2fs.so.2 | |
fe802cbd ER |
955 | %endif |
956 | ||
b47bcf8d | 957 | %files devel |
67692e6e | 958 | %defattr(644,root,root,755) |
9b25605d | 959 | %if %{without allstatic} |
59f57553 AM |
960 | %attr(755,root,root) %{_libdir}/libe2p.so |
961 | %attr(755,root,root) %{_libdir}/libext2fs.so | |
59f57553 | 962 | %endif |
5c6b44ff JB |
963 | %{_includedir}/e2p |
964 | %{_includedir}/ext2fs | |
58c5291a JB |
965 | %{_pkgconfigdir}/e2p.pc |
966 | %{_pkgconfigdir}/ext2fs.pc | |
5c6b44ff | 967 | %{_infodir}/libext2fs.info* |
b47bcf8d | 968 | |
969 | %files static | |
7471f3a4 | 970 | %defattr(644,root,root,755) |
59f57553 AM |
971 | %{_libdir}/libe2p.a |
972 | %{_libdir}/libext2fs.a | |
4cccca28 | 973 | |
59f57553 AM |
974 | %files -n libcom_err |
975 | %defattr(644,root,root,755) | |
a794e14c JB |
976 | %if %{without allstatic} |
977 | %attr(755,root,root) /%{_lib}/libcom_err.so.*.* | |
978 | %attr(755,root,root) %ghost /%{_lib}/libcom_err.so.2 | |
979 | %endif | |
59f57553 AM |
980 | |
981 | %files -n libcom_err-devel | |
982 | %defattr(644,root,root,755) | |
983 | %attr(755,root,root) %{_bindir}/compile_et | |
59f57553 | 984 | %{!?with_allstatic:%attr(755,root,root) %{_libdir}/libcom_err.so} |
f6c28fda | 985 | %{_includedir}/com_err.h |
5c6b44ff JB |
986 | %{_includedir}/et |
987 | %{_datadir}/et | |
58c5291a | 988 | %{_pkgconfigdir}/com_err.pc |
5c6b44ff JB |
989 | %{_mandir}/man1/compile_et.1* |
990 | %lang(ja) %{_mandir}/ja/man1/compile_et.1* | |
991 | %{_mandir}/man3/com_err.3* | |
992 | %lang(ja) %{_mandir}/ja/man3/com_err.3* | |
59f57553 AM |
993 | |
994 | %files -n libcom_err-static | |
995 | %defattr(644,root,root,755) | |
996 | %{_libdir}/libcom_err.a | |
997 | ||
9a166f19 JB |
998 | %if %{without allstatic} |
999 | %files -n libss | |
1000 | %defattr(644,root,root,755) | |
1001 | %attr(755,root,root) /%{_lib}/libss.so.*.* | |
1002 | %attr(755,root,root) %ghost /%{_lib}/libss.so.2 | |
1003 | %endif | |
1004 | ||
1005 | %files -n libss-devel | |
1006 | %defattr(644,root,root,755) | |
1007 | %attr(755,root,root) %{_bindir}/mk_cmds | |
1008 | %if %{without allstatic} | |
1009 | %attr(755,root,root) %{_libdir}/libss.so | |
1010 | %endif | |
1011 | %{_includedir}/ss | |
1012 | %{_datadir}/ss | |
1013 | %{_pkgconfigdir}/ss.pc | |
1014 | %{_mandir}/man1/mk_cmds.1* | |
1015 | ||
1016 | %files -n libss-static | |
1017 | %defattr(644,root,root,755) | |
1018 | %{_libdir}/libss.a | |
1019 | ||
f6c28fda JB |
1020 | %files -n libquota-devel |
1021 | %defattr(644,root,root,755) | |
1022 | %{_libdir}/libquota.a | |
1023 | %{_includedir}/quota | |
1024 | %{_pkgconfigdir}/quota.pc | |
1025 | ||
a09cb351 | 1026 | %if %{with initrd} |
1027 | %files initrd | |
1028 | %defattr(644,root,root,755) | |
c530250e | 1029 | %attr(755,root,root) %{_libdir}/initrd/mke2fs |
a09cb351 | 1030 | %endif |