[zbackup] Initial import (#1172525)

Vladimir Stackov am1g0 at fedoraproject.org
Mon Dec 22 11:32:23 UTC 2014


commit 100eaaefbd96925ab2c0f91cd0b6b78453c09b66
Author: Vladimir Stackov <amigo.elite at gmail.com>
Date:   Mon Dec 22 02:46:15 2014 +0300

    Initial import (#1172525)

 .gitignore   |    1 +
 sources      |    1 +
 zbackup.spec |   65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a309f0f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/1.3.tar.gz
diff --git a/sources b/sources
index e69de29..1ded874 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+53a07960447ae7a7b1d71f71798080a7  1.3.tar.gz
diff --git a/zbackup.spec b/zbackup.spec
new file mode 100644
index 0000000..e0327b0
--- /dev/null
+++ b/zbackup.spec
@@ -0,0 +1,65 @@
+%global _hardened_build 1
+
+Name:		zbackup
+Version:	1.3
+Release:	4%{?dist}
+Summary:	A versatile deduplicating backup tool
+
+License:	GPLv2+ with exceptions
+URL:		http://zbackup.org/
+Source0:	https://github.com/zbackup/zbackup/archive/%{version}.tar.gz
+
+BuildRequires:	cmake >= 2.8.2
+BuildRequires:	xz-devel
+BuildRequires:	openssl-devel
+BuildRequires:	protobuf-devel
+BuildRequires:	zlib-devel
+BuildRequires:	pandoc
+
+%description
+zbackup is a globally-deduplicating backup tool, based on the ideas
+found in rsync. Feed a large .tar into it, and it will store duplicate
+regions of it only once, then compress and optionally encrypt the
+result. Feed another .tar file, and it will also re-use any data found
+in any previous backups. This way only new changes are stored, and as
+long as the files are not very different, the amount of storage
+required is very low.
+
+%prep
+%setup -q
+
+%build
+mkdir -p objdir tartool/objdir
+pushd objdir
+%cmake ..
+make %{?_smp_mflags}
+popd
+pushd tartool/objdir
+%cmake ..
+make %{?_smp_mflags}
+
+%install
+make install -C objdir DESTDIR=%{buildroot}
+install tartool/objdir/tartool %{buildroot}%{_bindir}/
+pandoc -s -f markdown_github -t man -V title=%{name} -V section=1 -V date="$(LANG=C date -d @$(stat -c'%Z' README.md) +'%B %d, %Y')" README.md -o %{name}.1
+install -D -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
+ln -s %{name}.1 %{buildroot}%{_mandir}/man1/tartool.1
+
+%files
+%{_bindir}/*
+%{_mandir}/man1/*.1.*
+%license LICENSE LICENSE-GPL*
+
+%changelog
+* Fri Dec 19 2014 Vladimir Stackov <amigo.elite at gmail dot com> - 1.3-4
+- Modified in appliance with rhbz#1172525
+
+* Fri Dec 12 2014 Vladimir Stackov <amigo.elite at gmail dot com> - 1.3-3
+- Produce hardened binaries
+
+* Thu Dec 11 2014 Vladimir Stackov <amigo.elite at gmail dot com> - 1.3-2
+- Modified in appliance with rhbz#1172525
+- Added tartool
+
+* Wed Dec 10 2014 Vladimir Stackov <amigo.elite at gmail dot com> - 1.3-1
+- Initial version of the package


More information about the scm-commits mailing list