commit 6577ef4e5ad7a48134e0880dd5eb9054994ce0447aa1752641fa8cf3e589a2d0 Author: Pascal Bleser Date: Tue Apr 3 16:21:51 2012 +0000 1.13 OBS-URL: https://build.opensuse.org/package/show/Archiving/lziprecover?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/lziprecover-1.13.tar.gz b/lziprecover-1.13.tar.gz new file mode 100644 index 0000000..0d46448 --- /dev/null +++ b/lziprecover-1.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:141766e9a8e07bfc9985827bb59229532f80b9bb8ec2449b42af5546722cf580 +size 77771 diff --git a/lziprecover.changes b/lziprecover.changes new file mode 100644 index 0000000..253f7a7 --- /dev/null +++ b/lziprecover.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Apr 03 16:21:39 CET 2012 - pascal.bleser@opensuse.org + +- initial version (1.13) + diff --git a/lziprecover.spec b/lziprecover.spec new file mode 100644 index 0000000..cb437f2 --- /dev/null +++ b/lziprecover.spec @@ -0,0 +1,87 @@ +# vim: set sw=4 ts=4 et nu: + +# Copyright (c) 2012 Pascal Bleser +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ + +Name: lziprecover +Version: 1.13 +Release: 0 +Summary: Fix Broken lzip Files +Source: http://download.savannah.gnu.org/releases/lzip/lziprecover-%{version}.tar.gz +URL: http://www.nongnu.org/lzip/lunzip.html +Group: Productivity/Archiving/Compression +License: GPL-3.0+ +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: gcc-c++ make glibc-devel pkgconfig +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. + +Lziprecover is able to efficiently extract a range of bytes from a multi-member +file, because it only decompresses the members containing the desired data. + +Lziprecover can print correct total file sizes and ratios even for multi-member +files. + +%prep +%setup -q + +%build +# not autoconf +%__install -d build +pushd build +../configure \ + --srcdir=.. \ + --prefix="%{_prefix}" \ + --bindir="%{_bindir}" \ + --datarootdir="%{_datadir}" \ + --infodir="%{_infodir}" \ + --mandir="%{_mandir}" \ + CC="%__cc" \ + CFLAGS="%{optflags}" + +%__make %{?_smp_mflags} +popd + +%install +pushd build +%makeinstall +popd + +%post +%install_info --info-dir="%{_infodir}" "%{_infodir}/%{name}".info* + +%postun +%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/%{name}".info* + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING ChangeLog NEWS README +%{_bindir}/lziprecover +%doc %{_mandir}/man1/lziprecover.1* +%doc %{_infodir}/lziprecover.info* + +%changelog