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