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