]> git.pld-linux.org Git - packages/e2salvage.git/blame - e2salvage.spec
- unified or fixed %clean section
[packages/e2salvage.git] / e2salvage.spec
CommitLineData
35a2565d 1Summary: e2salvage - a utility which tries to recover a data from damaged ext2
4c29dbaf 2Summary(pl.UTF-8): e2salvage - narzędzie próbujące odzyskać dane z uszkodzonego ext2
04f1e80e 3Name: e2salvage
4Version: 0.0.8a
3ba7e3d3 5Release: 1
04f1e80e 6License: GPL
35a2565d 7Group: Applications/System
04f1e80e 8Source0: http://dl.sourceforge.net/e2salvage/%{name}-%{version}.tbz2
9# Source0-md5: 029608f5f42890aabd1a2c889de859ad
5f81cfa4 10Patch0: %{name}-linux_types.patch
3ba7e3d3 11Patch1: %{name}-gcc4.patch
47f1121d 12Patch2: %{name}-am.patch
68ff00f2 13Patch3: %{name}-no-geob.patch
ce0c749b 14Patch4: %{name}-fs_include.patch
04f1e80e 15URL: http://e2salvage.sourceforge.net/
35a2565d
JB
16BuildRequires: autoconf
17BuildRequires: automake
18BuildRequires: libtool
04f1e80e 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22e2salvage is a utility which tries to recover a data from damaged ext2
23filesystems. Unlike e2fsck, it does not look for the data at
24particular places and it don't tend to believe the data it finds; thus
25it can handle much more damaged filesystem.
26
35a2565d 27fsck connects the found i-nodes to lost+found directory; e2salvage
04f1e80e 28instead tries to recover the directory structure. If all else fails
29the directories are linked to the root.
30
a0e635b9
JR
31%description -l pl.UTF-8
32e2salvage to narzędzie, które próbuje odzyskać dane z uszkodzonych
33systemów plików ext2. W przeciwieństwie do e2fsck nie szuka danych w
34określonych miejscach i nie próbuje zaufać danym, które znajdzie;
35dzięki temu może obsłużyć dużo bardziej uszkodzone systemy plików.
35a2565d 36
a0e635b9
JR
37fsck dołącza znalezione i-węzły do katalogu lost+found; e2salvage
38zamiast tego próbuje odtworzyć strukturę katalogów. Jeśli wszystko
39inne zawiedzie, katalogi są podłączane do głównego katalogu.
35a2565d 40
04f1e80e 41%prep
42%setup -q
3ba7e3d3
PS
43%patch0 -p0
44%patch1 -p1
47f1121d 45%patch2 -p1
68ff00f2 46%patch3 -p1
ce0c749b 47%patch4 -p1
04f1e80e 48
49%build
50%{__libtoolize}
51%{__aclocal}
52%{__autoconf}
53%{__autoheader}
54%{__automake}
55%configure
56%{__make}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64%clean
65rm -rf $RPM_BUILD_ROOT
74e090ca 66
04f1e80e 67%files
68%defattr(644,root,root,755)
69%doc AUTHORS NEWS README TODO ChangeLog
70%attr(755,root,root) %{_bindir}/*
This page took 0.152947 seconds and 4 git commands to generate.