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