[lziprecover] Initial import.

Jon Ciesla limb at fedoraproject.org
Wed Mar 14 12:32:25 UTC 2012


commit 7fce34b5776d5faf2cbff911c1e964dd0f0e754e
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Wed Mar 14 07:32:18 2012 -0500

    Initial import.

 .gitignore                  |    1 +
 lziprecover-1.13.tar.gz.sig |  Bin 0 -> 65 bytes
 lziprecover.spec            |   80 +++++++++++++++++++++++++++++++++++++++++++
 sources                     |    1 +
 4 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..900ea0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lziprecover-1.13.tar.gz
diff --git a/lziprecover-1.13.tar.gz.sig b/lziprecover-1.13.tar.gz.sig
new file mode 100644
index 0000000..19e7b3b
Binary files /dev/null and b/lziprecover-1.13.tar.gz.sig differ
diff --git a/lziprecover.spec b/lziprecover.spec
new file mode 100644
index 0000000..e6601bc
--- /dev/null
+++ b/lziprecover.spec
@@ -0,0 +1,80 @@
+Name:           lziprecover
+Version:        1.13
+Release:        1%{?dist}
+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-%{version}.tar.gz
+Source1:        http://download.savannah.gnu.org/releases/lzip/lziprecover-%{version}.tar.gz.sig
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+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
+* Tue Mar 13 2012 Jon Ciesla <limburgher at gmail.com> - 1.13-1
+- Initial spec for Fedora
diff --git a/sources b/sources
index e69de29..28521e1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+83be32a820b5d5211431b0d6f56181a9  lziprecover-1.13.tar.gz


More information about the scm-commits mailing list