]>
Commit | Line | Data |
---|---|---|
da6f8ade | 1 | Summary: Simple program for undeleting files from ext3 partition |
548d1666 | 2 | Summary(pl.UTF-8): Prosty program do odzyskiwania usuniętych plików na partycjach ext3 |
da6f8ade | 3 | Name: ext3rminator |
4 | %define _pre pre2 | |
5 | Version: 0.3.0 | |
6 | Release: 0.%{_pre}.1 | |
7 | License: GPL v2 | |
8 | Group: Applications/System | |
9 | Source0: http://web.glandium.org/debian/repository/experimental/%{name}_0.2.99+%{version}%{_pre}.orig.tar.gz | |
10 | # Source0-md5: 450ce0405a2be760a1e9ced200c05c72 | |
d5566628 | 11 | Patch0: %{name}-linking.patch |
024e1ece | 12 | URL: http://web.glandium.org/debian/repository/experimental/ |
30a4d054 JB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
da6f8ade | 15 | BuildRequires: e2fsprogs-devel |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
024e1ece JB |
19 | Ext3rminator is a last chance program when you just unthoughtfully |
20 | deleted several megabytes of data on an ext3 (or ext2) partition. It | |
21 | goes through all free blocks in the filesystem to look for what can | |
22 | look like data. | |
23 | ||
24 | It is only able to recover files where the 48 first KB (actually, 12 | |
25 | blocks, a block usually being 4096 bytes) are contiguous. | |
26 | ||
71af374f JR |
27 | %description -l pl.UTF-8 |
28 | ext3rminator to program ostatniej szansy w przypadku bezmyślnego | |
29 | usunięcia wielu megabajtów danych z partycji ext3 (lub ext2). | |
30 | Przeszukuje wszystkie wolne bloki w systemie plików w poszukiwaniu | |
31 | czegoś, co wygląda jak dane. | |
024e1ece | 32 | |
71af374f JR |
33 | Jest w stanie odzyskać pliki tylko jeśli pierwsze 48 kB (właściwie 12 |
34 | bloków przy rozmiarze bloku równym zwykle 4096 bajtów) jest ciągłe. | |
da6f8ade | 35 | |
36 | %prep | |
37 | %setup -q -n %{name}-%{version}%{_pre} | |
d5566628 | 38 | %patch0 -p1 |
da6f8ade | 39 | |
40 | %build | |
d5566628 | 41 | %{__aclocal} |
42 | %{__autoconf} | |
43 | %{__automake} | |
da6f8ade | 44 | CFLAGS="-I%{_includedir}/et %{rpmcflags}" |
45 | export CFLAGS | |
46 | %configure | |
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
60 | %doc AUTHORS ChangeLog TODO | |
61 | %attr(755,root,root) %{_bindir}/%{name} | |
62 | %{_mandir}/man1/%{name}.1* |