]>
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 AZ |
3 | Name: zbackup |
4 | Version: 1.2 | |
a005c950 | 5 | Release: 2 |
cc83ce3a AZ |
6 | License: GPL v2+ |
7 | Group: Applications/Archiving | |
4c9d5b7e | 8 | Source0: https://github.com/zbackup/zbackup/archive/%{version}.tar.gz |
cc83ce3a AZ |
9 | # Source0-md5: e816af0e1381a35236488dbe86003d14 |
10 | URL: http://zbackup.org/ | |
11 | BuildRequires: cmake >= 2.8.2 | |
12 | BuildRequires: lzma-devel | |
13 | BuildRequires: openssl-devel | |
14 | BuildRequires: protobuf-devel | |
cc83ce3a | 15 | BuildRequires: rpmbuild(macros) >= 1.600 |
4c9d5b7e | 16 | BuildRequires: zlib-devel |
cc83ce3a AZ |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
4c9d5b7e ER |
20 | zbackup is a globally-deduplicating backup tool, based on the ideas |
21 | found in rsync. Feed a large .tar into it, and it will store duplicate | |
22 | regions of it only once, then compress and optionally encrypt the | |
23 | result. Feed another .tar file, and it will also re-use any data found | |
24 | in any previous backups. This way only new changes are stored, and as | |
25 | long as the files are not very different, the amount of storage | |
26 | required is very low. | |
27 | ||
cc83ce3a | 28 | %description -l pl.UTF-8 |
4c9d5b7e ER |
29 | zbackup jest narzędziem służącym do archiwizacji danyc, bazującym na |
30 | rsync i wykorzystujące deduplikację | |
cc83ce3a AZ |
31 | |
32 | %prep | |
33 | %setup -q | |
34 | ||
35 | %build | |
ac531292 ER |
36 | install -d build |
37 | cd build | |
38 | %cmake .. | |
cc83ce3a AZ |
39 | %{__make} |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
ac531292 | 43 | %{__make} install -C build \ |
cc83ce3a AZ |
44 | DESTDIR=$RPM_BUILD_ROOT |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %attr(755,root,root) %{_bindir}/%{name} |