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