]>
Commit | Line | Data |
---|---|---|
35a2565d | 1 | Summary: e2salvage - a utility which tries to recover a data from damaged ext2 |
4c29dbaf | 2 | Summary(pl.UTF-8): e2salvage - narzędzie próbujące odzyskać dane z uszkodzonego ext2 |
04f1e80e | 3 | Name: e2salvage |
4 | Version: 0.0.8a | |
3ba7e3d3 | 5 | Release: 1 |
04f1e80e | 6 | License: GPL |
35a2565d | 7 | Group: Applications/System |
04f1e80e | 8 | Source0: http://dl.sourceforge.net/e2salvage/%{name}-%{version}.tbz2 |
9 | # Source0-md5: 029608f5f42890aabd1a2c889de859ad | |
5f81cfa4 | 10 | Patch0: %{name}-linux_types.patch |
3ba7e3d3 | 11 | Patch1: %{name}-gcc4.patch |
47f1121d | 12 | Patch2: %{name}-am.patch |
68ff00f2 | 13 | Patch3: %{name}-no-geob.patch |
04f1e80e | 14 | URL: http://e2salvage.sourceforge.net/ |
35a2565d JB |
15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
17 | BuildRequires: libtool | |
04f1e80e | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | e2salvage is a utility which tries to recover a data from damaged ext2 | |
22 | filesystems. Unlike e2fsck, it does not look for the data at | |
23 | particular places and it don't tend to believe the data it finds; thus | |
24 | it can handle much more damaged filesystem. | |
25 | ||
35a2565d | 26 | fsck connects the found i-nodes to lost+found directory; e2salvage |
04f1e80e | 27 | instead tries to recover the directory structure. If all else fails |
28 | the directories are linked to the root. | |
29 | ||
a0e635b9 JR |
30 | %description -l pl.UTF-8 |
31 | e2salvage to narzędzie, które próbuje odzyskać dane z uszkodzonych | |
32 | systemów plików ext2. W przeciwieństwie do e2fsck nie szuka danych w | |
33 | określonych miejscach i nie próbuje zaufać danym, które znajdzie; | |
34 | dzięki temu może obsłużyć dużo bardziej uszkodzone systemy plików. | |
35a2565d | 35 | |
a0e635b9 JR |
36 | fsck dołącza znalezione i-węzły do katalogu lost+found; e2salvage |
37 | zamiast tego próbuje odtworzyć strukturę katalogów. Jeśli wszystko | |
38 | inne zawiedzie, katalogi są podłączane do głównego katalogu. | |
35a2565d | 39 | |
04f1e80e | 40 | %prep |
41 | %setup -q | |
3ba7e3d3 PS |
42 | %patch0 -p0 |
43 | %patch1 -p1 | |
47f1121d | 44 | %patch2 -p1 |
68ff00f2 | 45 | %patch3 -p1 |
04f1e80e | 46 | |
47 | %build | |
48 | %{__libtoolize} | |
49 | %{__aclocal} | |
50 | %{__autoconf} | |
51 | %{__autoheader} | |
52 | %{__automake} | |
53 | %configure | |
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | %files | |
65 | %defattr(644,root,root,755) | |
66 | %doc AUTHORS NEWS README TODO ChangeLog | |
67 | %attr(755,root,root) %{_bindir}/* |