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