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