1 Summary: Tools for the second extended (ext2) filesystem
2 Summary(de): Tools für das zweite erweiterte (ext2) Dateisystem
3 Summary(fr): Outils pour le système de fichiers ext2
4 Summary(pl): Narzêdzia do systemu plikowego ext2
5 Summary(tr): ext2 dosya sistemi için araçlar
10 Group: Applications/System
11 Group(de): Applikationen/System
12 Group(pl): Aplikacje/System
13 Source0: ftp://download.sourceforge.net/pub/sourceforge/e2fsprogs/%{name}-%{version}.tar.gz
14 Source1: http://opensource.captech.com/e2compr/ftp/e2compr-0.4.texinfo.gz
15 Patch0: %{name}-info.patch
16 URL: http://e2fsprogs.sourceforge.net/
17 PreReq: /sbin/ldconfig
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 BuildRequires: automake
20 BuildRequires: autoconf
21 BuildRequires: gettext-devel
22 %if %{?BOOT:1}%{!?BOOT:0}
23 BuildRequires: glibc-static
27 The e2fsprogs package contains a number of utilities for creating,
28 checking, modifying and correcting any inconsistencies in second
29 extended (ext2) filesystems. E2fsprogs contains e2fsck (used to repair
30 filesystem inconsistencies after an unclean shutdown), mke2fs (used to
31 initialize a partition to contain an empty ext2 filesystem), debugfs
32 (used to examine the internal structure of a filesystem, to manually
33 repair a corrupted filesystem or to create test cases for e2fsck),
34 tune2fs (used to modify filesystem parameters) and most of the other
35 core ext2fs filesystem utilities.
38 Dieses Paket enthält eine Auswahl an Utilities zum Erstellen, Prüfen
39 und zur Instandsetzung von ext2-Dateisystemen.
42 Ce package contient de nombreux utilitaires pour créer, vérifier, et
43 réparer les systèmes de fichiers ext2.
46 Pakiet ten zawiera narzêdzia do tworzenia, sprawdzania i naprawiania
47 wolumenów dyskowych z systemem plikowym ext2. E2fsprogs zawiera e2fsck
48 (u¿ywany do naprawiania niespójno¶ci w systemie plikowym po
49 nipoprawnym zamkniêciu ststemu), mke2fs (u¿ywany do inicjacji
50 wolumenów ext2), debugfs (¿ywany do sprawdzania wewnêtrznej struktóry
51 wolumenów ext2, a tak¿e do recznego naprawiania b³êdów), tune2fs
52 (u¿ywany do modyfikacji parametrów eolumenów ext2) i kilka innych
56 Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve
57 bazý parametrelerini deðiþtirmek için gerekli yazýlýmlarý içerir.
60 Summary: e2fs header files
61 Summary(de): Header-Dateien für eine e2fs
62 Summary(pl): Pliki nag³ówkowe do bibliotek e2fs
63 Group: Development/Libraries
64 Group(de): Entwicklung/Libraries
65 Group(fr): Development/Librairies
66 Group(pl): Programowanie/Biblioteki
67 Requires: %{name} = %{version}
70 E2fsprogs-devel contand header files and documentation needed to
71 develop second extended (ext2) filesystem-specific programs.
73 %description -l de devel
74 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
75 Programmen erforderlich sind.
77 %description -l pl devel
78 Pliki nag³ówkowe i dokumentacja niezbêdne do tworzenia programów
82 Summary: e2fs static libraries
83 Summary(de): e2fs statische Libraries
84 Summary(pl): Biblioteki statyczne do obs³ugi e2fs
85 Group: Development/Libraries
86 Group(de): Entwicklung/Libraries
87 Group(fr): Development/Librairies
88 Group(pl): Programowanie/Biblioteki
89 Requires: %{name}-devel = %{version}
92 Static libraries files needed to develop ext2 filesystem-specific
93 programs statically linked with e2progs libs.
95 %description -l de static
96 Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen
99 %description -l pl static
100 Biblioteki statyczne do ob³ugi e2fs niezêbdne do kompilacji programów
101 statycznie skonsolidowanych (likowanych) z bibliotekami do e2fs.
104 Summary: e2fs for bootdisk
105 Group: Applications/System
106 Group(de): Applikationen/System
107 Group(pl): Aplikacje/System
110 E2fsprogs-devel contand header files and documentation needed to
111 develop second extended (ext2) filesystem-specific programs. Thios
112 package is for bootdisk.
117 gunzip < %{SOURCE1} > doc/e2compr.texinfo
120 chmod u+w configure aclocal.m4
121 gettextize --copy --force
125 %if %{?BOOT:1}%{!?BOOT:0}
128 --with-root-prefix=/ \
130 --enable-compression \
131 --enable-all-static \
133 --enable-static-e2fsck \
135 # some problems compiling with uClibc
136 #%{__make} libs progs \
137 # ALL_LDFLAGS="-nostdlib -s" \
138 # CFLAGS="-I%{_libdir}/bootdisk%{_includedir}" \
139 # LDLIBS="%{_libdir}/bootdisk%{_libdir}/crt0.o %{_libdir}/bootdisk%{_libdir}/libc.a -lgcc"
142 #%{__make} progs ALL_LDFLAGS="-nostdlib -s" LDLIBS="%{_libdir}/libc.a"
143 %{__make} progs ALL_LDFLAGS="-static -s" \
150 mv e2fsck/e2fsck e2fsck-BOOT
151 for i in badblocks mke2fs; do
159 --with-root-prefix=/ \
161 --enable-elf-shlibs \
162 --enable-compression \
163 %{?_without_static:--enable-dynamic-e2fsck} \
166 %{__make} libs progs docs
168 makeinfo --no-split e2compr.texinfo
172 rm -rf $RPM_BUILD_ROOT
173 export PATH=/sbin:$PATH
175 %if %{?BOOT:1}%{!?BOOT:0}
176 install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin
178 install -s $i $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin/`basename $i -BOOT`
182 %{__make} install DESTDIR=$RPM_BUILD_ROOT
183 %{__make} install-libs DESTDIR=$RPM_BUILD_ROOT
184 %{__make} -C po install DESTDIR=$RPM_BUILD_ROOT
186 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
187 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3
188 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
190 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
196 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
200 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
203 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
206 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
209 rm -rf $RPM_BUILD_ROOT
211 %files -f %{name}.lang
212 %defattr(644,root,root,755)
213 %attr(755,root,root) /sbin/*
214 %attr(755,root,root) %{_sbindir}/*
215 %attr(755,root,root) %{_bindir}/*
216 %attr(755,root,root) /lib/lib*.so.*
220 %{_infodir}/e2compr.info*
223 %defattr(644,root,root,755)
224 %doc README RELEASE-NOTES
226 %{_infodir}/libext2fs.info*
230 %attr(755,root,root) %{_libdir}/lib*.so
233 %defattr(644,root,root,755)
236 %if %{?BOOT:1}%{!?BOOT:0}
238 %defattr(644,root,root,755)
239 %attr(755,root,root) %{_libdir}/bootdisk/sbin/*