Blob Blame History Raw
#global gitcommit cc63fcd2b23def5ca6b824cdaf7ba6deda3d23de
%{?gitcommit:%global gitcommitshort %(c=%{gitcommit}; echo ${c:0:7})}

Name:           casync
Version:        2
Release:        1%{?gitcommit:.git%{gitcommitshort}}%{?dist}
Summary:        Content Addressable Data Synchronizer

License:        LGPLv2+
%if %{defined gitcommit}
Patch0001:      0001-Fix-segv-in-ca_remote_forget_chunk.patch

BuildRequires:  meson
BuildRequires:  gcc
BuildRequires:  pkgconfig(liblzma) >= 5.1.0
BuildRequires:  pkgconfig(libzstd)
BuildRequires:  pkgconfig(zlib)
BuildRequires:  pkgconfig(libcurl) >= 7.32.0
BuildRequires:  pkgconfig(fuse) >= 2.6
BuildRequires:  pkgconfig(libssl)
BuildRequires:  pkgconfig(libselinux)
BuildRequires:  libacl-devel
# for rpm macros
BuildRequires:  systemd
# for tests
BuildRequires:  rsync
# for the man page
BuildRequires:  python3-sphinx

casync provides a way to efficiently transfer files which change over
time over the internet. It will split a given set into a git-inspired
content-addressable set of smaller compressed chunks, which can then
be conveniently transferred using HTTP. On the receiving side those
chunks will be uncompressed and merged together to recreate the
original data. When the original data is modified, only the new chunks
have to be transferred during an update.

%if %{defined gitcommit}
%autosetup -n %{name}-%{gitcommit} -p1
%autosetup -p1


export LC_CTYPE=C.utf8


%license LICENSE.LGPL2.1
%doc TODO
%dir %_prefix/lib/casync
%dir %_prefix/lib/casync/protocols

* Wed Jul 26 2017 Zbigniew Jędrzejewski-Szmek <> - 2-1
- Update to latest version

* Wed Jul 26 2017 Fedora Release Engineering <> - 1-5.gitcc63fcd
- Rebuilt for

* Fri Jun 23 2017 Zbigniew Jędrzejewski-Szmek <> - 1-4.git
- Pull in fixes for failures on non-amd64 arches

* Tue Jun 20 2017 Zbigniew Jędrzejewski-Szmek <> - 1-1
- Initial packaging