]> git.pld-linux.org Git - packages/e2salvage.git/blob - e2salvage.spec
- added am patch
[packages/e2salvage.git] / e2salvage.spec
1 Summary:        e2salvage - a utility which tries to recover a data from damaged ext2
2 Summary(pl):    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 URL:            http://e2salvage.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 e2salvage is a utility which tries to recover a data from damaged ext2
21 filesystems. Unlike e2fsck, it does not look for the data at
22 particular places and it don't tend to believe the data it finds; thus
23 it can handle much more damaged filesystem.
24
25 fsck connects the found i-nodes to lost+found directory; e2salvage
26 instead tries to recover the directory structure. If all else fails
27 the directories are linked to the root.
28
29 %description -l pl
30 e2salvage to narzêdzie, które próbuje odzyskaæ dane z uszkodzonych
31 systemów plików ext2. W przeciwieñstwie do e2fsck nie szuka danych w
32 okre¶lonych miejscach i nie próbuje zaufaæ danym, które znajdzie;
33 dziêki temu mo¿e obs³u¿yæ du¿o bardziej uszkodzone systemy plików.
34
35 fsck do³±cza znalezione i-wêz³y do katalogu lost+found; e2salvage
36 zamiast tego próbuje odtworzyæ strukturê katalogów. Je¶li wszystko
37 inne zawiedzie, katalogi s± pod³±czane do g³ównego katalogu.
38
39 %prep
40 %setup -q
41 %patch0 -p0
42 %patch1 -p1
43 %patch2 -p1
44
45 %build
46 %{__libtoolize}
47 %{__aclocal}
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62 %files
63 %defattr(644,root,root,755)
64 %doc AUTHORS NEWS README TODO ChangeLog
65 %attr(755,root,root) %{_bindir}/*
This page took 0.064201 seconds and 4 git commands to generate.