]>
Commit | Line | Data |
---|---|---|
1e90b0e2 | 1 | Summary: A forensic tool for recovering files from FAT file systems |
9c814325 | 2 | Summary(pl.UTF-8): Narzędzie do odzyskiwania plików z partycji FAT |
1e90b0e2 | 3 | Name: fatback |
4 | Version: 1.3 | |
5 | Release: 1 | |
e0241d7c | 6 | License: GPL v2+ |
1e90b0e2 | 7 | Group: Applications |
8 | Source0: http://dl.sourceforge.net/fatback/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 4f1beb13670a7eff5b66cff84e5fd42a | |
db97cec6 | 10 | URL: http://fatback.sourceforge.net/ |
1e90b0e2 | 11 | BuildRequires: autoconf |
12 | BuildRequires: flex | |
13 | # Trash BR for configure | |
14 | BuildRequires: libstdc++-devel | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Fatback is a tool for undeleting files from FAT file systems. | |
19 | ||
9c814325 JR |
20 | %description -l pl.UTF-8 |
21 | Fatback jest narzędziem do odzyskiwania usuniętych plików z systemów | |
22 | plików FAT. | |
1e90b0e2 | 23 | |
24 | %prep | |
25 | %setup -q | |
26 | ||
27 | %build | |
28 | %{__autoconf} | |
29 | %configure | |
30 | %{__make} | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %{__make} install \ | |
36 | DESTDIR=$RPM_BUILD_ROOT \ | |
37 | bindir=%{_sbindir} | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
e0241d7c JB |
42 | %post |
43 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
44 | ||
45 | %postun | |
46 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
47 | ||
1e90b0e2 | 48 | %files |
49 | %defattr(644,root,root,755) | |
50 | %doc AUTHORS ChangeLog NEWS README | |
51 | %attr(755,root,root) %{_sbindir}/* | |
52 | %{_mandir}/man?/* | |
53 | %{_infodir}/*.info* |