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