]>
Commit | Line | Data |
---|---|---|
04f1e80e | 1 | Summary: e2salvage is a utility which tries to recover a data from damaged ext2. |
2 | Name: e2salvage | |
3 | Version: 0.0.8a | |
4 | Release: 0.1 | |
5 | License: GPL | |
6 | Group: cos | |
7 | ###### Unknown group! | |
8 | Source0: http://dl.sourceforge.net/e2salvage/%{name}-%{version}.tbz2 | |
9 | # Source0-md5: 029608f5f42890aabd1a2c889de859ad | |
10 | Patch0: %{name}-BLKGETSIZE64.patch | |
11 | URL: http://e2salvage.sourceforge.net/ | |
12 | #BuildRequires: - | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | e2salvage is a utility which tries to recover a data from damaged ext2 | |
17 | filesystems. Unlike e2fsck, it does not look for the data at | |
18 | particular places and it don't tend to believe the data it finds; thus | |
19 | it can handle much more damaged filesystem. | |
20 | ||
21 | fsck connects the found i-nodes to lost+found directory e2salvage | |
22 | instead tries to recover the directory structure. If all else fails | |
23 | the directories are linked to the root. | |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | %patch0 -p1 | |
28 | ||
29 | %build | |
30 | %{__libtoolize} | |
31 | %{__aclocal} | |
32 | %{__autoconf} | |
33 | %{__autoheader} | |
34 | %{__automake} | |
35 | %configure | |
36 | %{__make} | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %{__make} install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc AUTHORS NEWS README TODO ChangeLog | |
49 | %attr(755,root,root) %{_bindir}/* |