]>
Commit | Line | Data |
---|---|---|
cc83ce3a | 1 | Summary: A versatile deduplicating backup tool |
4c9d5b7e | 2 | Summary(pl.UTF-8): Uniwersalne narzędzie do deduplikacji kopii zapasowych |
cc83ce3a | 3 | Name: zbackup |
2a4e988b | 4 | Version: 1.4.4 |
3315c528 | 5 | Release: 13 |
a0c197f5 | 6 | License: GPL v2+ with OpenSSL Exception |
cc83ce3a | 7 | Group: Applications/Archiving |
a0c197f5 JB |
8 | #Source0Download: https://github.com/zbackup/zbackup/releases |
9 | #TODO: Source0: https://github.com/zbackup/zbackup/archive/%{version}/%{name}-%{version}.tar.gz | |
4c9d5b7e | 10 | Source0: https://github.com/zbackup/zbackup/archive/%{version}.tar.gz |
2a4e988b | 11 | # Source0-md5: 0753ca5d61533f951d6ebb6f087efa0b |
cc83ce3a AZ |
12 | URL: http://zbackup.org/ |
13 | BuildRequires: cmake >= 2.8.2 | |
a0c197f5 | 14 | BuildRequires: lzo-devel |
cc83ce3a AZ |
15 | BuildRequires: openssl-devel |
16 | BuildRequires: protobuf-devel | |
a0c197f5 JB |
17 | BuildRequires: rpmbuild(macros) >= 1.605 |
18 | BuildRequires: xz-devel | |
4c9d5b7e | 19 | BuildRequires: zlib-devel |
cc83ce3a AZ |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
4c9d5b7e ER |
23 | zbackup is a globally-deduplicating backup tool, based on the ideas |
24 | found in rsync. Feed a large .tar into it, and it will store duplicate | |
25 | regions of it only once, then compress and optionally encrypt the | |
26 | result. Feed another .tar file, and it will also re-use any data found | |
27 | in any previous backups. This way only new changes are stored, and as | |
28 | long as the files are not very different, the amount of storage | |
29 | required is very low. | |
30 | ||
cc83ce3a | 31 | %description -l pl.UTF-8 |
a0c197f5 JB |
32 | zbackup jest narzędziem służącym do archiwizacji danych, opartym na |
33 | ideach rsynca i wykonujące deduplikację. Po przekazaniu mu dużego | |
34 | pliku .tar, zapisuje powtórzone fragmenty tylko raz, następnie | |
35 | kompresuje i opcjonalnie szyfruje wynik. Po przekazaniu kolejnego | |
36 | pliku .tar używa ponownie danych znalezionych w dowolnej poprzedniej | |
37 | kopii zapasowej. W ten sposób zapisywane są tylko nowe zmiany, a - | |
38 | dopóki pliki nie różnią się bardzo - nie wymaga to dużo miejsca. | |
cc83ce3a AZ |
39 | |
40 | %prep | |
41 | %setup -q | |
42 | ||
43 | %build | |
ac531292 ER |
44 | install -d build |
45 | cd build | |
b5b7cf12 | 46 | export CXXFLAGS="%{rpmcxxflags} -std=c++11" |
ac531292 | 47 | %cmake .. |
cc83ce3a AZ |
48 | %{__make} |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
a0c197f5 | 52 | |
ac531292 | 53 | %{__make} install -C build \ |
cc83ce3a AZ |
54 | DESTDIR=$RPM_BUILD_ROOT |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
a0c197f5 JB |
61 | %doc CONTRIBUTORS LICENSE README.md |
62 | %attr(755,root,root) %{_bindir}/zbackup |