]>
Commit | Line | Data |
---|---|---|
690d1dea | 1 | Summary: Recover deleted files from an ext3 or ext4 partition |
8a14e18c | 2 | Summary(pl.UTF-8): Odtwarzanie usuniętych plików z partycji ext3 lub ext4 |
690d1dea | 3 | Name: extundelete |
4ca937f5 MB |
4 | Version: 0.2.4 |
5 | Release: 1 | |
690d1dea TP |
6 | License: GPL v2 |
7 | Group: Applications/System | |
4ca937f5 MB |
8 | Source0: http://download.sourceforge.net/extundelete/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 77e626ad31433680c0a222069295d2ca | |
f50bab4c TP |
10 | Patch0: %{name}-attrs.patch |
11 | Patch1: %{name}-dirs.patch | |
e2d0bdd0 | 12 | Patch2: e2fsprogs.patch |
8a14e18c | 13 | URL: http://extundelete.sourceforge.net/ |
690d1dea | 14 | BuildRequires: e2fsprogs-devel |
8a14e18c | 15 | BuildRequires: libcom_err-devel |
690d1dea TP |
16 | BuildRequires: libstdc++-devel |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | extundelete is a utility that can recover deleted files from an ext3 | |
21 | or ext4 partition. The ext3 file system is the most common file system | |
22 | when using Linux, and ext4 is its successor. extundelete uses the | |
23 | information stored in the partition's journal to attempt to recover a | |
24 | file that has been deleted from the partition. There is no guarantee | |
25 | that any particular file will be able to be undeleted, so always try | |
26 | to have a good backup system in place, or at least put one in place | |
27 | after recovering your files! | |
28 | ||
8a14e18c JB |
29 | %description |
30 | extundelete to narzędzie które potrafi odzyskać usunięte pliki z | |
31 | partycji ext3 lub ext4. System plików ext3 jest najczęściej używanym | |
32 | systemem plików pod Linuksem, a ext4 to jego następca. extundelete | |
33 | wykorzystuje informacje zapisane w kronice partycji, aby spróbować | |
34 | odtworzyć plik, który został wcześniej z partycji usunięty. Nie ma | |
35 | gwarancji, że jakikolwiek plik da się odzyskać, więc nie należy | |
36 | zapominać o kopiach zapasowych! | |
37 | ||
690d1dea TP |
38 | %prep |
39 | %setup -q | |
f50bab4c TP |
40 | %patch0 -p1 |
41 | %patch1 -p1 | |
e2d0bdd0 | 42 | %patch2 -p1 |
690d1dea TP |
43 | |
44 | %build | |
45 | %configure | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %doc README | |
60 | %attr(755,root,root) %{_bindir}/%{name} |