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