]> git.pld-linux.org Git - SPECS.git/blob - lziprecover.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / lziprecover.spec
1 Summary:        Data recovery tool and decompressor for lzip files
2 Summary(pl.UTF-8):      Narzędzie do odzyskiwania danych i dekompresor dla plików lzip
3 Name:           lziprecover
4 Version:        1.22
5 Release:        2
6 License:        GPL v3+
7 Group:          Applications/Archiving
8 Source0:        http://download.savannah.gnu.org/releases/lzip/lziprecover/%{name}-%{version}.tar.lz
9 # Source0-md5:  4dbef3b4d1617e3fa29e6bf1bdb094f6
10 Patch0:         %{name}-info.patch
11 URL:            http://savannah.nongnu.org/projects/lzip/
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  lzip
14 BuildRequires:  tar >= 1:1.22
15 BuildRequires:  texinfo
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Lziprecover is a data recovery tool and decompressor for files in the
20 lzip compressed data format (.lz), able to repair slightly damaged
21 files, recover badly damaged files from two or more copies, extract
22 data from damaged files, decompress files and test integrity of files.
23
24 %description -l pl.UTF-8
25 Lziprecover to narzędzie do odzyskiwania danych i dekompresor dla
26 plików w formacie skompresowanym lzip (.lz), potrafiący naprawić
27 nieznacznie uszkodzone pliki, odtworzyć bardziej uszkodzone pliki z
28 dwóch lub większej liczby kopii, wydobyć dane z uszkodzonych plików,
29 dekompresować pliki oraz testować integralność plików.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 %configure
37 %{__make} all info
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post   -p /sbin/postshell
49 -/usr/sbin/fix-info-dir -c %{_infodir}
50
51 %postun -p /sbin/postshell
52 -/usr/sbin/fix-info-dir -c %{_infodir}
53
54 %files
55 %defattr(644,root,root,755)
56 %doc AUTHORS ChangeLog NEWS README
57 %attr(755,root,root) %{_bindir}/lziprecover
58 %{_mandir}/man1/lziprecover.1*
59 %{_infodir}/lziprecover.info*
This page took 0.191326 seconds and 3 git commands to generate.