blob: a7833ebdea8ee3c198452c040774765b01e8ae94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
Name: rsync
Version: 3.2.7
Release: 0
License: GPL-3.0+
Summary: A program for synchronizing files over a network
Url: http://rsync.samba.org/
#X-Vcs-Url: git://git.samba.org/rsync
Group: Base/Utilities
Source0: http://rsync.samba.org/ftp/rsync/src/rsync-%{version}.tar.gz
Source10: Chnage_nanosleep_to_gettimeofday.patch
Source1001: rsync.manifest
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: pkgconfig(popt)
BuildRequires: pkgconfig(openssl1.1)
BuildRequires: libzstd-devel
%description
Rsync uses a reliable algorithm to bring remote and host files into
sync very quickly. Rsync is fast because it just sends the differences
in the files over the network instead of sending the complete
files. Rsync is often used as a very powerful mirroring process or
just as a more capable replacement for the rcp command. A technical
report which describes the rsync algorithm is included in this
package.
%package support
Summary: Support files for rsync
Group: Base/Utilities
Requires: %{name} = %{version}-%{release}
%description support
Support filrs for rsync
%prep
%setup -q
cp %{SOURCE1001} .
%{__patch} -p1 < %{SOURCE10}
%build
export CFLAGS+=" -fPIC"
export LDFLAGS+=" -pie"
%reconfigure --disable-xxhash --disable-lz4
%__make reconfigure
%__make %{?_smp_mflags}
%install
%make_install
%docs_package
%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
%license COPYING
%{_bindir}/rsync
%{_bindir}/rsync-ssl
|