]> git.pld-linux.org Git - packages/fatback.git/blob - fatback.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/fatback.git] / fatback.spec
1 Summary:        A forensic tool for recovering files from FAT file systems
2 Summary(pl.UTF-8):      Narzędzie do odzyskiwania plików z partycji FAT
3 Name:           fatback
4 Version:        1.3
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications
8 Source0:        http://dl.sourceforge.net/fatback/%{name}-%{version}.tar.gz
9 # Source0-md5:  4f1beb13670a7eff5b66cff84e5fd42a
10 URL:            http://fatback.sourceforge.net/
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
20 %description -l pl.UTF-8
21 Fatback jest narzędziem do odzyskiwania usuniętych plików z systemów
22 plików FAT.
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
42 %post   -p      /sbin/postshell
43 -/usr/sbin/fix-info-dir -c %{_infodir}
44
45 %postun -p      /sbin/postshell
46 -/usr/sbin/fix-info-dir -c %{_infodir}
47
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*
This page took 0.068912 seconds and 4 git commands to generate.