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