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