4 Summary: Tools for the second extended (ext2) filesystem
5 Summary(de): Tools für das zweite erweiterte (ext2) Dateisystem
6 Summary(fr): Outils pour le système de fichiers ext2
7 Summary(pl): Narzêdzia do systemu plikowego ext2
8 Summary(tr): ext2 dosya sistemi için araçlar
13 Group: Applications/System
14 Source0: ftp://download.sourceforge.net/pub/sourceforge/e2fsprogs/%{name}-%{version}.tar.gz
15 Source1: http://opensource.captech.com/e2compr/ftp/e2compr-0.4.texinfo.gz
16 Source2: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
17 Patch0: %{name}-info.patch
18 Patch1: e2compr-info.patch
19 Patch2: %{name}-mountlabel3.patch
20 URL: http://e2fsprogs.sourceforge.net/
21 PreReq: /sbin/ldconfig
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 BuildRequires: automake
24 BuildRequires: autoconf
25 BuildRequires: gettext-devel
26 BuildRequires: texinfo
29 The e2fsprogs package contains a number of utilities for creating,
30 checking, modifying and correcting any inconsistencies in second
31 extended (ext2) filesystems. E2fsprogs contains e2fsck (used to repair
32 filesystem inconsistencies after an unclean shutdown), mke2fs (used to
33 initialize a partition to contain an empty ext2 filesystem), debugfs
34 (used to examine the internal structure of a filesystem, to manually
35 repair a corrupted filesystem or to create test cases for e2fsck),
36 tune2fs (used to modify filesystem parameters) and most of the other
37 core ext2fs filesystem utilities.
40 Dieses Paket enthält eine Auswahl an Utilities zum Erstellen, Prüfen
41 und zur Instandsetzung von ext2-Dateisystemen.
44 Ce package contient de nombreux utilitaires pour créer, vérifier, et
45 réparer les systèmes de fichiers ext2.
48 Pakiet ten zawiera narzêdzia do tworzenia, sprawdzania i naprawiania
49 wolumenów dyskowych z systemem plikowym ext2. E2fsprogs zawiera e2fsck
50 (u¿ywany do naprawiania niespójno¶ci w systemie plikowym po
51 niepoprawnym zamkniêciu systemu), mke2fs (u¿ywany do inicjacji
52 wolumenów ext2), debugfs (¿ywany do sprawdzania wewnêtrznej struktury
53 wolumenów ext2, a tak¿e do rêcznego naprawiania b³êdów), tune2fs
54 (u¿ywany do modyfikacji parametrów wolumenów ext2) i kilka innych
58 Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve
59 bazý parametrelerini deðiþtirmek için gerekli yazýlýmlarý içerir.
62 Summary: e2fs header files
63 Summary(de): Header-Dateien für eine e2fs
64 Summary(pl): Pliki nag³ówkowe do bibliotek e2fs
65 Group: Development/Libraries
66 Requires: %{name} = %{version}
69 E2fsprogs-devel contains header files and documentation needed to
70 develop second extended (ext2) filesystem-specific programs.
72 %description devel -l de
73 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
74 Programmen erforderlich sind.
76 %description devel -l pl
77 Pliki nag³ówkowe i dokumentacja niezbêdne do tworzenia programów
81 Summary: e2fs static libraries
82 Summary(de): e2fs statische Libraries
83 Summary(pl): Biblioteki statyczne do obs³ugi e2fs
84 Group: Development/Libraries
85 Requires: %{name}-devel = %{version}
88 Static libraries files needed to develop ext2 filesystem-specific
89 programs statically linked with e2progs libs.
91 %description static -l de
92 Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen
95 %description static -l pl
96 Biblioteki statyczne do ob³ugi e2fs niezbêdne do kompilacji programów
97 statycznie skonsolidowanych (linkowanych) z bibliotekami do e2fs.
102 gunzip < %{SOURCE1} > doc/e2compr.texinfo
103 patch -s -p1 < %{PATCH1}
107 chmod u+w configure aclocal.m4
108 gettextize --copy --force
113 --with-root-prefix=/ \
114 %{!?_without_nls:--enable-nls} \
115 %{?_without_nls:--disable-nls} \
116 %{?_with_allstatic:--disable-elf-shlibs} \
117 %{!?_with_allstatic:--enable-elf-shlibs} \
118 --enable-compression \
119 %{?_without_static:--enable-dynamic-e2fsck} \
122 %{__make} libs progs docs LDFLAGS="%{rpmldflags}"
124 makeinfo --no-split e2compr.texinfo
128 rm -rf $RPM_BUILD_ROOT
129 export PATH=/sbin:$PATH
131 %{__make} install DESTDIR=$RPM_BUILD_ROOT
132 %{__make} install-libs DESTDIR=$RPM_BUILD_ROOT
133 %{__make} -C po install DESTDIR=$RPM_BUILD_ROOT
135 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
136 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3
137 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
139 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
141 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
143 %{!?_without_nls:%find_lang %{name}}
147 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
151 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
154 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
157 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
160 rm -rf $RPM_BUILD_ROOT
162 %files %{!?_without_nls:-f %{name}.lang}
163 %defattr(644,root,root,755)
164 %attr(755,root,root) /sbin/*
165 %attr(755,root,root) %{_sbindir}/*
166 %attr(755,root,root) %{_bindir}/*
167 %{!?_with_allstatic:%attr(755,root,root) /lib/lib*.so.*}
169 %lang(fi) %{_mandir}/fi/man[18]/*
170 %lang(fr) %{_mandir}/fr/man[18]/*
171 %lang(hu) %{_mandir}/hu/man[18]/*
172 %lang(it) %{_mandir}/it/man[18]/*
173 %lang(ja) %{_mandir}/ja/man[18]/*
174 %lang(ko) %{_mandir}/ko/man[18]/*
175 %lang(pl) %{_mandir}/pl/man[18]/*
178 %{_infodir}/e2compr.info*
181 %defattr(644,root,root,755)
182 %doc README RELEASE-NOTES
184 %{_infodir}/libext2fs.info*
186 %lang(ja) %{_mandir}/ja/man3/*
189 %{!?_with_allstatic:%attr(755,root,root) %{_libdir}/lib*.so}
192 %defattr(644,root,root,755)