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