2024-01-05 17:30:03 +01:00
|
|
|
Name: rsnapshot
|
2024-01-05 17:30:03 +01:00
|
|
|
Version: 1.4.5
|
2024-01-05 17:30:03 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 17:30:03 +01:00
|
|
|
Summary: rsnapshot is a filesystem snapshot utility for making backups of local and remote systems
|
|
|
|
Group: Applications/Archiving
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Fabio Giani <fabio.giani@gmail.com>
|
2024-01-05 17:30:03 +01:00
|
|
|
URL: https://rsnapshot.org/
|
2024-01-05 17:30:03 +01:00
|
|
|
Source: https://github.com/rsnapshot/rsnapshot.git/%{version}/rsnapshot-%{version}.tar.bz2
|
2024-01-05 17:30:03 +01:00
|
|
|
Source1: rsnapshot-daily.timer
|
|
|
|
Source2: rsnapshot@.service
|
2024-01-05 17:30:03 +01:00
|
|
|
Source3: rsnapshot-weekly.timer
|
|
|
|
Source4: rsnapshot-monthly.timer
|
2024-01-05 17:30:03 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 17:30:03 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-05 17:30:03 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: openssh-clients
|
|
|
|
Requires: perl
|
2024-01-05 17:30:03 +01:00
|
|
|
Requires: perl-Lchown
|
2024-01-05 17:30:03 +01:00
|
|
|
Requires: rsync
|
|
|
|
|
|
|
|
%description
|
|
|
|
rsnapshot is a filesystem snapshot utility for making backups of local and remote systems.
|
|
|
|
Using rsync and hard links, it is possible to keep multiple, full backups instantly available. The disk space required is just a little more than the space of one full backup, plus incrementals.
|
|
|
|
Depending on your configuration, it is quite possible to set up in just a few minutes. Files can be restored by the users who own them, without the root user getting involved.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 17:30:03 +01:00
|
|
|
./autogen.sh
|
2024-01-05 17:30:03 +01:00
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-05 17:30:03 +01:00
|
|
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/rsnapshot-daily.timer
|
|
|
|
install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/rsnapshot@.service
|
2024-01-05 17:30:03 +01:00
|
|
|
install -D -m0644 %{SOURCE3} %{buildroot}%{_unitdir}/rsnapshot-weekly.timer
|
|
|
|
install -D -m0644 %{SOURCE4} %{buildroot}%{_unitdir}/rsnapshot-monthly.timer
|
2024-01-05 17:30:03 +01:00
|
|
|
|
|
|
|
cp %{buildroot}%{_sysconfdir}/rsnapshot.conf.default %{buildroot}%{_sysconfdir}/rsnapshot.conf
|
|
|
|
|
2024-01-05 17:30:03 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:30:03 +01:00
|
|
|
%{_sysconfdir}/rsnapshot.conf.default
|
|
|
|
%attr(600,root,root) %config(noreplace) %{_sysconfdir}/rsnapshot.conf
|
|
|
|
%{_bindir}/rsnapshot
|
|
|
|
%{_bindir}/rsnapshot-diff
|
|
|
|
%{_unitdir}/rsnapshot-daily.timer
|
2024-01-05 17:30:03 +01:00
|
|
|
%{_unitdir}/rsnapshot-weekly.timer
|
|
|
|
%{_unitdir}/rsnapshot-monthly.timer
|
2024-01-05 17:30:03 +01:00
|
|
|
%{_unitdir}/rsnapshot@.service
|
|
|
|
%{_mandir}/man1/rsnapshot.1*
|
|
|
|
%{_mandir}/man1/rsnapshot-diff.1*
|
2024-01-05 17:30:03 +01:00
|
|
|
%doc AUTHORS COPYING ChangeLog
|
2024-01-05 17:30:03 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:30:03 +01:00
|
|
|
* Tue Dec 27 2022 Automatic Build System <autodist@mambasoft.it> 1.4.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:30:03 +01:00
|
|
|
* Sat Jun 12 2021 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:30:03 +01:00
|
|
|
* Fri Dec 06 2019 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:30:03 +01:00
|
|
|
* Sat Sep 09 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-2mamba
|
|
|
|
- require perl-Lchown
|
|
|
|
- add systemd weekly and monthly time, change daily start time (00:00), verbose output (-v)
|
|
|
|
|
2024-01-05 17:30:03 +01:00
|
|
|
* Tue Jan 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
|
|
|
|
- update to 1.4.2
|
|
|
|
|
2024-01-05 17:30:03 +01:00
|
|
|
* Tue Sep 01 2015 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:30:03 +01:00
|
|
|
* Sun Aug 02 2015 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:30:03 +01:00
|
|
|
* Sun Jun 07 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-3mamba
|
|
|
|
- provide systemd timer files
|
|
|
|
|
2024-01-05 17:30:03 +01:00
|
|
|
* Tue Jul 16 2013 Automatic Build System <autodist@mambasoft.it> 1.3.1-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Tue Jun 30 2009 Fabio Giani <fabio.giani@gmail.com> 1.3.1-1mamba
|
|
|
|
- package created by autospec
|