Name: lziprecover Version: 1.24 Release: 1%{?dist}.frs Summary: Data recovery tool and decompressor for files in the lzip compressed format Group: Applications/File License: GPLv3+ URL: http://www.nongnu.org/lzip/lziprecover.html Source0: http://download.savannah.gnu.org/releases/lzip/lziprecover/lziprecover-%{version}.tar.gz Source1: http://download.savannah.gnu.org/releases/lzip/lziprecover/lziprecover-%{version}.tar.gz.sig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # BuildRequires: lzip BuildRequires: gcc-c++ Requires(post): info Requires(preun): info %description Lziprecover is a data recovery tool and decompressor for files in the lzip compressed data format (.lz) able to repair slightly damaged files, recover badly damaged files from two or more copies, extract undamaged members from multi-member files, decompress files and test integrity of files. Lziprecover is able to recover or decompress files produced by any of the compressors in the lzip family; lzip, plzip, minilzip/lzlib, clzip and pdlzip. This recovery capability contributes to make the lzip format one of the best options for long-term data archiving. %prep %setup -q # file needs to be copied, because it is used in "make check" cp -a COPYING{,.txt} # convert CRLF to LF sed -i 's/\r//' COPYING.txt %build %configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install install-man DESTDIR=$RPM_BUILD_ROOT # if install-info is present, this is created by upstream's makefile rm -Rf $RPM_BUILD_ROOT%{_infodir}/dir %check make check %clean rm -rf $RPM_BUILD_ROOT %post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : %preun if [ $1 = 0 ] ; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi %files %defattr(-,root,root,-) # TODO is currently empty %doc AUTHORS ChangeLog COPYING.txt NEWS README #%%{_bindir}/lzip %{_bindir}/lziprecover %{_infodir}/lziprecover.info* #%%{_mandir}/man1/lzip.1* %{_mandir}/man1/lziprecover.1* %changelog * Sun Oct 17 2021 FRS Packager - 1.22-2 - Bumped to 1.22 * Tue Apr 18 2017 Gwyn Ciesla - 1.19-1 - 1.19, BZ 1442896. * Fri Feb 10 2017 Fedora Release Engineering - 1.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu May 19 2016 Jon Ciesla - 1.18-1 - 1.18, BZ 1337729. * Thu Feb 04 2016 Fedora Release Engineering - 1.17-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Jun 09 2015 Jon Ciesla - 1.17-1 - 1.17, BZ 1228902. * Sat May 02 2015 Kalev Lember - 1.15-4 - Rebuilt for GCC 5 C++11 ABI change * Sun Aug 17 2014 Fedora Release Engineering - 1.15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Sep 23 2013 Jon Ciesla - 1.15-1 - 1.15, BZ 1010894. * Sat Aug 03 2013 Fedora Release Engineering - 1.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jun 10 2013 Jon Ciesla - 1.14-1 - 1.14, BZ 972489. * Thu Feb 14 2013 Fedora Release Engineering - 1.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 1.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Mar 13 2012 Jon Ciesla - 1.13-1 - Initial spec for Fedora