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
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 niepoprawnym zamkniêciu systemu), mke2fs (u¿ywany do inicjacji
53 wolumenów ext2), debugfs (¿ywany do sprawdzania wewnêtrznej struktury
54 wolumenów ext2, a tak¿e do rêcznego naprawiania b³êdów), tune2fs
55 (u¿ywany do modyfikacji parametrów wolumenó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 Requires: %{name} = %{version}
70 E2fsprogs-devel contains header files and documentation needed to
71 develop second extended (ext2) filesystem-specific programs.
73 %description devel -l de
74 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
75 Programmen erforderlich sind.
77 %description devel -l pl
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 Requires: %{name}-devel = %{version}
89 Static libraries files needed to develop ext2 filesystem-specific
90 programs statically linked with e2progs libs.
92 %description static -l de
93 Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen
96 %description static -l pl
97 Biblioteki statyczne do ob³ugi e2fs niezbêdne do kompilacji programów
98 statycznie skonsolidowanych (linkowanych) z bibliotekami do e2fs.
103 gunzip < %{SOURCE1} > doc/e2compr.texinfo
104 patch -s -p1 < %{PATCH1}
108 chmod u+w configure aclocal.m4
109 gettextize --copy --force
114 --with-root-prefix=/ \
115 %{!?_without_nls:--enable-nls} \
116 %{?_without_nls:--disable-nls} \
117 %{?_with_allstatic:--disable-elf-shlibs} \
118 %{!?_with_allstatic:--enable-elf-shlibs} \
119 --enable-compression \
120 %{?_without_static:--enable-dynamic-e2fsck} \
123 %{__make} libs progs docs LDFLAGS="%{rpmldflags}"
125 makeinfo --no-split e2compr.texinfo
129 rm -rf $RPM_BUILD_ROOT
130 export PATH=/sbin:$PATH
132 %{__make} install DESTDIR=$RPM_BUILD_ROOT
133 %{__make} install-libs DESTDIR=$RPM_BUILD_ROOT
134 %{__make} -C po install DESTDIR=$RPM_BUILD_ROOT
136 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
137 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3
138 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
140 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
142 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
144 %{!?_without_nls:%find_lang %{name}}
148 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
152 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
155 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
158 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
161 rm -rf $RPM_BUILD_ROOT
163 %files %{!?_without_nls:-f %{name}.lang}
164 %defattr(644,root,root,755)
165 %attr(755,root,root) /sbin/*
166 %attr(755,root,root) %{_sbindir}/*
167 %attr(755,root,root) %{_bindir}/*
168 %{!?_with_allstatic:%attr(755,root,root) /lib/lib*.so.*}
170 %lang(fi) %{_mandir}/fi/man[18]/*
171 %lang(fr) %{_mandir}/fr/man[18]/*
172 %lang(hu) %{_mandir}/hu/man[18]/*
173 %lang(it) %{_mandir}/it/man[18]/*
174 %lang(ja) %{_mandir}/ja/man[18]/*
175 %lang(ko) %{_mandir}/ko/man[18]/*
176 %lang(pl) %{_mandir}/pl/man[18]/*
179 %{_infodir}/e2compr.info*
182 %defattr(644,root,root,755)
183 %doc README RELEASE-NOTES
185 %{_infodir}/libext2fs.info*
187 %lang(ja) %{_mandir}/ja/man3/*
190 %{!?_with_allstatic:%attr(755,root,root) %{_libdir}/lib*.so}
193 %defattr(644,root,root,755)