]> git.pld-linux.org Git - packages/rsync-bpc.git/blob - rsync-bpc.spec
- rebuild ac, sync a bit with rsync.spec
[packages/rsync-bpc.git] / rsync-bpc.spec
1 # Conditional build:
2 %bcond_with     tests   # perform "make test"
3 #
4 Summary:        A customized version of rsync that is used as part of BackupPC
5 Name:           rsync-bpc
6 Version:        3.1.2.1
7 Release:        1
8 License:        GPL v3+
9 Group:          Networking/Utilities
10 Source0:        https://github.com/backuppc/rsync-bpc/releases/download/%{version}/%{name}-%{version}.tar.gz
11 # Source0-md5:  7749b21b46db4e6a74120c8687a5944c
12 URL:            https://github.com/backuppc/rsync-bpc
13 BuildRequires:  acl-devel
14 BuildRequires:  attr-devel
15 BuildRequires:  autoconf >= 2.59
16 BuildRequires:  automake
17 BuildRequires:  popt-devel
18 BuildRequires:  rpmbuild(macros) >= 1.318
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Rsync-bpc is a customized version of rsync that is used as part of
23 BackupPC, an open source backup system.
24
25 The main change to rsync is adding a shim layer (in the subdirectory
26 backuppc, and in bpc_sysCalls.c) that emulates the system calls for
27 accessing the file system so that rsync can directly read/write files
28 in BackupPC's format.
29
30 Rsync-bpc is fully line-compatible with vanilla rsync, so it can talk
31 to rsync servers and clients.
32
33 Rsync-bpc serves no purpose outside of BackupPC.
34
35 %prep
36 %setup -q
37
38 %build
39 cp -f /usr/share/automake/config.sub .
40 %{__autoheader}
41 %{__autoconf}
42 %configure \
43         LIBS="-lcrypto" \
44         %{?with_rsh:--with-rsh=rsh} \
45         --enable-ipv6 \
46         --enable-acl-support \
47         --enable-xattr-support \
48         --disable-debug
49 %{__make} proto
50 %{__make}
51
52 %{?with_tests:%{__make} test}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc COPYING NEWS README
65 %attr(755,root,root) %{_bindir}/rsync_bpc
66
67 %changelog
This page took 0.598855 seconds and 3 git commands to generate.