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