forked from pool/zpaqfranz
168aa4cee9
- update to 58.11: * Undocumented -collision -kill, to be implemented * Quickly check and (sometimes) recovery from SHA-1 collision * Warning-hunting on 15+ years compiler * Removed a fake compiler warning * 32 bit gcc fix, or better workaroud https://bugzilla.redhat.com/show_bug.cgi?id=2238781 * disclaimer after help for USE THE DOUBLE QUOTES, LUKE! * changed $day, $hour... to %day, %hour ( Linux does not like '$' very much ) * PowerPC fix * New switch -home in a command (add) * Stripped of about everything from zpaqfranz repository * Moved to zpaqfranz-stuff (for license reason when 'packaged') * the subfolders, much smaller git * Fixed some typo in zpaqfranz.cpp source code, added some greetings - Initial package for version 58.8 OBS-URL: https://build.opensuse.org/request/show/1128884 OBS-URL: https://build.opensuse.org/package/show/Archiving/zpaqfranz?expand=0&rev=8
56 lines
1.6 KiB
RPMSpec
56 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package zpaqfranz
|
|
#
|
|
# Copyright (c) 2023 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: 58.11
|
|
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
|