]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
- build static version blkid, using uClibc - for allow detect root=label and
[packages/e2fsprogs.git] / e2fsprogs.spec
1 #
2 # Conditional build:
3 %bcond_with     allstatic       # link everything statically
4 %bcond_without  static          # link e2fsck dynamically with libc
5 %bcond_without  nls             # build without NLS
6 %bcond_without  initrd          # don't build initrd version
7 %bcond_without  uClibc          # link initrd version with static glibc instead of uClibc
8 #
9 %ifarch sparc64 sparc
10 %undefine       with_uClibc
11 %endif
12 #
13 Summary:        Utilities for managing the second extended (ext2) filesystem
14 Summary(cs.UTF-8):      Nástroje pro správu souborových systémů typu ext2
15 Summary(da.UTF-8):      Værktøjer til håndtering af ext2 filsystemer
16 Summary(de.UTF-8):      Dienstprogramme zum Verwalten des Second Extended-Dateisystems (ext2)
17 Summary(es.UTF-8):      Utilidades para la gestión de un sistema de ficheros ext2
18 Summary(fr.UTF-8):      Utilitaires pour la gestion du système de fichiers ext2
19 Summary(id.UTF-8):      Utility untuk management filesystem ext2
20 Summary(is.UTF-8):      Tól til að sýsla með ext2 skráarkerfið
21 Summary(it.UTF-8):      Utility per la gestione del filesystem (ext2)
22 Summary(ja.UTF-8):      Second Extended (ext2) ファイルシステムを管理するためのユーティリティ
23 Summary(ko.UTF-8):      ext2 파일 시스템을 관리하는 유틸리티
24 Summary(nb.UTF-8):      Verktøy for håndtering av ext2 filsystemet
25 Summary(pl.UTF-8):      Narzędzia do systemu plikowego ext2
26 Summary(pt.UTF-8):      Utilitários para gerir o sistema de ficheiros ext2
27 Summary(pt_BR.UTF-8):   Ferramentas para o sistema de arquivos ext2
28 Summary(ru.UTF-8):      Утилиты управления файловой системой ext2
29 Summary(sk.UTF-8):      Pomocné programy pre správu ext2 súborového systému
30 Summary(sl.UTF-8):      Pripomočki za upravljanje datotečnega sistema ext2
31 Summary(sv.UTF-8):      Verktyg för att hantera det andra utökade (ext2) filsystemet
32 Summary(tr.UTF-8):      ext2 dosya sistemi için araçlar
33 Summary(uk.UTF-8):      Утиліти для роботи з файловою системою ext2
34 Summary(zh_CN.UTF-8):   管理第二扩展(ext2)文件系统的工具。
35 Summary(zh_TW.UTF-8):   用於管理 ext2 檔案系統的工具程式。
36 Name:           e2fsprogs
37 Version:        1.40.3
38 Release:        2
39 License:        GPL v2 (with LGPL v2 and BSD parts)
40 Group:          Applications/System
41 Source0:        http://dl.sourceforge.net/e2fsprogs/%{name}-%{version}.tar.gz
42 # Source0-md5:  ad7ff4da7e200b9b25df58dc39989053
43 Source1:        e2compr-0.4.texinfo.gz
44 # Source1-md5:  c3c59ff37e49d8759abb1ef95a8d3abf
45 Source2:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
46 # Source2-md5:  992a37783bd42a897232972917e8ca7d
47 Patch0:         %{name}-info.patch
48 Patch1:         e2compr-info.patch
49 Patch2:         %{name}-pl.po-update.patch
50 URL:            http://e2fsprogs.sourceforge.net/
51 BuildRequires:  autoconf
52 BuildRequires:  automake
53 BuildRequires:  device-mapper-devel
54 BuildRequires:  gettext-devel >= 0.11
55 BuildRequires:  texinfo
56 %if %{with static}
57 BuildRequires:  device-mapper-static
58 BuildRequires:  glibc-static
59 BuildRequires:  libselinux-static
60 BuildRequires:  libsepol-static
61 %endif
62 %if %{with initrd}
63         %if %{with uClibc}
64                 %ifarch ppc
65 BuildRequires:  uClibc-static >= 2:0.9.29
66                 %else
67 BuildRequires:  uClibc-static >= 2:0.9.26
68                 %endif
69         %endif
70 %endif
71 Requires(post,postun):  /sbin/ldconfig
72 Requires:       fsck = %{version}-%{release}
73 Requires:       libcom_err = %{version}-%{release}
74 Requires:       libuuid = %{version}-%{release}
75 Obsoletes:      e2fsprogs-evms
76 Obsoletes:      libext2fs2
77 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
78
79 # changing CFLAGS in the middle confuses confcache
80 %undefine       configure_cache
81
82 %description
83 The e2fsprogs package contains a number of utilities for creating,
84 checking, modifying and correcting any inconsistencies in second
85 extended (ext2) filesystems. e2fsprogs contains e2fsck (used to repair
86 filesystem inconsistencies after an unclean shutdown), mke2fs (used to
87 initialize a partition to contain an empty ext2 filesystem), debugfs
88 (used to examine the internal structure of a filesystem, to manually
89 repair a corrupted filesystem or to create test cases for e2fsck),
90 tune2fs (used to modify filesystem parameters) and most of the other
91 core ext2fs filesystem utilities.
92
93 %description -l cs.UTF-8
94 Balíček e2fsprogs obsahuje několik programů pro vytváření, kontrolu
95 úpravy a opravy nekonzistencí v systémech souborů typu ext2 (second
96 extended filesystem). Balíček obsahuje program e2fsck (na opravy
97 nekonzistencí systémů souborů, které nebyly odpojeny při vypnutí
98 systému), mke2fs (pro vytvoření prázdného systému souborů typu ext2 v
99 diskovém oddílu), debugfs (pro kontrolu interní struktury systému
100 souborů, manuální opravu poškozeného systému souborů a pro vytváření
101 testovacích případů pro e2fsck), tune2fs (pro úpravu parametrů systému
102 souborů) a většinu dalších programů pro práci se systémy souborů typu
103 ext2fs.
104
105 %description -l da.UTF-8
106 e2fsprogs-pakken indeholder diverse værktøjer for at lave,
107 kontrollere, modificere og reparere ext2-filsystemer. e2fsprogs
108 indeholder e2fsck (bruges for at reparere filsystemer efter uren
109 nedlukning af systemet), mke2fs (bruges for at initialisere en
110 partition med et tomt ext2-filsystem), debugfs (bruges for at
111 undersøge de interne strukturer i filsystemet, for manuelt at kunne
112 reparere et ødelagt filsystem eller lave testscenarier for e2fsck),
113 tune2fs (bruges for at modificere filsystem-parametre) og flere andre
114 værktøjer for at ændre og undersøge ext2-filsystemer.
115
116 %description -l de.UTF-8
117 Das Paket e2fsprogs enthält eine Reihe von Dienstprogrammen zum
118 Anlegen, Überprüfen, Ändern und Reparieren von Inkonsistenzen in
119 Second Extended-Dateisystemen (ext2). e2fsprogs enthält: e2fsck (zum
120 Korrigieren von Inkonsistenzen im Dateisystem nach einem
121 Computerabsturz), mke2fs (zum Initialisieren einer Partition mit einem
122 leeren ext2-Dateisystem), debugfs (zum Überprüfen der internen
123 Struktur eines Dateisystems, zum manuellen Reparieren eines
124 beschädigten Dateisystems oder zum Erstellen von Testfällen für
125 e2fsck), tune2fs (zum Ändern der Dateisystemparameter) und die meisten
126 anderen wichtigen Dienstprogramme für ext2fs-Dateisystemem.
127
128 %description -l es.UTF-8
129 El paquete e2fsprogs contiene varias utilidades para crear, controlar,
130 modificar y corregir las inconsistencias en un sistema de ficheros
131 ext2. e2fsprogs contiene e2fsck (resuelve el problema de
132 inconsistencia después de haber apagado el ordenador de manera
133 incorrecta), mke2fs (inicializa una nueva partición para contener un
134 sistema de ficheros ext2 vacío), debugfs (examina la estructura
135 interna de un sistema de ficheros para reparar manualmente los errores
136 presentes en un sistema de ficheros o crear casos de prueba para
137 e2fsck), tune2fs (modifica los parámetros del sistema de ficheros) y
138 la mayoría de las utilidades principales del systema de ficheros
139 ext2fs.
140
141 %description -l fr.UTF-8
142 Le paquetage e2fsprogs contient plusieurs utilitaires permettant de
143 créer, vérifier, modifier et corriger des incohérences dans des
144 systèmes de fichiers de type ext2. e2fsprogs contient e2fsck
145 (réparation d'incohérences de système de fichiers après un arrêt
146 brutal), mke2fs (initialisation d'une partition devant contenir un
147 système de fichiers ext2 vide), debugfs (examen de la structure
148 interne d'un système de fichiers afin de réparer manuellement un
149 système de fichiers corrompu ou de créer des cas de test pour e2fsck),
150 tune2fs (modification des paramètres de systèmes de fichiers) et la
151 plupart des autres utilitaires clés pour les systèmes de fichiers
152 ext2fs.
153
154 %description -l id.UTF-8
155 Package e2fsprogs berisi beberapa utility untuk membuat, cek, merubah,
156 dan memperbaiki kerusakan, pada second extended (ext2) filesystem.
157 e2fsprogs berisi e2fsck (digunakan untuk memperbaiki filesystem
158 inconsistencies yang biasanya terjadi setelah unclean shutdown),
159 mke2fs (digunakan untuk membuat filesystem ext2 yang kosong), debugfs
160 (untuk memeriksa internal structure dari filesystem, dan secara manual
161 memperbaiki corrupted filesystem atau untuk membuat test cases untuk
162 e2fsck), tune2fs (untuk merubah parameter filesystem) dan kebanyakan
163 utility untuk filesystem ext2.
164
165 %description -l is.UTF-8
166 e2fsprogs pakkinn inniheldur nokkur forrit til að búa til, skoða,
167 breyta og laga allar villur í Linux skráarkerfinu (ext2). e2fsprogs
168 inniheldur e2fsck (notað til að laga villur í skráarkerfinu eftir
169 vonda enduruppkeyrslu), mke2fs (notað til að undirbúa harða disk töflu
170 til að innihalda tómt ext2 skráarkerfi), debugfs (notað til að skoða
171 innihald tóms ext2 skráarkerfis, til að handvirkt laga ónýtt
172 skráarkerfi eða til að undirbúa tilraunir fyrir e2fsck)m tune2fs(notað
173 til að breyta skráarkerfis möguleikum) og flest önnur ext2fs
174 skráarkerfis forritum
175
176 %description -l it.UTF-8
177 Il pacchetto e2fsprogs contiene varie utility per creare, controllare,
178 modificare e correggere le inconsistenze in un filesystem ext2.
179 e2fsprogs contiene e2fsck (risolve le inconsistenze di un filesystem
180 dopo un arresto non corretto del calcolatore), mke2fs (inizializza una
181 nuova partizione per un filesystem ext2 vuoto), debugfs (esamina la
182 struttura interna di un filesystem, è usato per riparare manualmente
183 gli errori presenti in un filesystem e per creare casi di test per
184 e2fsck), tune2fs (modifica i parametri del filesystem) e molte delle
185 utility principali per il filesystem ext2fs.
186
187 %description -l ja.UTF-8
188 e2fsprogs パッケージには Second Extended (ext2) ファイルシステムの
189 作成、検査、変更を行ったり、不整合を修復するためのユーティリティが
190 数多く含まれています。e2fsprogs には e2fsck (異常終了後にファイル
191 システムの不整合を修復する)、mke2fs (パーティションを初期化して空の
192 ext2 ファイルシステムを作成する)、debugfs (ファイルシステムの内部
193 構造を検査し、破損したファイルシステムを手動で修復したり、e2fsck
194 用のテストケースを作成する)、tune2fs (ファイルシステムのパラメータ
195 を変更する) のほか、主な ext2fs ファイルシステムユーティリティの
196 ほとんどが含まれます。
197
198 %description -l nb.UTF-8
199 e2fsprogs-pakken inneholder diverse verktøy for å lage, kontrollere,
200 modifisere og reparere ext2-filsystemer. e2fsprogs inneholder e2fsck
201 (brukes for å reparere filsystemer etter uren nedkjøring av systemet),
202 mke2fs (brukes for å initialisere en partisjon med et tomt
203 ext2-filsystem), debugfs (brukes for å undersøke de interne
204 strukturene i filsystemet, for manuelt å kunne reparere et ødelagt
205 filsystem eller lage testscenarier for e2fsck), tune2fs (brukes for å
206 modifisere filsystem-parametre) og flere andre verktøy for å endre og
207 undersøke ext2-filsystemer.
208
209 %description -l pl.UTF-8
210 Pakiet ten zawiera narzędzia do tworzenia, sprawdzania i naprawiania
211 wolumenów dyskowych z systemem plikowym ext2. e2fsprogs zawiera e2fsck
212 (używany do naprawiania niespójności w systemie plikowym po
213 niepoprawnym zamknięciu systemu), mke2fs (używany do inicjacji
214 wolumenów ext2), debugfs (używany do sprawdzania wewnętrznej struktury
215 wolumenów ext2, a także do ręcznego naprawiania błędów), tune2fs
216 (używany do modyfikacji parametrów wolumenów ext2) i kilka innych
217 narzędzi do ext2.
218
219 %description -l pt.UTF-8
220 O pacote e2fsprogs contém uma quantidade de utilitários para criar,
221 verificar, modificar e corrigir algumas inconsistências no sistema de
222 ficheiros ext2. O e2fsprogs contém o e2fsck (usado para reparar as
223 inconsistências do sistema de ficheiros depois duma terminação
224 forçada), o mke2fs (usado para inicializar uma partição para esta
225 conter um sistema de ficheiros ext2 vazio), o debugfs (usado para
226 examinar a estrutura interna dum sistema de ficheiros, para reparar
227 manualmente um sistema de ficheiros corrompido ou para criar situações
228 de teste para o e2fsck), o tune2fs (usado para modificar os parâmetros
229 do sistema de ficheiros) e a maioria dos outros utilitários de base do
230 sistema de ficheiros ext2.
231
232 %description -l pt_BR.UTF-8
233 Este pacote inclui vários utilitários para criação, checagem e reparo
234 de sistema de arquivos ext2.
235
236 %description -l ru.UTF-8
237 Пакет e2fsprogs содержит утилиты для создания, проверки, изменения и
238 корректировки внутреннего состояния файловой системы ext2. e2fsprogs
239 содержит e2fsck (для восстановления файловой структуры после
240 некорректного завершения работы), mke2fs (для инициализации раздела
241 при создании пустой файловой системы ext2), debugfs (просмотр
242 внутренней структуры файловой системы для ручного восстановления
243 поврежденной файловой системы или создания тестовых ситуаций для
244 e2fsck), tune2fs (для изменения параметров файловой системы) и
245 множество других утилит для файловой системы ext2.
246
247 %description -l sk.UTF-8
248 Balík e2fsprogs obsahuje niekoľko programov pre vytváranie, kontrolu,
249 zmenu a opravu nekonzistencií na ext2 súborovom systéme. e2fsprogs
250 obsahuje e2fsck (pre opravu nekonzistentných údajov na súborovom
251 systéme po nečistom ukončení), mke2fs (pre vytvorenie prázdneho
252 súborového systému na diskovom oddieli), debugfs (pre skúmanie
253 vnútorných štruktúr súborového systému, jeho ručnú opravu alebo pre
254 vytvorenie testovacích prípadov pre e2fsck), tune2fs (pre modifikáciu
255 parametrov súborového systému) a väčšinu ďalších základných pomôcok
256 pre prácu s ext2fs.
257
258 %description -l sv.UTF-8
259 Paketet e2fsprogs innehåller ett antal verktyg för att skapa,
260 kontrollera, modifiera och rätta felaktigheter i det andra utökade
261 (ext2) filsystemet. e2fsprogs innehåller e2fsck (används för att
262 reparera felaktigheter efter en oren avstängning), mke2fs (används för
263 att initiera en partition att innehålla ett tomt ext2-filsystem),
264 debugfs (används för att undersöka den interna strukturen i ett
265 filsystem, manuellt reparera trasiga filsystem eller skapa testfall
266 för e2fsck), tune2fs (används för att modifiera filsystemparametrar)
267 och de flesta andra basverktygen för filsystemet ext2fs.
268
269 %description -l tr.UTF-8
270 Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve
271 bazı parametrelerini değiştirmek için gerekli yazılımları içerir.
272
273 %description -l uk.UTF-8
274 Пакет e2fsprogs містить набір утиліт для створення, перевірки,
275 модифікації та виправлення будь-яких помилок у файловій системі ext2.
276 e2fsprogs містить e2fsck (використовується для виправлення помилок
277 після "брудної" зупинки машини), mke2fs (для ініциалізації розділу та
278 створення порожньої файлової системи ext2), debugfs (для вивчення
279 внутрішньої структури файлової системи, ручного ремонту пошкодженої
280 файлової системи або для створення тестів для e2fsck), tune2fs (для
281 модифікації параметрів файлової системи) та більшість інших базових
282 утиліт для ext2fs.
283
284 %description -l zh_CN.UTF-8
285 e2fsprogs 软件包包含一些实用程序,用于创建、检查、 修改和纠正辅助扩展
286 (ext2) 文件系统中的任何不统一之处。 e2fsprogs 包含
287 e2fsck(用于在非正常关机后修复文件系统的不统一之处)、
288 mke2fs(用于将分区初始化为包含空白ext2 文件系统)、
289 debugfs(用于检查文件系统的内部结构、手动修复被破坏的文件系统或为e2fsck
290 创建测试范例)、 tune2fs(用于修改文件系统参数)和其它大多数核心
291 ext2fs 文件系统实用程序。
292
293 %package devel
294 Summary:        ext2 filesystem-specific libraries and headers
295 Summary(cs.UTF-8):      Knihovny a hlavičkové soubory pro systém souborů ext2
296 Summary(da.UTF-8):      ext2 filsystemsspecifikke biblioteker og headerfiler
297 Summary(de.UTF-8):      Bibliotheken und Header-Dateien für ext2-Dateisysteme
298 Summary(es.UTF-8):      Bibliotecas y archivos de inclusión para e2fs
299 Summary(fr.UTF-8):      Bibliothèques et en-têtes spécifiques au système de fichiers ext2
300 Summary(id.UTF-8):      Library dan file header untuk e2fsprogs
301 Summary(is.UTF-8):      Aðgerðasöfn og hausaskrár fyrir ext2 skráarkerfið
302 Summary(it.UTF-8):      Librerie e file header specifici per il filesystem ext2
303 Summary(ja.UTF-8):      ext2 ファイルシステムに固有の静的ライブラリとヘッダー
304 Summary(ko.UTF-8):      ext2 파일시스템-지정 정적 라이브러리와 헤더들
305 Summary(nb.UTF-8):      ext2 filsystemspesifikke bibliotek og headerfiler
306 Summary(pl.UTF-8):      Pliki nagłówkowe do bibliotek e2fs
307 Summary(pt.UTF-8):      Bibliotecas e ficheiros de inclusão específicos do sistema de ficheiros ext2
308 Summary(pt_BR.UTF-8):   Bibliotecas e arquivos de inclusão para e2fs
309 Summary(ru.UTF-8):      Библиотеки и файлы заголовков для разработки программ, использующих ext2
310 Summary(sk.UTF-8):      Knižnice a hlavičkové súbory pre ext2-špecifické programy
311 Summary(sl.UTF-8):      Knjižnice in glave, specifične datotečnemu sistemu ext2
312 Summary(sv.UTF-8):      ext2 filsystemspecifika bibliotek och huvuden
313 Summary(uk.UTF-8):      Бібліотки програміста та хедери для роботи з ext2fs
314 Summary(zh_CN.UTF-8):   ext2 文件系统特有的静态库和头文件。
315 Summary(zh_TW.UTF-8):   ext2 檔案系統特定的靜態函式庫與表頭。
316 Group:          Development/Libraries
317 Requires:       %{name} = %{version}-%{release}
318 Requires:       libcom_err-devel = %{version}-%{release}
319 Requires:       libuuid-devel = %{version}-%{release}
320 Obsoletes:      libext2fs2-devel
321
322 %description devel
323 e2fsprogs-devel contains the libraries and header files needed to
324 develop second extended (ext2) filesystem-specific programs.
325
326 %description devel -l cs.UTF-8
327 Balíček e2fsprogs-devel obsahuje knihovny a hlavičkové soubory
328 potřebné pro vývoj programů pracujících se systémem souborů ext2
329 (second extended fs).
330
331 %description devel -l da.UTF-8
332 e2fsprogs-devel indeholder de headerfiler og biblioteker man behøver
333 for at udvikle programmer specielt rettet mod ext2-filsystemer.
334
335 %description devel -l de.UTF-8
336 Das Paket e2fsprogs-devel enthält die Bibliotheken und Header-Dateien,
337 die für die Entwicklung von Programmen für das Second
338 Extended-Dateisystem (ext2) erforderlich sind.
339
340 %description devel -l es.UTF-8
341 e2fsprogs-devel contiene las bibliotecas y los ficheros de cabecera
342 necesarios para desarrollar programas específicos para el sistema de
343 ficheros ext2.
344
345 %description devel -l fr.UTF-8
346 e2fsprogs-devel contient les bibliothèques et fichiers d'en-tête
347 nécessaires au développement de programmes spécifiques au système de
348 fichiers ext2.
349
350 %description devel -l id.UTF-8
351 e2fsprogs-devel berisi library dan file header yang dibutuhkan untuk
352 develop program yang berkaitan dengan filesystem ext2.
353
354 %description devel -l is.UTF-8
355 e2fsprogs-devel inniheldur library og header skrár sem þarf til að búa
356 til (ext2) skráarsafns forrit
357
358 %description devel -l it.UTF-8
359 e2fsprogs-devel contiene le librerie e i file header necessari per
360 sviluppare programmi specifici per il filesystem ext2.
361
362 %description devel -l ja.UTF-8
363 e2fspgrogs-devel には、Second Extended (ext2) ファイルシステムに固有
364 のプログラムを開発するために必要なライブラリとヘッダーファイルが含まれ
365 ています。
366
367 %description devel -l nb.UTF-8
368 e2fsprogs-devel inneholder de headerfiler og bibliotek man trenger for
369 å utvikle programmer spesielt rettet mot ext2-filsystemer.
370
371 %description devel -l pl.UTF-8
372 Pliki nagłówkowe i dokumentacja niezbędne do tworzenia programów
373 obsługujących e2fs.
374
375 %description devel -l pt.UTF-8
376 O pacote e2fsprogs-devel contém as bibliotecas e ficheiros de inclusão
377 necessários para desenvolver programas específicos do sistema de
378 ficheiros ext2.
379
380 %description devel -l pt_BR.UTF-8
381 Bibliotecas e arquivos de inclusão para desenvolvimento de programas
382 específicos para sistema de arquivo ext2.
383
384 %description devel -l ru.UTF-8
385 e2fsprogs-devel содержит статические библиотеки и файлы заголовков,
386 необходимые при разработке программ, использующих файловую систему
387 ext2.
388
389 %description devel -l sk.UTF-8
390 e2fsprogs-devel obsahuje knižnice a hlavičkové súbory potrebné pre
391 vývoj programov pre ext2 súborový systém.
392
393 %description devel -l sv.UTF-8
394 e2fsprogs-devel innehåller bibliotek och huvudfiler som behövs för att
395 utveckla filsystemsspecifika program för det andra utökade (ext2)
396 filsystemet.
397
398 %description devel -l uk.UTF-8
399 e2fsprogs-devel містить бібліотеки та хедери, необхідні для написання
400 програм, які працюють з файловою системою ext2.
401
402 %description devel -l zh_CN.UTF-8
403 e2fsprogs-devel 包含开发辅助扩展 (ext2)
404 文件系统专用程序所需的程序库和头文件。
405
406 %package static
407 Summary:        ext2 filesystem-specific static libraries
408 Summary(cs.UTF-8):      Statické knihovny pro systém souborů ext2
409 Summary(da.UTF-8):      ext2 filsystemsspecifikke statiske biblioteker
410 Summary(de.UTF-8):      Statische Bibliotheken für ext2-Dateisysteme
411 Summary(es.UTF-8):      Bibliotecas estaticas para e2fs
412 Summary(fr.UTF-8):      Bibliothèques statiques spécifiques au système de fichiers ext2
413 Summary(it.UTF-8):      Librerie statiche specifici per il filesystem ext2
414 Summary(nb.UTF-8):      ext2 filsystemspesifikke statiske bibliotek
415 Summary(pl.UTF-8):      Biblioteki statyczne do obsługi systemu plików ext2
416 Summary(pt.UTF-8):      Bibliotecas estaticas específicos do sistema de ficheiros ext2
417 Summary(pt_BR.UTF-8):   Bibliotecas estaticas para e2fs
418 Summary(ru.UTF-8):      Статические библиотеки для разработки программ, использующих ext2
419 Summary(sk.UTF-8):      Statické knižnice a hlavičkové súbory pre ext2-špecifické programy
420 Summary(sv.UTF-8):      ext2 filsystemspecifika statiska bibliotek
421 Summary(uk.UTF-8):      Статичні бібліотки програміста для роботи з ext2fs
422 Group:          Development/Libraries
423 Requires:       %{name}-devel = %{version}-%{release}
424
425 %description static
426 Static libraries needed to develop ext2 filesystem-specific programs
427 statically linked with e2progs libs.
428
429 %description static -l de.UTF-8
430 Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen
431 erforderlich sind.
432
433 %description static -l es.UTF-8
434 Bibliotecas estaticas para desarrollo de programas específicos para
435 sistema de archivo ext2.
436
437 %description static -l pl.UTF-8
438 Biblioteki statyczne do obsługi e2fs niezbędne do kompilacji programów
439 statycznie skonsolidowanych (linkowanych) z bibliotekami do e2fs.
440
441 %description static -l pt_BR.UTF-8
442 Bibliotecas estaticas para desenvolvimento de programas específicos
443 para sistema de arquivo ext2.
444
445 %description static -l ru.UTF-8
446 e2fsprogs-devel-static содержит статические библиотеки, необходимые
447 для написания программ, работающих с файловой системой ext2.
448
449 %description static -l uk.UTF-8
450 e2fsprogs-devel-static містить статичні бібліотеки, необхідні для
451 написання програм, які працюють з файловою системою ext2.
452
453 %package -n libcom_err
454 Summary:        A Common Error Description Library for unices
455 Summary(pl.UTF-8):      Biblioteka opisu popularnych błędów dla uniksów
456 Group:          Libraries
457 Conflicts:      e2fsprogs < 1.34-3
458
459 %description -n libcom_err
460 A Common Error Description Library for unices.
461
462 %description -n libcom_err -l pl.UTF-8
463 Biblioteka opisu popularnych błędów dla uniksów.
464
465 %package -n libcom_err-devel
466 Summary:        Development files for Common Error Description Library for unices
467 Summary(pl.UTF-8):      Pliki dla programistów do biblioteki opisu popularnych błędów dla uniksów
468 Group:          Development/Libraries
469 Requires:       libcom_err = %{version}-%{release}
470 Conflicts:      e2fsprogs-devel < 1.34-3
471
472 %description -n libcom_err-devel
473 A Common Error Description Library for unices - development files.
474
475 %description -n libcom_err-devel -l pl.UTF-8
476 Biblioteka opisu popularnych błędów dla uniksów - pliki dla
477 programistów.
478
479 %package -n libcom_err-static
480 Summary:        Static version of Common Error Description Library for unices
481 Summary(pl.UTF-8):      Statyczna biblioteka opisu popularnych błędów dla uniksów
482 Group:          Development/Libraries
483 Requires:       libcom_err-devel = %{version}-%{release}
484 Conflicts:      e2fsprogs-static < 1.34-3
485
486 %description -n libcom_err-static
487 A Common Error Description Library for unices - static version.
488
489 %description -n libcom_err-static -l pl.UTF-8
490 Biblioteka opisu popularnych błędów dla uniksów - wersja statyczna.
491
492 %package -n libuuid
493 Summary:        Library for accessing and manipulating UUID
494 Summary(pl.UTF-8):      Biblioteka umożliwiająca dostęp i zmiany UUID
495 License:        BSD
496 Group:          Libraries
497 Conflicts:      e2fsprogs < 1.34-3
498
499 %description -n libuuid
500 Library for accessing and manipulating UUID.
501
502 %description -n libuuid -l pl.UTF-8
503 Biblioteka umożliwiająca dostęp i zmiany UUID.
504
505 %package -n libuuid-devel
506 Summary:        Header files for library for accessing and manipulating UUID
507 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki umożliwiającej dostęp i zmiany UUID
508 License:        BSD
509 Group:          Development/Libraries
510 Requires:       libuuid = %{version}-%{release}
511 Conflicts:      e2fsprogs-devel < 1.34-3
512
513 %description -n libuuid-devel
514 Library for accessing and manipulating UUID - development files.
515
516 %description -n libuuid-devel -l pl.UTF-8
517 Biblioteka umożliwiająca dostęp i zmiany UUID - pliki dla
518 programistów.
519
520 %package -n libuuid-static
521 Summary:        Static library for accessing and manipulating UUID
522 Summary(pl.UTF-8):      Statyczna biblioteka umożliwiająca dostęp i zmiany UUID
523 License:        BSD
524 Group:          Development/Libraries
525 Requires:       libuuid-devel = %{version}-%{release}
526 Conflicts:      e2fsprogs-static < 1.34-3
527
528 %description -n libuuid-static
529 Library for accessing and manipulating UUID - static version.
530
531 %description -n libuuid-static -l pl.UTF-8
532 Biblioteka umożliwiająca dostęp i zmiany UUID - wersja statyczna.
533
534 %package -n fsck
535 Summary:        Check and repair a Linux file system
536 Summary(pl.UTF-8):      Sprawdzenie i naprawa linuksowego systemu plików
537 Group:          Applications/System
538 Requires:       libuuid = %{version}-%{release}
539
540 %description -n fsck
541 Check and repair a Linux file system.
542
543 %description -n fsck -l pl.UTF-8
544 Sprawdzenie i naprawa linuksowego systemu plików.
545
546 %package initrd
547 Summary:        blkid - initrd version
548 Summary(pl.UTF-8):      blkid - wersja dla initrd
549 Group:  Base
550
551 %description initrd
552 This package includes a blkid utility to recognize partitions by label or uuid
553 - staticaly linked for initrd.
554
555 %description initrd -l pl.UTF-8
556 Pakiet ten zawiera narzędzie blkid do rozpozywania partycji przez etykietke lub
557 uuid - statycznie skonsolidowane na potrzeby initrd.
558
559 %prep
560 %setup -q
561 %patch0 -p1
562 gunzip < %{SOURCE1} > doc/e2compr.texinfo
563 %patch1 -p1
564 %patch2 -p1
565
566 sed -i -e "
567         s,DEVMAPPER_REQ='libselinux libsepol',DEVMAPPER_REQ=,;
568         s,DEVMAPPER_LIBS='-ldevmapper -lselinux -lsepol',DEVMAPPER_LIBS='-ldevmapper',;
569         s,/usr/lib/libdevmapper.a /usr/lib/libselinux.a /usr/lib/libsepol.a,/usr/%{_lib}/libdevmapper.a /usr/%{_lib}/libselinux.a /usr/%{_lib}/libsepol.a," \
570         -e '/AC_SUBST(DO_TEST_SUITE/a\MKINSTALLDIRS="install -d"\nAC_SUBST(MKINSTALLDIRS)\n' configure.in
571
572 %{!?with_static:sed '/^all:/s/e2fsck\.static//' -i e2fsck/Makefile.in}
573
574 %build
575 cp -f /usr/share/automake/config.sub .
576 %{__gettextize}
577 %{__aclocal}
578 %{__autoconf}
579
580 %if %{with initrd}
581 %configure \
582         %{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc"} \
583         ac_cv_lib_dl_dlopen=no \
584         --with-ccopts="-Os" \
585         --with-ldopts="-static" \
586         --disable-elf-shlibs \
587         --disable-selinux \
588         --disable-nls
589
590 %{__make} -j1 libs
591 %{__make} progs
592 mv -f misc/blkid initrd-blkid
593 %{__make} clean
594 %endif
595
596 %configure \
597         --with-root-prefix="" \
598         %{!?with_nls:--disable-nls} \
599         %{!?with_allstatic:--enable-elf-shlibs} \
600         --enable-blkid-devmapper \
601         --enable-compression \
602         --enable-htree \
603         %{!?with_static:--enable-dynamic-e2fsck} \
604         --enable-fsck \
605         --disable-rpath
606
607 %{__make} -j1 libs \
608         LDFLAGS="%{rpmldflags}"
609 %{__make} progs docs \
610         LDFLAGS="%{rpmldflags}"
611
612 cd doc
613 makeinfo --no-split e2compr.texinfo
614
615 %install
616 rm -rf $RPM_BUILD_ROOT
617 export PATH=/sbin:$PATH
618
619 echo "install-shlibs:" >> intl/Makefile
620
621 %{__make} install install-libs \
622         root_libdir=/%{_lib} \
623         mkinstalldirs='install -d' \
624         DESTDIR=$RPM_BUILD_ROOT
625
626 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
627 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3
628 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
629
630 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
631
632 touch $RPM_BUILD_ROOT%{_sysconfdir}/e2fsck.conf
633
634 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
635
636 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{mkfs,fsck}.ext[23].8*
637 echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.ext2.8
638 echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.ext3.8
639 echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.ext2.8
640 echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.ext3.8
641 # missing in non-english-man-pages tarball
642 echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/hu/man8/fsck.ext3.8
643 echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/fsck.ext3.8
644 echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/it/man8/mkfs.ext3.8
645 echo '.so e2fsck.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/fsck.ext3.8
646 echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/ko/man8/mkfs.ext3.8
647 echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/mkfs.ext3.8
648
649 %if %{with nls}
650 [ "`file $RPM_BUILD_ROOT%{_datadir}/locale/it/LC_MESSAGES/e2fsprogs.mo |\
651         sed -e 's/.*,//' -e 's/message.*//'`" -le 1 ] && rm -f $f
652 %find_lang %{name}
653 %endif
654
655 rm -f $RPM_BUILD_ROOT%{_mandir}/README.e2fsprogs-non-english-man-pages
656 touch $RPM_BUILD_ROOT%{_sysconfdir}/blkid.tab
657
658 %{?with_initrd:install initrd-blkid $RPM_BUILD_ROOT/sbin/initrd-blkid}
659
660 %clean
661 rm -rf $RPM_BUILD_ROOT
662
663 %post
664 /sbin/ldconfig
665 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
666
667 %postun
668 /sbin/ldconfig
669 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
670
671 %post devel
672 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
673
674 %postun devel
675 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
676
677 %post   -n libcom_err -p /sbin/ldconfig
678 %postun -n libcom_err -p /sbin/ldconfig
679
680 %post   -n libuuid -p /sbin/ldconfig
681 %postun -n libuuid -p /sbin/ldconfig
682
683 %post   -n fsck -p /sbin/ldconfig
684 %postun -n fsck -p /sbin/ldconfig
685
686 %files %{?with_nls:-f %{name}.lang}
687 %defattr(644,root,root,755)
688 # COPYING specifies license details for some parts of package
689 %doc COPYING README RELEASE-NOTES
690 %attr(755,root,root) /sbin/*
691 %exclude /sbin/fsck
692 %attr(755,root,root) %{_sbindir}/*
693 %attr(755,root,root) %{_bindir}/*attr
694 %attr(755,root,root) %{_bindir}/mk_cmds
695 %if ! %{with allstatic}
696 %attr(755,root,root) /%{_lib}/libe2p.so.*
697 %attr(755,root,root) /%{_lib}/libext2fs.so.*
698 %attr(755,root,root) /%{_lib}/libss.so.*
699 %endif
700 %attr(755,root,root) %{_libdir}/e2initrd_helper
701 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/e2fsck.conf
702 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mke2fs.conf
703 %ghost %{_sysconfdir}/blkid.tab
704 %{_mandir}/man1/*attr.1*
705 %{_mandir}/man1/mk_cmds.1*
706 %{_mandir}/man5/e2fsck.conf.5*
707 %{_mandir}/man5/mke2fs.conf.5*
708 %{_mandir}/man8/*
709 %lang(fi) %{_mandir}/fi/man[18]/*
710 %lang(fr) %{_mandir}/fr/man[18]/*
711 %lang(hu) %{_mandir}/hu/man[18]/*
712 %lang(it) %{_mandir}/it/man[18]/*
713 %lang(ja) %{_mandir}/ja/man1/*attr.1*
714 %lang(ja) %{_mandir}/ja/man8/*
715 %lang(ko) %{_mandir}/ko/man[18]/*
716 %lang(pl) %{_mandir}/pl/man[18]/*
717 %exclude %{_mandir}/*/man8/fsck.8*
718 %exclude %{_mandir}/man8/fsck.8*
719 %{_datadir}/ss
720 %{_infodir}/e2compr.info*
721
722 %files devel
723 %defattr(644,root,root,755)
724 %doc doc/libblkid.txt
725 %if !%{with allstatic}
726 %attr(755,root,root) %{_libdir}/libblkid.so
727 %attr(755,root,root) %{_libdir}/libe2p.so
728 %attr(755,root,root) %{_libdir}/libext2fs.so
729 %attr(755,root,root) %{_libdir}/libss.so
730 %endif
731 %{_includedir}/blkid
732 %{_includedir}/e2p
733 %{_includedir}/ext2fs
734 %{_includedir}/ss
735 %{_pkgconfigdir}/blkid.pc
736 %{_pkgconfigdir}/e2p.pc
737 %{_pkgconfigdir}/ext2fs.pc
738 %{_pkgconfigdir}/ss.pc
739 %{_infodir}/libext2fs.info*
740 %{_mandir}/man3/libblkid.3*
741
742 %files static
743 %defattr(644,root,root,755)
744 %{_libdir}/libblkid.a
745 %{_libdir}/libe2p.a
746 %{_libdir}/libext2fs.a
747 %{_libdir}/libss.a
748
749 %files -n libcom_err
750 %defattr(644,root,root,755)
751 %{!?with_allstatic:%attr(755,root,root) /%{_lib}/libcom_err.so.*}
752
753 %files -n libcom_err-devel
754 %defattr(644,root,root,755)
755 %attr(755,root,root) %{_bindir}/compile_et
756 %{!?with_allstatic:%attr(755,root,root) %{_libdir}/libcom_err.so}
757 %{_includedir}/et
758 %{_datadir}/et
759 %{_pkgconfigdir}/com_err.pc
760 %{_mandir}/man1/compile_et.1*
761 %lang(ja) %{_mandir}/ja/man1/compile_et.1*
762 %{_mandir}/man3/com_err.3*
763 %lang(ja) %{_mandir}/ja/man3/com_err.3*
764
765 %files -n libcom_err-static
766 %defattr(644,root,root,755)
767 %{_libdir}/libcom_err.a
768
769 %files -n libuuid
770 %defattr(644,root,root,755)
771 %doc lib/uuid/COPYING
772 %attr(755,root,root) %{_bindir}/uuidgen
773 %{!?with_allstatic:%attr(755,root,root) /%{_lib}/libuuid.so.*}
774 %{_mandir}/man1/uuidgen.1*
775 %lang(ja) %{_mandir}/ja/man1/uuidgen.1*
776
777 %files -n libuuid-devel
778 %defattr(644,root,root,755)
779 %{!?with_allstatic:%attr(755,root,root) %{_libdir}/libuuid.so}
780 %{_includedir}/uuid
781 %{_pkgconfigdir}/uuid.pc
782 %{_mandir}/man3/*uuid*
783 %lang(ja) %{_mandir}/ja/man3/*uuid*
784
785 %files -n libuuid-static
786 %defattr(644,root,root,755)
787 %{_libdir}/libuuid.a
788
789 %files -n fsck
790 %defattr(644,root,root,755)
791 %attr(755,root,root) /sbin/fsck
792 %if ! %{with allstatic}
793 %attr(755,root,root) /%{_lib}/libblkid.so.*
794 %endif
795 %{_mandir}/man8/fsck.8*
796 %lang(it) %{_mandir}/it/man8/fsck.8*
797 %lang(ja) %{_mandir}/ja/man8/fsck.8*
798 %lang(ko) %{_mandir}/ko/man8/fsck.8*
799 %lang(pl) %{_mandir}/pl/man8/fsck.8*
800
801 %if %{with initrd}
802 %files initrd
803 %defattr(644,root,root,755)
804 %attr(755,root,root) /sbin/initrd-blkid
805 %endif
This page took 0.528558 seconds and 3 git commands to generate.