]> git.pld-linux.org Git - packages/e2retrieve.git/blob - e2retrieve.spec
- BR: e2fsprogs-devel
[packages/e2retrieve.git] / e2retrieve.spec
1 Summary:        e2retrieve - a data recovery tool for ext2 filesystem
2 Summary(pl.UTF-8):      e2retrieve - narzędzie do odzyskiwania danych z systemu plików ext2
3 Name:           e2retrieve
4 Version:        20070415
5 Release:        0.1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://www.guzu.net/files/%{name}_%{version}.tar.gz
9 # Source0-md5:  aa1ab6ff535980fc936fe6c3252e0be9
10 Patch0:         %{name}-lvmblkmajor.patch
11 URL:            http://www.guzu.net/linux/e2retrieve.php
12 BuildRequires:  e2fsprogs-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 e2retrieve is a data recovery tool for ext2 filesystem. This means
17 that e2retrieve will not try to repair the filesystem but will extract
18 data to "copy" it to another place (another disk, NFS, Samba, ...).
19
20 e2retrieve:
21 - can recover data from a truncated or split ext2 filesystem (in the
22   case of a LVM with a disk that has crashed, for example),
23 - will not write onto the ext2 filesystem it is analysing, therefore
24   it will never increase damages previously caused,
25 - recovers directories, directories tree, files, symbolic links and
26   special files with their access rights, owner and modification date,
27 - is fully written in C from scratch,
28 - does not need any library,
29 - can easily fit in a rescue floppy disk (in the case where you do not
30   have enough IDE slots),
31 - is not an undeleting tool.
32
33 %description -l pl.UTF-8
34 e2retrieve to narzędzie do odzyskiwania danych z systemu plików ext2.
35 Oznacza to, że e2retrieve nie próbuje naprawić systemu plików, ale
36 wyciągnąć dane, żeby skopiować je w inne miejsce (inny dysk, NFS,
37 Samba...).
38
39 e2retrieve:
40 - może odzyskać dane z obciętego lub podzielonego systemu plików ext2
41   (np. w przypadku LVM z uszkodzonym dyskiem),
42 - nie zapisuje na system plików ext2, który analizuje, więc nie
43   zwiększy rozmiaru uszkodzeń,
44 - odzyskuje katalogi, drzewa katalogów, pliki, dowiązania symboliczne
45   oraz pliki specjalne z ich prawami dostępu, właścicielem i datą
46   modyfikacji,
47 - jest napisane całkowicie od początku w C,
48 - nie wymaga żadnej biblioteki,
49 - może łatwo zmieścić się na dyskietce ratunkowej (w przypadku, kiedy
50   brak odpowiedniej liczby portów IDE),
51 - nie jest narzędziem do odkasowywania.
52
53 %prep
54 %setup -q -n %{name}
55 %patch0 -p1
56
57 %build
58 %{__make} \
59         CC="%{__cc}" \
60         CFLAGS_DIST="%{rpmcflags} -Wall" \
61         STRIP=true
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 install -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc Changelog README TODO
74 %attr(755,root,root) %{_bindir}/*
This page took 0.059678 seconds and 3 git commands to generate.