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.
106 %if %{?BOOT:1}%{!?BOOT:0}
108 Summary: e2fs for bootdisk
109 Group: Applications/System
110 Group(de): Applikationen/System
111 Group(pl): Aplikacje/System
114 E2fsprogs-devel contand header files and documentation needed to
115 develop second extended (ext2) filesystem-specific programs. This
116 package is for bootdisk.
123 gunzip < %{SOURCE1} > doc/e2compr.texinfo
124 patch -s -p1 < %{PATCH2}
128 chmod u+w configure aclocal.m4
129 gettextize --copy --force
133 %if %{?BOOT:1}%{!?BOOT:0}
136 --with-root-prefix=/ \
138 --enable-compression \
139 --enable-all-static \
141 --enable-static-e2fsck \
143 # some problems compiling with uClibc
144 #%{__make} libs progs \
145 # ALL_LDFLAGS="-nostdlib -s" \
146 # CFLAGS="-I%{_libdir}/bootdisk%{_includedir}" \
147 # LDLIBS="%{_libdir}/bootdisk%{_libdir}/crt0.o %{_libdir}/bootdisk%{_libdir}/libc.a -lgcc"
150 #%{__make} progs ALL_LDFLAGS="-nostdlib -s" LDLIBS="%{_libdir}/libc.a"
151 %{__make} progs ALL_LDFLAGS="-static -s" \
158 mv e2fsck/e2fsck e2fsck-BOOT
159 for i in badblocks mke2fs; do
167 --with-root-prefix=/ \
169 --enable-elf-shlibs \
170 --enable-compression \
171 %{?_without_static:--enable-dynamic-e2fsck} \
174 %{__make} libs progs docs
176 makeinfo --no-split e2compr.texinfo
180 rm -rf $RPM_BUILD_ROOT
181 export PATH=/sbin:$PATH
183 %if %{?BOOT:1}%{!?BOOT:0}
184 install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin
186 install $i $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin/`basename $i -BOOT`
190 %{__make} install DESTDIR=$RPM_BUILD_ROOT
191 %{__make} install-libs DESTDIR=$RPM_BUILD_ROOT
192 %{__make} -C po install DESTDIR=$RPM_BUILD_ROOT
194 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
195 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3
196 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
198 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
204 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
208 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
211 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
214 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
217 rm -rf $RPM_BUILD_ROOT
219 %files -f %{name}.lang
220 %defattr(644,root,root,755)
221 %attr(755,root,root) /sbin/*
222 %attr(755,root,root) %{_sbindir}/*
223 %attr(755,root,root) %{_bindir}/*
224 %attr(755,root,root) /lib/lib*.so.*
228 %{_infodir}/e2compr.info*
231 %defattr(644,root,root,755)
232 %doc README RELEASE-NOTES
234 %{_infodir}/libext2fs.info*
238 %attr(755,root,root) %{_libdir}/lib*.so
241 %defattr(644,root,root,755)
244 %if %{?BOOT:1}%{!?BOOT:0}
246 %defattr(644,root,root,755)
247 %attr(755,root,root) %{_libdir}/bootdisk/sbin/*