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