Files
rpms/fedora/SPECS/rsync-bpc.spec

66 lines
1.4 KiB
RPMSpec
Raw Normal View History

%global ver_major 3
%global ver_minor 0
%global ver_patch 9
%global ver_tweak 6
%global ver_under %{ver_major}_%{ver_minor}_%{ver_patch}_%{ver_tweak}
Name: rsync-bpc
Version: 3.0.9.8
Release: 1%{?dist}
Summary: A customized version of rsync that is used as part of BackupPC
License: GPLv3+
URL: https://github.com/backuppc/rsync-bpc
Source0: https://github.com/backuppc/rsync-bpc/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: gcc
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: popt-devel
%description
Rsync-bpc is a customized version of rsync that is used as part of
BackupPC, an open source backup system.
The main change to rsync is adding a shim layer (in the subdirectory
backuppc, and in bpc_sysCalls.c) that emulates the system calls for
accessing the file system so that rsync can directly read/write files
in BackupPC's format.
Rsync-bpc is fully line-compatible with vanilla rsync, so it can talk
to rsync servers and clients.
Rsync-bpc serves no purpose outside of BackupPC.
%prep
%autosetup -n %{name}-%{version}
%build
%configure
%make_build
%install
%make_install
2017-10-07 15:41:39 +02:00
%clean
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}
%files
%license COPYING
%doc NEWS README
%{_bindir}/rsync_bpc
%changelog
* Sat Oct 7 2017 Daniel Steiner <daniel.steiner@greenmail.ch> - 4.1.3-2
- Iniital build.