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 URL: http://e2fsprogs.sourceforge.net/
19 PreReq: /sbin/ldconfig
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 BuildRequires: automake
22 BuildRequires: autoconf
23 BuildRequires: gettext-devel
24 %if %{?BOOT:1}%{!?BOOT:0}
25 BuildRequires: glibc-static
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 nipoprawnym zamkniêciu ststemu), mke2fs (u¿ywany do inicjacji
52 wolumenów ext2), debugfs (¿ywany do sprawdzania wewnêtrznej struktóry
53 wolumenów ext2, a tak¿e do recznego naprawiania b³êdów), tune2fs
54 (u¿ywany do modyfikacji parametrów eolumenó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 Group(de): Entwicklung/Libraries
67 Group(fr): Development/Librairies
68 Group(pl): Programowanie/Biblioteki
69 Requires: %{name} = %{version}
72 E2fsprogs-devel contand header files and documentation needed to
73 develop second extended (ext2) filesystem-specific programs.
75 %description -l de devel
76 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
77 Programmen erforderlich sind.
79 %description -l pl devel
80 Pliki nag³ówkowe i dokumentacja niezbêdne do tworzenia programów
84 Summary: e2fs static libraries
85 Summary(de): e2fs statische Libraries
86 Summary(pl): Biblioteki statyczne do obs³ugi e2fs
87 Group: Development/Libraries
88 Group(de): Entwicklung/Libraries
89 Group(fr): Development/Librairies
90 Group(pl): Programowanie/Biblioteki
91 Requires: %{name}-devel = %{version}
94 Static libraries files needed to develop ext2 filesystem-specific
95 programs statically linked with e2progs libs.
97 %description -l de static
98 Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen
101 %description -l pl static
102 Biblioteki statyczne do ob³ugi e2fs niezêbdne do kompilacji programów
103 statycznie skonsolidowanych (likowanych) z bibliotekami do e2fs.
106 Summary: e2fs for bootdisk
107 Group: Applications/System
108 Group(de): Applikationen/System
109 Group(pl): Aplikacje/System
112 E2fsprogs-devel contand header files and documentation needed to
113 develop second extended (ext2) filesystem-specific programs. Thios
114 package is for bootdisk.
120 gunzip < %{SOURCE1} > doc/e2compr.texinfo
121 patch -s -p1 < %{PATCH2}
124 chmod u+w configure aclocal.m4
125 gettextize --copy --force
129 %if %{?BOOT:1}%{!?BOOT:0}
132 --with-root-prefix=/ \
134 --enable-compression \
135 --enable-all-static \
137 --enable-static-e2fsck \
139 # some problems compiling with uClibc
140 #%{__make} libs progs \
141 # ALL_LDFLAGS="-nostdlib -s" \
142 # CFLAGS="-I%{_libdir}/bootdisk%{_includedir}" \
143 # LDLIBS="%{_libdir}/bootdisk%{_libdir}/crt0.o %{_libdir}/bootdisk%{_libdir}/libc.a -lgcc"
146 #%{__make} progs ALL_LDFLAGS="-nostdlib -s" LDLIBS="%{_libdir}/libc.a"
147 %{__make} progs ALL_LDFLAGS="-static -s" \
154 mv e2fsck/e2fsck e2fsck-BOOT
155 for i in badblocks mke2fs; do
163 --with-root-prefix=/ \
165 --enable-elf-shlibs \
166 --enable-compression \
167 %{?_without_static:--enable-dynamic-e2fsck} \
170 %{__make} libs progs docs
172 makeinfo --no-split e2compr.texinfo
176 rm -rf $RPM_BUILD_ROOT
177 export PATH=/sbin:$PATH
179 %if %{?BOOT:1}%{!?BOOT:0}
180 install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin
182 install -s $i $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin/`basename $i -BOOT`
186 %{__make} install DESTDIR=$RPM_BUILD_ROOT
187 %{__make} install-libs DESTDIR=$RPM_BUILD_ROOT
188 %{__make} -C po install DESTDIR=$RPM_BUILD_ROOT
190 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
191 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3
192 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
194 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
200 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
204 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
207 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
210 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
213 rm -rf $RPM_BUILD_ROOT
215 %files -f %{name}.lang
216 %defattr(644,root,root,755)
217 %attr(755,root,root) /sbin/*
218 %attr(755,root,root) %{_sbindir}/*
219 %attr(755,root,root) %{_bindir}/*
220 %attr(755,root,root) /lib/lib*.so.*
224 %{_infodir}/e2compr.info*
227 %defattr(644,root,root,755)
228 %doc README RELEASE-NOTES
230 %{_infodir}/libext2fs.info*
234 %attr(755,root,root) %{_libdir}/lib*.so
237 %defattr(644,root,root,755)
240 %if %{?BOOT:1}%{!?BOOT:0}
242 %defattr(644,root,root,755)
243 %attr(755,root,root) %{_libdir}/bootdisk/sbin/*