forked from pool/zpaqfranz
f72de47666
* Better -stdin management Now files added with -stdin should be deduplicated as well as those added manually (up to the previous version the deduplicator was less efficient, for a whole series of reasons long to explain) * New comparehex command This command performs an operation that happens very frequently, namely comparing two lines (typically HASH codes) present in two files. If the codes are the same it exits with OK. You can also impose the expected length of the hash. * Counts within more than one file the occurrences of a certain string, and returns OK if the number is the expected one In essence, within a log file, it counts how many positive results there are. * If you don't select a string to search for, it will use the default one for OKs with the -big switch * During program termination with Control-C press, a better management of the deletion of files created with -chunk is performed. * It might also perform rollback of .zpaq files, maybe in the future. * Apparently it should work in a portable way across various platforms, or at least I hope so. * The problem of terminating a multithreaded system based on a condition is not trivial, even from a performance perspective. I used "dirty tricks", we'll see in the future. * Improvement in the creation of temporary files, for the use of multiple zpaqfranz processes simultaneously * Temporary files are created inside different subfolders OBS-URL: https://build.opensuse.org/package/show/Archiving/zpaqfranz?expand=0&rev=16
57 lines
1.6 KiB
RPMSpec
57 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package zpaqfranz
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: zpaqfranz
|
|
Version: 60.6
|
|
Release: 0
|
|
Summary: A journaling, incremental, deduplicating archiver
|
|
License: MIT AND SUSE-Public-Domain
|
|
Group: Productivity/Archiving/Compression
|
|
URL: https://github.com/fcorbelli/zpaqfranz
|
|
Source0: https://github.com/fcorbelli/zpaqfranz/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: gcc-c++
|
|
|
|
%description
|
|
Swiss army knife for backup and disaster recovery, like 7z or RAR on
|
|
steroids,with deduplicated "snapshots" (versions). Conceptually similar to Mac
|
|
time machine, but much more efficiently.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
g++ %{optflags} \
|
|
%ifarch %ix86
|
|
-Dunix -DHWSHA2 \
|
|
%elifarch s390x \
|
|
-Dunix -DNOJIT -DBIG \
|
|
%else
|
|
-Dunix -DNOJIT \
|
|
%endif
|
|
zpaqfranz.cpp -o zpaqfranz -pthread -lstdc++ -lm
|
|
|
|
%install
|
|
install -Dpm 0755 zpaqfranz %{buildroot}%{_bindir}/%{name}
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE COPYING
|
|
%{_bindir}/%{name}
|
|
|
|
%changelog
|