]> git.pld-linux.org Git - packages/e2retrieve.git/blame - e2retrieve.spec
- added -reg_eip.patch (from fedora)
[packages/e2retrieve.git] / e2retrieve.spec
CommitLineData
a7ee9c12 1Summary: e2retrieve - a data recovery tool for ext2 filesystem
5534803a 2Summary(pl.UTF-8): e2retrieve - narzędzie do odzyskiwania danych z systemu plików ext2
b6210295 3Name: e2retrieve
3bd9b761 4Version: 20070415
b6210295 5Release: 0.1
6License: GPL
7Group: Applications/System
3bd9b761 8Source0: http://www.guzu.net/files/%{name}_%{version}.tar.gz
9# Source0-md5: aa1ab6ff535980fc936fe6c3252e0be9
b6210295 10Patch0: %{name}-lvmblkmajor.patch
150279e1 11Patch1: %{name}-reg_eip.patch
3bd9b761 12URL: http://www.guzu.net/linux/e2retrieve.php
4780bd62 13BuildRequires: e2fsprogs-devel
b6210295 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
a7ee9c12 17e2retrieve is a data recovery tool for ext2 filesystem. This means
b6210295 18that e2retrieve will not try to repair the filesystem but will extract
19data to "copy" it to another place (another disk, NFS, Samba, ...).
20
21e2retrieve:
b6210295 22- can recover data from a truncated or split ext2 filesystem (in the
4780bd62 23 case of a LVM with a disk that has crashed, for example),
b6210295 24- will not write onto the ext2 filesystem it is analysing, therefore
25 it will never increase damages previously caused,
a7ee9c12
JB
26- recovers directories, directories tree, files, symbolic links and
27 special files with their access rights, owner and modification date,
b6210295 28- is fully written in C from scratch,
29- does not need any library,
a7ee9c12
JB
30- can easily fit in a rescue floppy disk (in the case where you do not
31 have enough IDE slots),
32- is not an undeleting tool.
33
7d4e2435
JR
34%description -l pl.UTF-8
35e2retrieve to narzędzie do odzyskiwania danych z systemu plików ext2.
36Oznacza to, że e2retrieve nie próbuje naprawić systemu plików, ale
37wyciągnąć dane, żeby skopiować je w inne miejsce (inny dysk, NFS,
a7ee9c12
JB
38Samba...).
39
40e2retrieve:
7d4e2435 41- może odzyskać dane z obciętego lub podzielonego systemu plików ext2
a7ee9c12 42 (np. w przypadku LVM z uszkodzonym dyskiem),
7d4e2435
JR
43- nie zapisuje na system plików ext2, który analizuje, więc nie
44 zwiększy rozmiaru uszkodzeń,
45- odzyskuje katalogi, drzewa katalogów, pliki, dowiązania symboliczne
46 oraz pliki specjalne z ich prawami dostępu, właścicielem i datą
a7ee9c12 47 modyfikacji,
7d4e2435
JR
48- jest napisane całkowicie od początku w C,
49- nie wymaga żadnej biblioteki,
50- może łatwo zmieścić się na dyskietce ratunkowej (w przypadku, kiedy
51 brak odpowiedniej liczby portów IDE),
52- nie jest narzędziem do odkasowywania.
b6210295 53
54%prep
55%setup -q -n %{name}
56%patch0 -p1
150279e1 57%patch1 -p1
b6210295 58
59%build
c77440e2
JB
60%{__make} \
61 CC="%{__cc}" \
62 CFLAGS_DIST="%{rpmcflags} -Wall" \
63 STRIP=true
b6210295 64
65%install
66rm -rf $RPM_BUILD_ROOT
a7ee9c12
JB
67
68install -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
b6210295 69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%files
74%defattr(644,root,root,755)
75%doc Changelog README TODO
76%attr(755,root,root) %{_bindir}/*
This page took 0.080264 seconds and 4 git commands to generate.