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