]>
Commit | Line | Data |
---|---|---|
b6210295 | 1 | Summary: e2retrieve is a data recovery tool for Ext2 filesystem |
2 | Name: e2retrieve | |
3 | Version: 20031216 | |
4 | Release: 0.1 | |
5 | License: GPL | |
6 | Group: Applications/System | |
7 | Source0: http://coredump.free.fr/linux/%{name}_%{version}.tar.gz | |
8 | # Source0-md5: 628de3e4c1e0c0f55b74ee5c5bd1cb67 | |
9 | Patch0: %{name}-lvmblkmajor.patch | |
10 | URL: http://coredump.free.fr/linux/e2retrieve.php | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | e2retrieve is a data recovery tool for Ext2 filesystem. This means | |
15 | that e2retrieve will not try to repair the filesystem but will extract | |
16 | data to "copy" it to another place (another disk, NFS, Samba, ...). | |
17 | ||
18 | e2retrieve: | |
19 | ||
20 | - can recover data from a truncated or split ext2 filesystem (in the | |
21 | case of a LVM with a disk that has crashed, for example), | |
22 | - will not write onto the ext2 filesystem it is analysing, therefore | |
23 | it will never increase damages previously caused, | |
24 | - recovers directories, directories tree, files, symbolic links | |
25 | and special files with their access rights, owner and modification | |
26 | date, | |
27 | - is fully written in C from scratch, | |
28 | - does not need any library, | |
29 | - can easily fit in a rescue floppy disk (in the case where you | |
30 | do not have enough IDE slots), | |
31 | - is not an undeleting tool | |
32 | ||
33 | %prep | |
34 | %setup -q -n %{name} | |
35 | %patch0 -p1 | |
36 | ||
37 | %build | |
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | install -D %{name} $RPM_BUILD_ROOT/%{_bindir}/%{name} | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc Changelog README TODO | |
50 | %attr(755,root,root) %{_bindir}/* |