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 Patch1: %{name}-ac250.patch
17 Patch2: e2compr-info.patch
18 Patch3: %{name}-mountlabel3.patch
19 URL: http://e2fsprogs.sourceforge.net/
20 PreReq: /sbin/ldconfig
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 BuildRequires: automake
23 BuildRequires: autoconf
24 BuildRequires: gettext-devel
25 %if %{?BOOT:1}%{!?BOOT:0}
26 BuildRequires: glibc-static
30 The e2fsprogs package contains a number of utilities for creating,
31 checking, modifying and correcting any inconsistencies in second
32 extended (ext2) filesystems. E2fsprogs contains e2fsck (used to repair
33 filesystem inconsistencies after an unclean shutdown), mke2fs (used to
34 initialize a partition to contain an empty ext2 filesystem), debugfs
35 (used to examine the internal structure of a filesystem, to manually
36 repair a corrupted filesystem or to create test cases for e2fsck),
37 tune2fs (used to modify filesystem parameters) and most of the other
38 core ext2fs filesystem utilities.
41 Dieses Paket enthält eine Auswahl an Utilities zum Erstellen, Prüfen
42 und zur Instandsetzung von ext2-Dateisystemen.
45 Ce package contient de nombreux utilitaires pour créer, vérifier, et
46 réparer les systèmes de fichiers ext2.
49 Pakiet ten zawiera narzêdzia do tworzenia, sprawdzania i naprawiania
50 wolumenów dyskowych z systemem plikowym ext2. E2fsprogs zawiera e2fsck
51 (u¿ywany do naprawiania niespójno¶ci w systemie plikowym po
52 nipoprawnym zamkniêciu ststemu), mke2fs (u¿ywany do inicjacji
53 wolumenów ext2), debugfs (¿ywany do sprawdzania wewnêtrznej struktóry
54 wolumenów ext2, a tak¿e do recznego naprawiania b³êdów), tune2fs
55 (u¿ywany do modyfikacji parametrów eolumenów ext2) i kilka innych
59 Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve
60 bazý parametrelerini deðiþtirmek için gerekli yazýlýmlarý içerir.
63 Summary: e2fs header files
64 Summary(de): Header-Dateien für eine e2fs
65 Summary(pl): Pliki nag³ówkowe do bibliotek e2fs
66 Group: Development/Libraries
67 Group(de): Entwicklung/Libraries
68 Group(fr): Development/Librairies
69 Group(pl): Programowanie/Biblioteki
70 Requires: %{name} = %{version}
73 E2fsprogs-devel contand header files and documentation needed to
74 develop second extended (ext2) filesystem-specific programs.
76 %description -l de devel
77 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
78 Programmen erforderlich sind.
80 %description -l pl devel
81 Pliki nag³ówkowe i dokumentacja niezbêdne do tworzenia programów
85 Summary: e2fs static libraries
86 Summary(de): e2fs statische Libraries
87 Summary(pl): Biblioteki statyczne do obs³ugi e2fs
88 Group: Development/Libraries
89 Group(de): Entwicklung/Libraries
90 Group(fr): Development/Librairies
91 Group(pl): Programowanie/Biblioteki
92 Requires: %{name}-devel = %{version}
95 Static libraries files needed to develop ext2 filesystem-specific
96 programs statically linked with e2progs libs.
98 %description -l de static
99 Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen
102 %description -l pl static
103 Biblioteki statyczne do ob³ugi e2fs niezêbdne do kompilacji programów
104 statycznie skonsolidowanych (likowanych) z bibliotekami do e2fs.
107 Summary: e2fs for bootdisk
108 Group: Applications/System
109 Group(de): Applikationen/System
110 Group(pl): Aplikacje/System
113 E2fsprogs-devel contand header files and documentation needed to
114 develop second extended (ext2) filesystem-specific programs. Thios
115 package is for bootdisk.
121 gunzip < %{SOURCE1} > doc/e2compr.texinfo
122 patch -s -p1 < %{PATCH2}
126 chmod u+w configure aclocal.m4
127 gettextize --copy --force
131 %if %{?BOOT:1}%{!?BOOT:0}
134 --with-root-prefix=/ \
136 --enable-compression \
137 --enable-all-static \
139 --enable-static-e2fsck \
141 # some problems compiling with uClibc
142 #%{__make} libs progs \
143 # ALL_LDFLAGS="-nostdlib -s" \
144 # CFLAGS="-I%{_libdir}/bootdisk%{_includedir}" \
145 # LDLIBS="%{_libdir}/bootdisk%{_libdir}/crt0.o %{_libdir}/bootdisk%{_libdir}/libc.a -lgcc"
148 #%{__make} progs ALL_LDFLAGS="-nostdlib -s" LDLIBS="%{_libdir}/libc.a"
149 %{__make} progs ALL_LDFLAGS="-static -s" \
156 mv e2fsck/e2fsck e2fsck-BOOT
157 for i in badblocks mke2fs; do
165 --with-root-prefix=/ \
167 --enable-elf-shlibs \
168 --enable-compression \
169 %{?_without_static:--enable-dynamic-e2fsck} \
172 %{__make} libs progs docs
174 makeinfo --no-split e2compr.texinfo
178 rm -rf $RPM_BUILD_ROOT
179 export PATH=/sbin:$PATH
181 %if %{?BOOT:1}%{!?BOOT:0}
182 install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin
184 install $i $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin/`basename $i -BOOT`
188 %{__make} install DESTDIR=$RPM_BUILD_ROOT
189 %{__make} install-libs DESTDIR=$RPM_BUILD_ROOT
190 %{__make} -C po install DESTDIR=$RPM_BUILD_ROOT
192 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
193 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3
194 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
196 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
202 [ ! -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 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
212 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
215 rm -rf $RPM_BUILD_ROOT
217 %files -f %{name}.lang
218 %defattr(644,root,root,755)
219 %attr(755,root,root) /sbin/*
220 %attr(755,root,root) %{_sbindir}/*
221 %attr(755,root,root) %{_bindir}/*
222 %attr(755,root,root) /lib/lib*.so.*
226 %{_infodir}/e2compr.info*
229 %defattr(644,root,root,755)
230 %doc README RELEASE-NOTES
232 %{_infodir}/libext2fs.info*
236 %attr(755,root,root) %{_libdir}/lib*.so
239 %defattr(644,root,root,755)
242 %if %{?BOOT:1}%{!?BOOT:0}
244 %defattr(644,root,root,755)
245 %attr(755,root,root) %{_libdir}/bootdisk/sbin/*