Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37542705
en ru br
ALT Linux repos
S:0.0.16-alt2.qa1
5.0: 0.0.16-alt1
4.1: 0.0.16-alt1

Other repositories
Upstream:0.0.16

Group :: File tools
RPM: e2tools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: e2tools
Version: 0.0.16
Release: alt2.qa1

Summary: Manipulate files in unmounted ext2/ext3 filesystems
License: GPL+
Group: File tools
Url: http://home.earthlink.net/~k_sheff/sw/e2tools/
Packager: Kirill A. Shutemov <kas at altlinux.org>
# http://home.earthlink.net/~k_sheff/sw/e2tools/%name-%version.tar.gz
Source0: %name-%version.tar
Source1: e2tools-test.sh
# Thank you very much for the man pages from Debian package.
Source2: e2cp.1
Source3: e2ln.1
Source4: e2ls.1
Source5: e2mkdir.1
Source6: e2mv.1
Source7: e2rm.1
Source8: e2tail.1
Source9: e2tools.7
Patch1: e2tools-fedora-fixes.patch
Patch2: e2tools-printf-lld-64bit.patch

BuildRequires: e2fsprogs libcom_err-devel libe2fs-devel

%description
A simple set of utilities to read, write, and manipulate files in an
ext2/ext3 filesystem directly using the ext2fs library. This works

 - without root access
 - without the filesystem being mounted
 - without kernel ext2/ext3 support

The utilities are: e2cp e2ln e2ls e2mkdir e2mv e2rm e2tail

%prep
%setup
%patch1 -p1
%patch2 -p1

%build
%configure
%make_build

%install
%makeinstall_std
mkdir -p %buildroot%_man1dir %buildroot%_man7dir
install -pm644 \
   %SOURCE2 \
   %SOURCE3 \
   %SOURCE4 \
   %SOURCE5 \
   %SOURCE6 \
   %SOURCE7 \
   %SOURCE8 \
   %buildroot%_man1dir/
install -pm644 %SOURCE9 %buildroot%_man7dir/

%check
for e in e2ln e2ls e2mkdir e2mv e2rm e2tail; do
ln -s e2cp $e
done
sh %SOURCE1

%files
%doc README COPYING ChangeLog TODO AUTHORS
%_bindir/*
%_mandir/man?/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin