Summary: Tools for the second extended (ext2) filesystem Summary(de): Tools für das zweite erweiterte (ext2) Dateisystem Summary(fr): Outils pour le systčme de fichiers ext2 Summary(pl): Narzędzia do systemu plikowego ext2 Summary(tr): ext2 dosya sistemi için araçlar Name: e2fsprogs Version: 1.19 Release: 2 License: GPL Group: Applications/System Group(de): Applikationen/System Group(pl): Aplikacje/System Source0: ftp://download.sourceforge.net/pub/sourceforge/e2fsprogs/%{name}-%{version}.tar.gz Source1: http://opensource.captech.com/e2compr/ftp/e2compr-0.4.texinfo.gz Patch0: %{name}-info.patch Patch1: %{name}-mountlabel.patch Patch2: http://acl.bestbits.at/current/%{name}-1.19ea-0.7.8.patch.gz URL: http://e2fsprogs.sourceforge.net/ PreReq: /sbin/ldconfig BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description The e2fsprogs package contains a number of utilities for creating, checking, modifying and correcting any inconsistencies in second extended (ext2) filesystems. E2fsprogs contains e2fsck (used to repair filesystem inconsistencies after an unclean shutdown), mke2fs (used to initialize a partition to contain an empty ext2 filesystem), debugfs (used to examine the internal structure of a filesystem, to manually repair a corrupted filesystem or to create test cases for e2fsck), tune2fs (used to modify filesystem parameters) and most of the other core ext2fs filesystem utilities. %description -l de Dieses Paket enthält eine Auswahl an Utilities zum Erstellen, Prüfen und zur Instandsetzung von ext2-Dateisystemen. %description -l fr Ce package contient de nombreux utilitaires pour créer, vérifier, et réparer les systčmes de fichiers ext2. %description -l pl Pakiet ten zawiera narzędzia do tworzenia, sprawdzania i naprawiania wolumenów dyskowych z systemem plikowym ext2. E2fsprogs zawiera e2fsck (używany do naprawiania niespójności w systemie plikowym po nipoprawnym zamknięciu ststemu), mke2fs (używany do inicjacji wolumenów ext2), debugfs (żywany do sprawdzania wewnętrznej struktóry wolumenów ext2, a także do recznego naprawiania błędów), tune2fs (używany do modyfikacji parametrów eolumenów ext2) i kilka innych narzędzi do ext2. %description -l tr Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve bazý parametrelerini deđiţtirmek için gerekli yazýlýmlarý içerir. %package devel Summary: e2fs header files Summary(de): Header-Dateien für eine e2fs Summary(pl): Pliki nagłówkowe do bibliotek e2fs Group: Development/Libraries Group(de): Entwicklung/Libraries Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Requires: %{name} = %{version} %description devel E2fsprogs-devel contand header files and documentation needed to develop second extended (ext2) filesystem-specific programs. %description -l de devel Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen Programmen erforderlich sind. %description -l pl devel Pliki nagłówkowe i dokumentacja niezbędne do tworzenia programów obsługukjących e2fs. %package static Summary: e2fs static libraries Summary(de): e2fs statische Libraries Summary(pl): Biblioteki statyczne do obsługi e2fs Group: Development/Libraries Group(de): Entwicklung/Libraries Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Requires: %{name}-devel = %{version} %description static Static libraries files needed to develop ext2 filesystem-specific programs statically linked with e2progs libs. %description -l de static Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen erforderlich sind. %description -l pl static Biblioteki statyczne do obługi e2fs niezębdne do kompilacji programów statycznie skonsolidowanych (likowanych) z bibliotekami do e2fs. %prep %setup -q %patch0 -p1 %patch1 -p1 gunzip < %{SOURCE1} > doc/e2compr.texinfo %build autoconf %configure \ --with-root-prefix=/ \ --enable-nls \ --enable-elf-shlibs \ --enable-compression \ %{?bcond_off_static:--enable-dynamic-e2fsck} \ --enable-fsck %{__make} libs progs docs cd doc makeinfo --no-split e2compr.texinfo cd .. %install rm -rf $RPM_BUILD_ROOT export PATH=/sbin:$PATH %{__make} install DESTDIR=$RPM_BUILD_ROOT %{__make} install-libs DESTDIR=$RPM_BUILD_ROOT ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir} %post /sbin/ldconfig [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %postun /sbin/ldconfig [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %post devel [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %postun devel [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) /sbin/* %attr(755,root,root) %{_sbindir}/* %attr(755,root,root) %{_bindir}/* %attr(755,root,root) /lib/lib*.so.* %{_mandir}/man[18]/* %{_datadir}/et %{_datadir}/ss %{_infodir}/e2compr.info* %files devel %defattr(644,root,root,755) %doc README RELEASE-NOTES %{_infodir}/libext2fs.info* %{_mandir}/man3/* %{_includedir}/* %attr(755,root,root) %{_libdir}/lib*.so %files static %defattr(644,root,root,755) %{_libdir}/lib*.a