]>
Commit | Line | Data |
---|---|---|
96cf9b00 ER |
1 | # TODO |
2 | # - run uidd via init.d | |
4cccca28 JB |
3 | # |
4 | # Conditional build: | |
f3a75081 JB |
5 | %bcond_with allstatic # link everything statically |
6 | %bcond_without static # link e2fsck dynamically with libc | |
5c6b44ff | 7 | %bcond_without nls # build without NLS |
a09cb351 | 8 | %bcond_without initrd # don't build initrd version |
9 | %bcond_without uClibc # link initrd version with static glibc instead of uClibc | |
10 | # | |
11 | %ifarch sparc64 sparc | |
12 | %undefine with_uClibc | |
13 | %endif | |
4cccca28 | 14 | # |
af315f07 | 15 | Summary: Utilities for managing the second extended (ext2) filesystem |
142b9411 ER |
16 | Summary(cs.UTF-8): Nástroje pro správu souborových systémů typu ext2 |
17 | Summary(da.UTF-8): Værktøjer til håndtering af ext2 filsystemer | |
18 | Summary(de.UTF-8): Dienstprogramme zum Verwalten des Second Extended-Dateisystems (ext2) | |
19 | Summary(es.UTF-8): Utilidades para la gestión de un sistema de ficheros ext2 | |
20 | Summary(fr.UTF-8): Utilitaires pour la gestion du système de fichiers ext2 | |
21 | Summary(id.UTF-8): Utility untuk management filesystem ext2 | |
22 | Summary(is.UTF-8): Tól til að sýsla með ext2 skráarkerfið | |
23 | Summary(it.UTF-8): Utility per la gestione del filesystem (ext2) | |
24 | Summary(ja.UTF-8): Second Extended (ext2) ファイルシステムを管理するためのユーティリティ | |
25 | Summary(ko.UTF-8): ext2 파일 시스템을 관리하는 유틸리티 | |
26 | Summary(nb.UTF-8): Verktøy for håndtering av ext2 filsystemet | |
27 | Summary(pl.UTF-8): Narzędzia do systemu plikowego ext2 | |
28 | Summary(pt.UTF-8): Utilitários para gerir o sistema de ficheiros ext2 | |
29 | Summary(pt_BR.UTF-8): Ferramentas para o sistema de arquivos ext2 | |
30 | Summary(ru.UTF-8): Утилиты управления файловой системой ext2 | |
31 | Summary(sk.UTF-8): Pomocné programy pre správu ext2 súborového systému | |
32 | Summary(sl.UTF-8): Pripomočki za upravljanje datotečnega sistema ext2 | |
33 | Summary(sv.UTF-8): Verktyg för att hantera det andra utökade (ext2) filsystemet | |
34 | Summary(tr.UTF-8): ext2 dosya sistemi için araçlar | |
35 | Summary(uk.UTF-8): Утиліти для роботи з файловою системою ext2 | |
36 | Summary(zh_CN.UTF-8): 管理第二扩展(ext2)文件系统的工具。 | |
37 | Summary(zh_TW.UTF-8): 用於管理 ext2 檔案系統的工具程式。 | |
fde8cd71 | 38 | Name: e2fsprogs |
3f547584 | 39 | Version: 1.40.5 |
4619737e | 40 | Release: 1 |
914260e2 | 41 | License: GPL v2 (with LGPL v2 and BSD parts) |
ae6cbd15 | 42 | Group: Applications/System |
4cccca28 | 43 | Source0: http://dl.sourceforge.net/e2fsprogs/%{name}-%{version}.tar.gz |
3f547584 | 44 | # Source0-md5: 69e55eaf543acfab8e2eb8ba2883d8cd |
853955ea | 45 | Source1: e2compr-0.4.texinfo.gz |
4ffdd425 | 46 | # Source1-md5: c3c59ff37e49d8759abb1ef95a8d3abf |
e557345b | 47 | Source2: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 |
4fffe1bf | 48 | # Source2-md5: 992a37783bd42a897232972917e8ca7d |
ae6cbd15 | 49 | Patch0: %{name}-info.patch |
1d03201a | 50 | Patch1: e2compr-info.patch |
6924a188 | 51 | Patch2: %{name}-no-bashism.patch |
55566388 | 52 | Patch3: %{name}-498381.patch |
ae6cbd15 | 53 | URL: http://e2fsprogs.sourceforge.net/ |
414f02af | 54 | BuildRequires: autoconf |
5e39b1b4 | 55 | BuildRequires: automake |
2ba77abb | 56 | BuildRequires: device-mapper-devel >= 1.02.18-2 |
abab4914 | 57 | BuildRequires: gettext-devel >= 0.11 |
96cf9b00 | 58 | BuildRequires: rpmbuild(macros) >= 1.202 |
72326922 | 59 | BuildRequires: texinfo |
f1a6ac20 JB |
60 | %if %{with static} |
61 | BuildRequires: device-mapper-static | |
62 | BuildRequires: glibc-static | |
f1a6ac20 | 63 | BuildRequires: libselinux-static |
5e39b1b4 | 64 | BuildRequires: libsepol-static |
f1a6ac20 | 65 | %endif |
a09cb351 | 66 | %if %{with initrd} |
67 | %if %{with uClibc} | |
68 | %ifarch ppc | |
6924a188 | 69 | BuildRequires: uClibc-static >= 2:0.9.29 |
a09cb351 | 70 | %else |
6924a188 | 71 | BuildRequires: uClibc-static >= 2:0.9.26 |
a09cb351 | 72 | %endif |
73 | %endif | |
74 | %endif | |
31cbbf88 | 75 | Requires(post,postun): /sbin/ldconfig |
4c0374c9 | 76 | Requires: fsck = %{version}-%{release} |
a78a2468 PS |
77 | Requires: libcom_err = %{version}-%{release} |
78 | Requires: libuuid = %{version}-%{release} | |
58c5291a | 79 | Obsoletes: e2fsprogs-evms |
a2a3c869 | 80 | Obsoletes: libext2fs2 |
f677340d | 81 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8c809535 | 82 | |
a09cb351 | 83 | # changing CFLAGS in the middle confuses confcache |
84 | %undefine configure_cache | |
85 | ||
b47bcf8d | 86 | %description |
431e5747 | 87 | The e2fsprogs package contains a number of utilities for creating, |
a561033a | 88 | checking, modifying and correcting any inconsistencies in second |
af315f07 | 89 | extended (ext2) filesystems. e2fsprogs contains e2fsck (used to repair |
a561033a | 90 | filesystem inconsistencies after an unclean shutdown), mke2fs (used to |
91 | initialize a partition to contain an empty ext2 filesystem), debugfs | |
92 | (used to examine the internal structure of a filesystem, to manually | |
93 | repair a corrupted filesystem or to create test cases for e2fsck), | |
94 | tune2fs (used to modify filesystem parameters) and most of the other | |
95 | core ext2fs filesystem utilities. | |
b47bcf8d | 96 | |
58a23205 JR |
97 | %description -l cs.UTF-8 |
98 | Balíček e2fsprogs obsahuje několik programů pro vytváření, kontrolu | |
99 | úpravy a opravy nekonzistencí v systémech souborů typu ext2 (second | |
100 | extended filesystem). Balíček obsahuje program e2fsck (na opravy | |
101 | nekonzistencí systémů souborů, které nebyly odpojeny při vypnutí | |
102 | systému), mke2fs (pro vytvoření prázdného systému souborů typu ext2 v | |
103 | diskovém oddílu), debugfs (pro kontrolu interní struktury systému | |
104 | souborů, manuální opravu poškozeného systému souborů a pro vytváření | |
105 | testovacích případů pro e2fsck), tune2fs (pro úpravu parametrů systému | |
106 | souborů) a většinu dalších programů pro práci se systémy souborů typu | |
af315f07 | 107 | ext2fs. |
108 | ||
58a23205 JR |
109 | %description -l da.UTF-8 |
110 | e2fsprogs-pakken indeholder diverse værktøjer for at lave, | |
af315f07 | 111 | kontrollere, modificere og reparere ext2-filsystemer. e2fsprogs |
112 | indeholder e2fsck (bruges for at reparere filsystemer efter uren | |
113 | nedlukning af systemet), mke2fs (bruges for at initialisere en | |
114 | partition med et tomt ext2-filsystem), debugfs (bruges for at | |
58a23205 JR |
115 | undersøge de interne strukturer i filsystemet, for manuelt at kunne |
116 | reparere et ødelagt filsystem eller lave testscenarier for e2fsck), | |
af315f07 | 117 | tune2fs (bruges for at modificere filsystem-parametre) og flere andre |
58a23205 | 118 | værktøjer for at ændre og undersøge ext2-filsystemer. |
af315f07 | 119 | |
58a23205 JR |
120 | %description -l de.UTF-8 |
121 | Das Paket e2fsprogs enthält eine Reihe von Dienstprogrammen zum | |
122 | Anlegen, Überprüfen, Ändern und Reparieren von Inkonsistenzen in | |
123 | Second Extended-Dateisystemen (ext2). e2fsprogs enthält: e2fsck (zum | |
af315f07 | 124 | Korrigieren von Inkonsistenzen im Dateisystem nach einem |
125 | Computerabsturz), mke2fs (zum Initialisieren einer Partition mit einem | |
58a23205 | 126 | leeren ext2-Dateisystem), debugfs (zum Überprüfen der internen |
af315f07 | 127 | Struktur eines Dateisystems, zum manuellen Reparieren eines |
58a23205 JR |
128 | beschädigten Dateisystems oder zum Erstellen von Testfällen für |
129 | e2fsck), tune2fs (zum Ändern der Dateisystemparameter) und die meisten | |
130 | anderen wichtigen Dienstprogramme für ext2fs-Dateisystemem. | |
b47bcf8d | 131 | |
58a23205 | 132 | %description -l es.UTF-8 |
af315f07 | 133 | El paquete e2fsprogs contiene varias utilidades para crear, controlar, |
134 | modificar y corregir las inconsistencias en un sistema de ficheros | |
135 | ext2. e2fsprogs contiene e2fsck (resuelve el problema de | |
58a23205 JR |
136 | inconsistencia después de haber apagado el ordenador de manera |
137 | incorrecta), mke2fs (inicializa una nueva partición para contener un | |
138 | sistema de ficheros ext2 vacío), debugfs (examina la estructura | |
af315f07 | 139 | interna de un sistema de ficheros para reparar manualmente los errores |
140 | presentes en un sistema de ficheros o crear casos de prueba para | |
58a23205 JR |
141 | e2fsck), tune2fs (modifica los parámetros del sistema de ficheros) y |
142 | la mayoría de las utilidades principales del systema de ficheros | |
af315f07 | 143 | ext2fs. |
aa7adcf8 | 144 | |
58a23205 | 145 | %description -l fr.UTF-8 |
af315f07 | 146 | Le paquetage e2fsprogs contient plusieurs utilitaires permettant de |
58a23205 JR |
147 | créer, vérifier, modifier et corriger des incohérences dans des |
148 | systèmes de fichiers de type ext2. e2fsprogs contient e2fsck | |
149 | (réparation d'incohérences de système de fichiers après un arrêt | |
af315f07 | 150 | brutal), mke2fs (initialisation d'une partition devant contenir un |
58a23205 JR |
151 | système de fichiers ext2 vide), debugfs (examen de la structure |
152 | interne d'un système de fichiers afin de réparer manuellement un | |
153 | système de fichiers corrompu ou de créer des cas de test pour e2fsck), | |
154 | tune2fs (modification des paramètres de systèmes de fichiers) et la | |
155 | plupart des autres utilitaires clés pour les systèmes de fichiers | |
af315f07 | 156 | ext2fs. |
157 | ||
58a23205 | 158 | %description -l id.UTF-8 |
af315f07 | 159 | Package e2fsprogs berisi beberapa utility untuk membuat, cek, merubah, |
160 | dan memperbaiki kerusakan, pada second extended (ext2) filesystem. | |
161 | e2fsprogs berisi e2fsck (digunakan untuk memperbaiki filesystem | |
162 | inconsistencies yang biasanya terjadi setelah unclean shutdown), | |
163 | mke2fs (digunakan untuk membuat filesystem ext2 yang kosong), debugfs | |
164 | (untuk memeriksa internal structure dari filesystem, dan secara manual | |
165 | memperbaiki corrupted filesystem atau untuk membuat test cases untuk | |
166 | e2fsck), tune2fs (untuk merubah parameter filesystem) dan kebanyakan | |
167 | utility untuk filesystem ext2. | |
168 | ||
58a23205 JR |
169 | %description -l is.UTF-8 |
170 | e2fsprogs pakkinn inniheldur nokkur forrit til að búa til, skoða, | |
171 | breyta og laga allar villur í Linux skráarkerfinu (ext2). e2fsprogs | |
172 | inniheldur e2fsck (notað til að laga villur í skráarkerfinu eftir | |
173 | vonda enduruppkeyrslu), mke2fs (notað til að undirbúa harða disk töflu | |
174 | til að innihalda tómt ext2 skráarkerfi), debugfs (notað til að skoða | |
175 | innihald tóms ext2 skráarkerfis, til að handvirkt laga ónýtt | |
176 | skráarkerfi eða til að undirbúa tilraunir fyrir e2fsck)m tune2fs(notað | |
177 | til að breyta skráarkerfis möguleikum) og flest önnur ext2fs | |
178 | skráarkerfis forritum | |
179 | ||
180 | %description -l it.UTF-8 | |
af315f07 | 181 | Il pacchetto e2fsprogs contiene varie utility per creare, controllare, |
182 | modificare e correggere le inconsistenze in un filesystem ext2. | |
183 | e2fsprogs contiene e2fsck (risolve le inconsistenze di un filesystem | |
184 | dopo un arresto non corretto del calcolatore), mke2fs (inizializza una | |
185 | nuova partizione per un filesystem ext2 vuoto), debugfs (esamina la | |
58a23205 | 186 | struttura interna di un filesystem, è usato per riparare manualmente |
af315f07 | 187 | gli errori presenti in un filesystem e per creare casi di test per |
188 | e2fsck), tune2fs (modifica i parametri del filesystem) e molte delle | |
189 | utility principali per il filesystem ext2fs. | |
190 | ||
58a23205 JR |
191 | %description -l ja.UTF-8 |
192 | e2fsprogs パッケージには Second Extended (ext2) ファイルシステムの | |
193 | 作成、検査、変更を行ったり、不整合を修復するためのユーティリティが | |
194 | 数多く含まれています。e2fsprogs には e2fsck (異常終了後にファイル | |
195 | システムの不整合を修復する)、mke2fs (パーティションを初期化して空の | |
196 | ext2 ファイルシステムを作成する)、debugfs (ファイルシステムの内部 | |
197 | 構造を検査し、破損したファイルシステムを手動で修復したり、e2fsck | |
198 | 用のテストケースを作成する)、tune2fs (ファイルシステムのパラメータ | |
199 | を変更する) のほか、主な ext2fs ファイルシステムユーティリティの | |
200 | ほとんどが含まれます。 | |
201 | ||
202 | %description -l nb.UTF-8 | |
203 | e2fsprogs-pakken inneholder diverse verktøy for å lage, kontrollere, | |
af315f07 | 204 | modifisere og reparere ext2-filsystemer. e2fsprogs inneholder e2fsck |
58a23205 JR |
205 | (brukes for å reparere filsystemer etter uren nedkjøring av systemet), |
206 | mke2fs (brukes for å initialisere en partisjon med et tomt | |
207 | ext2-filsystem), debugfs (brukes for å undersøke de interne | |
208 | strukturene i filsystemet, for manuelt å kunne reparere et ødelagt | |
209 | filsystem eller lage testscenarier for e2fsck), tune2fs (brukes for å | |
210 | modifisere filsystem-parametre) og flere andre verktøy for å endre og | |
211 | undersøke ext2-filsystemer. | |
212 | ||
213 | %description -l pl.UTF-8 | |
214 | Pakiet ten zawiera narzędzia do tworzenia, sprawdzania i naprawiania | |
215 | wolumenów dyskowych z systemem plikowym ext2. e2fsprogs zawiera e2fsck | |
216 | (używany do naprawiania niespójności w systemie plikowym po | |
217 | niepoprawnym zamknięciu systemu), mke2fs (używany do inicjacji | |
218 | wolumenów ext2), debugfs (używany do sprawdzania wewnętrznej struktury | |
219 | wolumenów ext2, a także do ręcznego naprawiania błędów), tune2fs | |
220 | (używany do modyfikacji parametrów wolumenów ext2) i kilka innych | |
221 | narzędzi do ext2. | |
222 | ||
223 | %description -l pt.UTF-8 | |
224 | O pacote e2fsprogs contém uma quantidade de utilitários para criar, | |
225 | verificar, modificar e corrigir algumas inconsistências no sistema de | |
226 | ficheiros ext2. O e2fsprogs contém o e2fsck (usado para reparar as | |
227 | inconsistências do sistema de ficheiros depois duma terminação | |
228 | forçada), o mke2fs (usado para inicializar uma partição para esta | |
af315f07 | 229 | conter um sistema de ficheiros ext2 vazio), o debugfs (usado para |
230 | examinar a estrutura interna dum sistema de ficheiros, para reparar | |
58a23205 JR |
231 | manualmente um sistema de ficheiros corrompido ou para criar situações |
232 | de teste para o e2fsck), o tune2fs (usado para modificar os parâmetros | |
233 | do sistema de ficheiros) e a maioria dos outros utilitários de base do | |
af315f07 | 234 | sistema de ficheiros ext2. |
235 | ||
58a23205 JR |
236 | %description -l pt_BR.UTF-8 |
237 | Este pacote inclui vários utilitários para criação, checagem e reparo | |
aa7adcf8 | 238 | de sistema de arquivos ext2. |
239 | ||
58a23205 JR |
240 | %description -l ru.UTF-8 |
241 | Пакет e2fsprogs содержит утилиты для создания, проверки, изменения и | |
242 | корректировки внутреннего состояния файловой системы ext2. e2fsprogs | |
243 | содержит e2fsck (для восстановления файловой структуры после | |
244 | некорректного завершения работы), mke2fs (для инициализации раздела | |
245 | при создании пустой файловой системы ext2), debugfs (просмотр | |
246 | внутренней структуры файловой системы для ручного восстановления | |
247 | поврежденной файловой системы или создания тестовых ситуаций для | |
248 | e2fsck), tune2fs (для изменения параметров файловой системы) и | |
249 | множество других утилит для файловой системы ext2. | |
250 | ||
251 | %description -l sk.UTF-8 | |
252 | Balík e2fsprogs obsahuje niekoľko programov pre vytváranie, kontrolu, | |
253 | zmenu a opravu nekonzistencií na ext2 súborovom systéme. e2fsprogs | |
254 | obsahuje e2fsck (pre opravu nekonzistentných údajov na súborovom | |
255 | systéme po nečistom ukončení), mke2fs (pre vytvorenie prázdneho | |
256 | súborového systému na diskovom oddieli), debugfs (pre skúmanie | |
257 | vnútorných štruktúr súborového systému, jeho ručnú opravu alebo pre | |
258 | vytvorenie testovacích prípadov pre e2fsck), tune2fs (pre modifikáciu | |
259 | parametrov súborového systému) a väčšinu ďalších základných pomôcok | |
260 | pre prácu s ext2fs. | |
261 | ||
262 | %description -l sv.UTF-8 | |
263 | Paketet e2fsprogs innehåller ett antal verktyg för att skapa, | |
264 | kontrollera, modifiera och rätta felaktigheter i det andra utökade | |
265 | (ext2) filsystemet. e2fsprogs innehåller e2fsck (används för att | |
266 | reparera felaktigheter efter en oren avstängning), mke2fs (används för | |
267 | att initiera en partition att innehålla ett tomt ext2-filsystem), | |
268 | debugfs (används för att undersöka den interna strukturen i ett | |
af315f07 | 269 | filsystem, manuellt reparera trasiga filsystem eller skapa testfall |
58a23205 JR |
270 | för e2fsck), tune2fs (används för att modifiera filsystemparametrar) |
271 | och de flesta andra basverktygen för filsystemet ext2fs. | |
aa7adcf8 | 272 | |
58a23205 | 273 | %description -l tr.UTF-8 |
a561033a | 274 | Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve |
58a23205 JR |
275 | bazı parametrelerini değiştirmek için gerekli yazılımları içerir. |
276 | ||
277 | %description -l uk.UTF-8 | |
278 | Пакет e2fsprogs містить набір утиліт для створення, перевірки, | |
279 | модифікації та виправлення будь-яких помилок у файловій системі ext2. | |
280 | e2fsprogs містить e2fsck (використовується для виправлення помилок | |
281 | після "брудної" зупинки машини), mke2fs (для ініциалізації розділу та | |
282 | створення порожньої файлової системи ext2), debugfs (для вивчення | |
283 | внутрішньої структури файлової системи, ручного ремонту пошкодженої | |
284 | файлової системи або для створення тестів для e2fsck), tune2fs (для | |
285 | модифікації параметрів файлової системи) та більшість інших базових | |
286 | утиліт для ext2fs. | |
287 | ||
288 | %description -l zh_CN.UTF-8 | |
289 | e2fsprogs 软件包包含一些实用程序,用于创建、检查、 修改和纠正辅助扩展 | |
290 | (ext2) 文件系统中的任何不统一之处。 e2fsprogs 包含 | |
291 | e2fsck(用于在非正常关机后修复文件系统的不统一之处)、 | |
292 | mke2fs(用于将分区初始化为包含空白ext2 文件系统)、 | |
293 | debugfs(用于检查文件系统的内部结构、手动修复被破坏的文件系统或为e2fsck | |
294 | 创建测试范例)、 tune2fs(用于修改文件系统参数)和其它大多数核心 | |
295 | ext2fs 文件系统实用程序。 | |
af315f07 | 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 |
a78a2468 PS |
321 | Requires: %{name} = %{version}-%{release} |
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 ER |
538 | %package -n uuidd |
539 | Summary: helper daemon to guarantee uniqueness of time-based UUIDs | |
540 | License: GPL v2 | |
541 | Group: Daemons | |
542 | Requires(postun): /usr/sbin/groupdel | |
543 | Requires(postun): /usr/sbin/userdel | |
544 | Requires(pre): /bin/id | |
545 | Requires(pre): /usr/bin/getgid | |
546 | Requires(pre): /usr/sbin/groupadd | |
547 | Requires(pre): /usr/sbin/groupmod | |
548 | Requires(pre): /usr/sbin/useradd | |
549 | Requires(pre): /usr/sbin/usermod | |
550 | Requires: libuuid = %{version}-%{release} | |
551 | Provides: group(uuidd) | |
552 | Provides: user(uuidd) | |
553 | Conflicts: libuuid < 1.40.5-0.1 | |
554 | ||
555 | %description -n uuidd | |
556 | The uuidd package contains a userspace daemon (uuidd) which guarantees | |
557 | uniqueness of time-based UUID generation even at very high rates on | |
558 | SMP systems. | |
559 | ||
5e1eea35 | 560 | %package -n fsck |
561 | Summary: Check and repair a Linux file system | |
142b9411 | 562 | Summary(pl.UTF-8): Sprawdzenie i naprawa linuksowego systemu plików |
5e1eea35 | 563 | Group: Applications/System |
4c0374c9 | 564 | Requires: libuuid = %{version}-%{release} |
5e1eea35 | 565 | |
566 | %description -n fsck | |
567 | Check and repair a Linux file system. | |
568 | ||
58a23205 JR |
569 | %description -n fsck -l pl.UTF-8 |
570 | Sprawdzenie i naprawa linuksowego systemu plików. | |
5e1eea35 | 571 | |
a09cb351 | 572 | %package initrd |
573 | Summary: blkid - initrd version | |
574 | Summary(pl.UTF-8): blkid - wersja dla initrd | |
a794e14c | 575 | Group: Base |
a09cb351 | 576 | |
577 | %description initrd | |
a794e14c JB |
578 | This package includes a blkid utility to recognize partitions by label |
579 | or UUID - staticaly linked for initrd. | |
a09cb351 | 580 | |
581 | %description initrd -l pl.UTF-8 | |
a794e14c JB |
582 | Pakiet ten zawiera narzędzie blkid do rozpoznawania partycji przez |
583 | etykietę lub UUID - statycznie skonsolidowane na potrzeby initrd. | |
a09cb351 | 584 | |
b47bcf8d | 585 | %prep |
5c6b44ff | 586 | %setup -q |
c4fa4179 | 587 | %patch0 -p1 |
ae6cbd15 | 588 | gunzip < %{SOURCE1} > doc/e2compr.texinfo |
b77dac48 | 589 | %patch1 -p1 |
6924a188 | 590 | %patch2 -p1 |
55566388 | 591 | %patch3 -p1 |
b47bcf8d | 592 | |
c093c231 | 593 | sed -i \ |
baa48f75 | 594 | -e '/AC_SUBST(DO_TEST_SUITE/a\MKINSTALLDIRS="install -d"\nAC_SUBST(MKINSTALLDIRS)\n' configure.in |
4fffe1bf | 595 | |
fccc6bdc | 596 | %{!?with_static:sed '/^all:/s/e2fsck\.static//' -i e2fsck/Makefile.in} |
597 | ||
9b25605d JB |
598 | # AX_TLS |
599 | tail -n +2604 aclocal.m4 > acinclude.m4 | |
600 | ||
b47bcf8d | 601 | %build |
853955ea | 602 | cp -f /usr/share/automake/config.sub . |
bc7535ae | 603 | %{__gettextize} |
8f84ac56 | 604 | %{__aclocal} |
607a49ca | 605 | %{__autoconf} |
a09cb351 | 606 | |
607 | %if %{with initrd} | |
608 | %configure \ | |
609 | %{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc"} \ | |
610 | ac_cv_lib_dl_dlopen=no \ | |
611 | --with-ccopts="-Os" \ | |
612 | --with-ldopts="-static" \ | |
613 | --disable-elf-shlibs \ | |
614 | --disable-selinux \ | |
615 | --disable-nls | |
616 | ||
6924a188 | 617 | %{__make} libs |
a09cb351 | 618 | %{__make} progs |
619 | mv -f misc/blkid initrd-blkid | |
620 | %{__make} clean | |
621 | %endif | |
622 | ||
ae6cbd15 | 623 | %configure \ |
c0de64b5 | 624 | --with-root-prefix="" \ |
5c6b44ff | 625 | %{!?with_nls:--disable-nls} \ |
59f57553 | 626 | %{!?with_allstatic:--enable-elf-shlibs} \ |
f1a6ac20 | 627 | --enable-blkid-devmapper \ |
ae6cbd15 | 628 | --enable-compression \ |
4fffe1bf | 629 | --enable-htree \ |
f677340d | 630 | %{!?with_static:--enable-dynamic-e2fsck} \ |
4fffe1bf AM |
631 | --enable-fsck \ |
632 | --disable-rpath | |
b47bcf8d | 633 | |
8d1303b7 | 634 | %{__make} -j1 libs \ |
635 | LDFLAGS="%{rpmldflags}" | |
636 | %{__make} progs docs \ | |
12ee2731 JB |
637 | LDFLAGS="%{rpmldflags}" |
638 | ||
3cdd562a | 639 | cd doc |
e1d59235 | 640 | makeinfo --no-split e2compr.texinfo |
3cdd562a | 641 | |
b47bcf8d | 642 | %install |
643 | rm -rf $RPM_BUILD_ROOT | |
0200ccaa | 644 | export PATH=/sbin:$PATH |
b47bcf8d | 645 | |
c73bd5d0 AM |
646 | install -d $RPM_BUILD_ROOT/var/lib/libuuid |
647 | ||
4fffe1bf AM |
648 | echo "install-shlibs:" >> intl/Makefile |
649 | ||
5e39b1b4 | 650 | %{__make} install install-libs \ |
9c9b1fd8 | 651 | root_libdir=/%{_lib} \ |
5e39b1b4 | 652 | mkinstalldirs='install -d' \ |
12ee2731 | 653 | DESTDIR=$RPM_BUILD_ROOT |
b47bcf8d | 654 | |
bd1a204b | 655 | ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2 |
ae6cbd15 | 656 | ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3 |
bd1a204b | 657 | ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2 |
658 | ||
3cdd562a AF |
659 | install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir} |
660 | ||
740f8c96 | 661 | touch $RPM_BUILD_ROOT%{_sysconfdir}/e2fsck.conf |
f1a6ac20 | 662 | |
7af173f7 | 663 | bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
664 | ||
2c799e7e ER |
665 | rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{mkfs,fsck}.ext[23].8* |
666 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.ext2.8 | |
667 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.ext3.8 | |
668 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.ext2.8 | |
669 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.ext3.8 | |
8d3f2404 JB |
670 | # missing in non-english-man-pages tarball |
671 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/hu/man8/fsck.ext3.8 | |
672 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/fsck.ext3.8 | |
673 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/mkfs.ext3.8 | |
674 | echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/fsck.ext3.8 | |
675 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/mkfs.ext3.8 | |
676 | echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/mkfs.ext3.8 | |
4fdbb4fe | 677 | |
5c6b44ff | 678 | %if %{with nls} |
28032309 | 679 | [ "`file $RPM_BUILD_ROOT%{_datadir}/locale/it/LC_MESSAGES/e2fsprogs.mo |\ |
680 | sed -e 's/.*,//' -e 's/message.*//'`" -le 1 ] && rm -f $f | |
681 | %find_lang %{name} | |
682 | %endif | |
414f02af | 683 | |
5e39b1b4 | 684 | rm -f $RPM_BUILD_ROOT%{_mandir}/README.e2fsprogs-non-english-man-pages |
740f8c96 | 685 | touch $RPM_BUILD_ROOT%{_sysconfdir}/blkid.tab |
5e39b1b4 | 686 | |
a09cb351 | 687 | %{?with_initrd:install initrd-blkid $RPM_BUILD_ROOT/sbin/initrd-blkid} |
688 | ||
b77dac48 JB |
689 | %clean |
690 | rm -rf $RPM_BUILD_ROOT | |
691 | ||
e1d59235 | 692 | %post |
3cdd562a | 693 | /sbin/ldconfig |
1bcc392d | 694 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
3cdd562a | 695 | |
e1d59235 | 696 | %postun |
3cdd562a | 697 | /sbin/ldconfig |
1bcc392d | 698 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
b47bcf8d | 699 | |
9f19c5b3 ER |
700 | %post devel -p /sbin/postshell |
701 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
b47bcf8d | 702 | |
9f19c5b3 ER |
703 | %postun devel -p /sbin/postshell |
704 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
0200ccaa | 705 | |
5c6b44ff JB |
706 | %post -n libcom_err -p /sbin/ldconfig |
707 | %postun -n libcom_err -p /sbin/ldconfig | |
59f57553 | 708 | |
5c6b44ff | 709 | %post -n libuuid -p /sbin/ldconfig |
96cf9b00 ER |
710 | %postun -n libuuid -p /sbin/ldconfig |
711 | ||
712 | %pre -n uuidd | |
713 | if [ "$(getgid libuuid)" = "222" ]; then | |
714 | /usr/sbin/groupmod -n uuidd libuuid | |
715 | fi | |
716 | %groupadd -g 222 uuidd | |
717 | if [ "$(id -u libuuid 2>/dev/null)" = "222" ]; then | |
718 | /usr/sbin/usermod -l uuidd libuuid | |
719 | fi | |
720 | %useradd -u 222 -r -d /var/lib/libuuid -s /bin/false -c "UUID generator helper daemon" -g uuidd uuidd | |
c73bd5d0 | 721 | |
96cf9b00 | 722 | %postun -n uuidd |
c73bd5d0 | 723 | if [ "$1" = "0" ]; then |
96cf9b00 ER |
724 | %userremove uuidd |
725 | %groupremove uuidd | |
c73bd5d0 | 726 | fi |
59f57553 | 727 | |
62986ed9 JB |
728 | %post -n fsck -p /sbin/ldconfig |
729 | %postun -n fsck -p /sbin/ldconfig | |
730 | ||
5c6b44ff | 731 | %files %{?with_nls:-f %{name}.lang} |
3cdd562a | 732 | %defattr(644,root,root,755) |
914260e2 | 733 | # COPYING specifies license details for some parts of package |
bb508a12 | 734 | %doc COPYING README RELEASE-NOTES |
9b25605d JB |
735 | %attr(755,root,root) /sbin/badblocks |
736 | %attr(755,root,root) /sbin/blkid | |
737 | %attr(755,root,root) /sbin/debugfs | |
738 | %attr(755,root,root) /sbin/dumpe2fs | |
739 | %attr(755,root,root) /sbin/e2fsck | |
740 | %attr(755,root,root) /sbin/e2image | |
741 | %attr(755,root,root) /sbin/e2label | |
742 | %attr(755,root,root) /sbin/findfs | |
743 | %attr(755,root,root) /sbin/fsck.ext2 | |
744 | %attr(755,root,root) /sbin/fsck.ext3 | |
745 | %attr(755,root,root) /sbin/logsave | |
746 | %attr(755,root,root) /sbin/mke2fs | |
747 | %attr(755,root,root) /sbin/mkfs.ext2 | |
748 | %attr(755,root,root) /sbin/mkfs.ext3 | |
749 | %attr(755,root,root) /sbin/resize2fs | |
750 | %attr(755,root,root) /sbin/tune2fs | |
751 | %attr(755,root,root) %{_bindir}/chattr | |
752 | %attr(755,root,root) %{_bindir}/lsattr | |
5c6b44ff | 753 | %attr(755,root,root) %{_bindir}/mk_cmds |
9b25605d JB |
754 | %attr(755,root,root) %{_sbindir}/filefrag |
755 | %attr(755,root,root) %{_sbindir}/mklost+found | |
756 | %if %{without allstatic} | |
a794e14c JB |
757 | %attr(755,root,root) /%{_lib}/libe2p.so.*.* |
758 | %attr(755,root,root) %ghost /%{_lib}/libe2p.so.2 | |
759 | %attr(755,root,root) /%{_lib}/libext2fs.so.*.* | |
760 | %attr(755,root,root) %ghost /%{_lib}/libext2fs.so.2 | |
761 | %attr(755,root,root) /%{_lib}/libss.so.*.* | |
762 | %attr(755,root,root) %ghost /%{_lib}/libss.so.2 | |
59f57553 | 763 | %endif |
58c5291a | 764 | %attr(755,root,root) %{_libdir}/e2initrd_helper |
740f8c96 ER |
765 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/e2fsck.conf |
766 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mke2fs.conf | |
767 | %ghost %{_sysconfdir}/blkid.tab | |
9b25605d JB |
768 | %{_mandir}/man1/chattr.1* |
769 | %{_mandir}/man1/lsattr.1* | |
5c6b44ff | 770 | %{_mandir}/man1/mk_cmds.1* |
f1a6ac20 JB |
771 | %{_mandir}/man5/e2fsck.conf.5* |
772 | %{_mandir}/man5/mke2fs.conf.5* | |
9b25605d JB |
773 | %{_mandir}/man8/badblocks.8* |
774 | %{_mandir}/man8/blkid.8* | |
775 | %{_mandir}/man8/debugfs.8* | |
776 | %{_mandir}/man8/dumpe2fs.8* | |
777 | %{_mandir}/man8/e2fsck.8* | |
778 | %{_mandir}/man8/e2image.8* | |
779 | %{_mandir}/man8/e2label.8* | |
780 | %{_mandir}/man8/filefrag.8* | |
781 | %{_mandir}/man8/findfs.8* | |
782 | %{_mandir}/man8/fsck.ext2.8* | |
783 | %{_mandir}/man8/fsck.ext3.8* | |
784 | %{_mandir}/man8/logsave.8* | |
785 | %{_mandir}/man8/mke2fs.8* | |
786 | %{_mandir}/man8/mkfs.ext2.8* | |
787 | %{_mandir}/man8/mkfs.ext3.8* | |
788 | %{_mandir}/man8/mklost+found.8* | |
789 | %{_mandir}/man8/resize2fs.8* | |
790 | %{_mandir}/man8/tune2fs.8* | |
791 | %lang(fi) %{_mandir}/fi/man1/chattr.1* | |
792 | %lang(fi) %{_mandir}/fi/man1/lsattr.1* | |
793 | %lang(fr) %{_mandir}/fr/man1/lsattr.1* | |
794 | %lang(fr) %{_mandir}/fr/man8/badblocks.8* | |
795 | %lang(fr) %{_mandir}/fr/man8/dumpe2fs.8* | |
796 | %lang(fr) %{_mandir}/fr/man8/e2label.8* | |
797 | %lang(fr) %{_mandir}/fr/man8/mklost+found.8* | |
798 | %lang(hu) %{_mandir}/hu/man1/chattr.1* | |
799 | %lang(hu) %{_mandir}/hu/man1/lsattr.1* | |
800 | %lang(hu) %{_mandir}/hu/man8/dumpe2fs.8* | |
801 | %lang(hu) %{_mandir}/hu/man8/e2fsck.8* | |
802 | %lang(hu) %{_mandir}/hu/man8/fsck.ext2.8* | |
803 | %lang(hu) %{_mandir}/hu/man8/fsck.ext3.8* | |
804 | %lang(hu) %{_mandir}/hu/man8/tune2fs.8* | |
805 | %lang(it) %{_mandir}/it/man1/chattr.1* | |
806 | %lang(it) %{_mandir}/it/man1/lsattr.1* | |
807 | %lang(it) %{_mandir}/it/man8/badblocks.8* | |
808 | %lang(it) %{_mandir}/it/man8/debugfs.8* | |
809 | %lang(it) %{_mandir}/it/man8/dumpe2fs.8* | |
810 | %lang(it) %{_mandir}/it/man8/e2fsck.8* | |
811 | %lang(it) %{_mandir}/it/man8/fsck.ext2.8* | |
812 | %lang(it) %{_mandir}/it/man8/fsck.ext3.8* | |
813 | %lang(it) %{_mandir}/it/man8/mke2fs.8* | |
814 | %lang(it) %{_mandir}/it/man8/mkfs.ext2.8* | |
815 | %lang(it) %{_mandir}/it/man8/mkfs.ext3.8* | |
816 | %lang(it) %{_mandir}/it/man8/mklost+found.8* | |
817 | %lang(it) %{_mandir}/it/man8/tune2fs.8* | |
818 | %lang(ja) %{_mandir}/ja/man1/chattr.1* | |
819 | %lang(ja) %{_mandir}/ja/man1/lsattr.1* | |
820 | %lang(ja) %{_mandir}/ja/man8/badblocks.8* | |
821 | %lang(ja) %{_mandir}/ja/man8/debugfs.8* | |
822 | %lang(ja) %{_mandir}/ja/man8/dumpe2fs.8* | |
823 | %lang(ja) %{_mandir}/ja/man8/e2fsck.8* | |
824 | %lang(ja) %{_mandir}/ja/man8/e2image.8* | |
825 | %lang(ja) %{_mandir}/ja/man8/e2label.8* | |
826 | %lang(ja) %{_mandir}/ja/man8/findfs.8* | |
827 | %lang(ja) %{_mandir}/ja/man8/fsck.ext2.8* | |
828 | %lang(ja) %{_mandir}/ja/man8/fsck.ext3.8* | |
829 | %lang(ja) %{_mandir}/ja/man8/mke2fs.8* | |
830 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext2.8* | |
831 | %lang(ja) %{_mandir}/ja/man8/mkfs.ext3.8* | |
832 | %lang(ja) %{_mandir}/ja/man8/mklost+found.8* | |
833 | %lang(ja) %{_mandir}/ja/man8/resize2fs.8* | |
834 | %lang(ja) %{_mandir}/ja/man8/tune2fs.8* | |
835 | %lang(ko) %{_mandir}/ko/man1/chattr.1* | |
836 | %lang(ko) %{_mandir}/ko/man1/lsattr.1* | |
837 | %lang(ko) %{_mandir}/ko/man8/badblocks.8* | |
838 | %lang(ko) %{_mandir}/ko/man8/debugfs.8* | |
839 | %lang(ko) %{_mandir}/ko/man8/dumpe2fs.8* | |
840 | %lang(ko) %{_mandir}/ko/man8/e2fsck.8* | |
841 | %lang(ko) %{_mandir}/ko/man8/fsck.ext2.8* | |
842 | %lang(ko) %{_mandir}/ko/man8/fsck.ext3.8* | |
843 | %lang(ko) %{_mandir}/ko/man8/mke2fs.8* | |
844 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext2.8* | |
845 | %lang(ko) %{_mandir}/ko/man8/mkfs.ext3.8* | |
846 | %lang(ko) %{_mandir}/ko/man8/mklost+found.8* | |
847 | %lang(ko) %{_mandir}/ko/man8/tune2fs.8* | |
848 | %lang(pl) %{_mandir}/pl/man1/chattr.1* | |
849 | %lang(pl) %{_mandir}/pl/man1/lsattr.1* | |
850 | %lang(pl) %{_mandir}/pl/man8/badblocks.8* | |
851 | %lang(pl) %{_mandir}/pl/man8/debugfs.8* | |
852 | %lang(pl) %{_mandir}/pl/man8/dumpe2fs.8* | |
853 | %lang(pl) %{_mandir}/pl/man8/e2fsck.8* | |
854 | %lang(pl) %{_mandir}/pl/man8/e2label.8* | |
855 | %lang(pl) %{_mandir}/pl/man8/fsck.ext2.8* | |
856 | %lang(pl) %{_mandir}/pl/man8/fsck.ext3.8* | |
857 | %lang(pl) %{_mandir}/pl/man8/mke2fs.8* | |
858 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext2.8* | |
859 | %lang(pl) %{_mandir}/pl/man8/mkfs.ext3.8* | |
860 | %lang(pl) %{_mandir}/pl/man8/mklost+found.8* | |
861 | %lang(pl) %{_mandir}/pl/man8/tune2fs.8* | |
ae6cbd15 | 862 | %{_datadir}/ss |
3cdd562a | 863 | %{_infodir}/e2compr.info* |
7471f3a4 | 864 | |
b47bcf8d | 865 | %files devel |
67692e6e | 866 | %defattr(644,root,root,755) |
31cbbf88 | 867 | %doc doc/libblkid.txt |
9b25605d | 868 | %if %{without allstatic} |
59f57553 AM |
869 | %attr(755,root,root) %{_libdir}/libblkid.so |
870 | %attr(755,root,root) %{_libdir}/libe2p.so | |
871 | %attr(755,root,root) %{_libdir}/libext2fs.so | |
872 | %attr(755,root,root) %{_libdir}/libss.so | |
873 | %endif | |
5c6b44ff JB |
874 | %{_includedir}/blkid |
875 | %{_includedir}/e2p | |
876 | %{_includedir}/ext2fs | |
877 | %{_includedir}/ss | |
58c5291a JB |
878 | %{_pkgconfigdir}/blkid.pc |
879 | %{_pkgconfigdir}/e2p.pc | |
880 | %{_pkgconfigdir}/ext2fs.pc | |
881 | %{_pkgconfigdir}/ss.pc | |
5c6b44ff JB |
882 | %{_infodir}/libext2fs.info* |
883 | %{_mandir}/man3/libblkid.3* | |
b47bcf8d | 884 | |
885 | %files static | |
7471f3a4 | 886 | %defattr(644,root,root,755) |
59f57553 AM |
887 | %{_libdir}/libblkid.a |
888 | %{_libdir}/libe2p.a | |
889 | %{_libdir}/libext2fs.a | |
890 | %{_libdir}/libss.a | |
4cccca28 | 891 | |
59f57553 AM |
892 | %files -n libcom_err |
893 | %defattr(644,root,root,755) | |
a794e14c JB |
894 | %if %{without allstatic} |
895 | %attr(755,root,root) /%{_lib}/libcom_err.so.*.* | |
896 | %attr(755,root,root) %ghost /%{_lib}/libcom_err.so.2 | |
897 | %endif | |
59f57553 AM |
898 | |
899 | %files -n libcom_err-devel | |
900 | %defattr(644,root,root,755) | |
901 | %attr(755,root,root) %{_bindir}/compile_et | |
59f57553 | 902 | %{!?with_allstatic:%attr(755,root,root) %{_libdir}/libcom_err.so} |
5c6b44ff JB |
903 | %{_includedir}/et |
904 | %{_datadir}/et | |
58c5291a | 905 | %{_pkgconfigdir}/com_err.pc |
5c6b44ff JB |
906 | %{_mandir}/man1/compile_et.1* |
907 | %lang(ja) %{_mandir}/ja/man1/compile_et.1* | |
908 | %{_mandir}/man3/com_err.3* | |
909 | %lang(ja) %{_mandir}/ja/man3/com_err.3* | |
59f57553 AM |
910 | |
911 | %files -n libcom_err-static | |
912 | %defattr(644,root,root,755) | |
913 | %{_libdir}/libcom_err.a | |
914 | ||
915 | %files -n libuuid | |
916 | %defattr(644,root,root,755) | |
914260e2 | 917 | %doc lib/uuid/COPYING |
5c6b44ff | 918 | %attr(755,root,root) %{_bindir}/uuidgen |
a794e14c JB |
919 | %if %{without allstatic} |
920 | %attr(755,root,root) /%{_lib}/libuuid.so.*.* | |
9b25605d | 921 | %attr(755,root,root) %ghost /%{_lib}/libuuid.so.1 |
a794e14c | 922 | %endif |
144df8b6 JB |
923 | %{_mandir}/man1/uuidgen.1* |
924 | %lang(ja) %{_mandir}/ja/man1/uuidgen.1* | |
59f57553 AM |
925 | |
926 | %files -n libuuid-devel | |
927 | %defattr(644,root,root,755) | |
59f57553 | 928 | %{!?with_allstatic:%attr(755,root,root) %{_libdir}/libuuid.so} |
5c6b44ff | 929 | %{_includedir}/uuid |
58c5291a | 930 | %{_pkgconfigdir}/uuid.pc |
9b25605d JB |
931 | %{_mandir}/man3/uuid*.3* |
932 | %lang(ja) %{_mandir}/ja/man3/libuuid.3* | |
933 | %lang(ja) %{_mandir}/ja/man3/uuid_*.3* | |
59f57553 AM |
934 | |
935 | %files -n libuuid-static | |
936 | %defattr(644,root,root,755) | |
937 | %{_libdir}/libuuid.a | |
5e1eea35 | 938 | |
96cf9b00 ER |
939 | %files -n uuidd |
940 | %defattr(644,root,root,755) | |
941 | %attr(2775,uuidd,uuidd) /var/lib/libuuid | |
942 | %attr(6755,uuidd,uuidd) %{_sbindir}/uuidd | |
943 | %{_mandir}/man8/uuidd.8* | |
944 | ||
5e1eea35 | 945 | %files -n fsck |
946 | %defattr(644,root,root,755) | |
947 | %attr(755,root,root) /sbin/fsck | |
9b25605d | 948 | %if %{without allstatic} |
a794e14c JB |
949 | %attr(755,root,root) /%{_lib}/libblkid.so.*.* |
950 | %attr(755,root,root) %ghost /%{_lib}/libblkid.so.1 | |
5e1eea35 | 951 | %endif |
952 | %{_mandir}/man8/fsck.8* | |
953 | %lang(it) %{_mandir}/it/man8/fsck.8* | |
954 | %lang(ja) %{_mandir}/ja/man8/fsck.8* | |
955 | %lang(ko) %{_mandir}/ko/man8/fsck.8* | |
956 | %lang(pl) %{_mandir}/pl/man8/fsck.8* | |
a09cb351 | 957 | |
958 | %if %{with initrd} | |
959 | %files initrd | |
960 | %defattr(644,root,root,755) | |
961 | %attr(755,root,root) /sbin/initrd-blkid | |
962 | %endif |