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