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