|
Gavin Henry |
454d453 |
Name: rsnapshot
|
|
|
99cf880 |
Version: 1.4.3
|
|
|
99cf880 |
Release: 1%{?dist}
|
|
Gavin Henry |
454d453 |
Summary: Local and remote filesystem snapshot utility
|
|
|
6dffad8 |
License: GPLv2+
|
|
|
99cf880 |
URL: https://rsnapshot.org/
|
|
|
99cf880 |
Source: https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
Chris Petersen |
ae70a99 |
BuildArch: noarch
|
|
|
99cf880 |
|
|
|
99cf880 |
# Skip both SSH tests (rather one) if SSH doesn't work, https://github.com/rsnapshot/rsnapshot/pull/244
|
|
|
99cf880 |
Patch0: rsnapshot-1.4.3-skip-ssh-test.patch
|
|
|
99cf880 |
# Emulate m4_esyscmd_s for autoconf 2.63 (RHEL/CentOS 6), https://github.com/rsnapshot/rsnapshot/pull/245
|
|
|
99cf880 |
Patch1: rsnapshot-1.4.3-autoconf-2.63.patch
|
|
|
fa8717e |
|
|
|
fa8717e |
BuildRequires: /usr/bin/pod2man
|
|
|
4befb51 |
BuildRequires: perl-generators
|
|
Chris Petersen |
ae70a99 |
BuildRequires: rsync
|
|
Chris Petersen |
ae70a99 |
BuildRequires: openssh-clients
|
|
|
678e1ed |
BuildRequires: lvm2
|
|
|
678e1ed |
|
|
|
99cf880 |
BuildRequires: autoconf
|
|
|
99cf880 |
BuildRequires: automake
|
|
|
99cf880 |
BuildRequires: git
|
|
|
99cf880 |
|
|
|
678e1ed |
# For running %%check
|
|
|
678e1ed |
BuildRequires: perl(Test::Harness)
|
|
|
678e1ed |
BuildRequires: perl(Test::More)
|
|
|
fa8717e |
|
|
Chris Petersen |
ae70a99 |
Requires: openssh-clients
|
|
Chris Petersen |
ae70a99 |
Requires: rsync
|
|
|
99cf880 |
Requires: perl(Lchown)
|
|
Chris Petersen |
ae70a99 |
|
|
Gavin Henry |
e2acd4f |
%description
|
|
Chris Petersen |
ae70a99 |
This is a remote backup program that uses rsync to take backup snapshots of
|
|
Chris Petersen |
ae70a99 |
filesystems. It uses hard links to save space on disk.
|
|
Chris Petersen |
ae70a99 |
|
|
Gavin Henry |
e2acd4f |
%prep
|
|
|
99cf880 |
%autosetup -p1
|
|
|
99cf880 |
|
|
|
99cf880 |
# No configure in 1.4.3
|
|
|
99cf880 |
./autogen.sh
|
|
Chris Petersen |
ae70a99 |
|
|
Gavin Henry |
e2acd4f |
%build
|
|
Chris Petersen |
ae70a99 |
%configure \
|
|
Chris Petersen |
ae70a99 |
--with-perl="%{__perl}" \
|
|
Chris Petersen |
ae70a99 |
--with-rsync="%{_bindir}/rsync" \
|
|
|
99cf880 |
--with-cp="%{__cp}" \
|
|
|
99cf880 |
--with-rm="%{__rm}" \
|
|
Chris Petersen |
ae70a99 |
--with-ssh="%{_bindir}/ssh" \
|
|
Chris Petersen |
ae70a99 |
--with-logger="%{_bindir}/logger" \
|
|
Chris Petersen |
ae70a99 |
--with-du="%{_bindir}/du"
|
|
Chris Petersen |
ae70a99 |
|
|
Chris Petersen |
ae70a99 |
%install
|
|
|
678e1ed |
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
Gavin Henry |
454d453 |
|
|
Chris Petersen |
ae70a99 |
# Rename the installed .default config file to a usable name
|
|
Chris Petersen |
ae70a99 |
mv $RPM_BUILD_ROOT/etc/rsnapshot.conf.default $RPM_BUILD_ROOT/etc/rsnapshot.conf
|
|
Chris Petersen |
ae70a99 |
|
|
Chris Petersen |
7814c70 |
# Change the perms on the utils/ files so rpm doesn't pick up their dependencies
|
|
Chris Petersen |
7814c70 |
find utils/ -type f -print0 | xargs -r0 chmod 644
|
|
Chris Petersen |
7814c70 |
|
|
|
678e1ed |
%check
|
|
|
678e1ed |
%{__make} test
|
|
Gavin Henry |
e2acd4f |
|
|
Gavin Henry |
e2acd4f |
%files
|
|
|
678e1ed |
%doc AUTHORS ChangeLog README.md
|
|
|
fa8717e |
%license COPYING
|
|
Chris Petersen |
ae70a99 |
%doc rsnapshot.conf.default
|
|
Chris Petersen |
ae70a99 |
%doc utils/
|
|
Gavin Henry |
be1b08e |
%config(noreplace) %{_sysconfdir}/rsnapshot.conf
|
|
|
678e1ed |
%{_bindir}/rsnapshot
|
|
|
678e1ed |
%{_bindir}/rsnapshot-diff
|
|
|
678e1ed |
%{_mandir}/man1/rsnapshot*
|
|
Chris Petersen |
ae70a99 |
|
|
Gavin Henry |
e2acd4f |
%changelog
|
|
|
99cf880 |
* Wed Dec 11 2019 Robert Scheck <robert@fedoraproject.org> - 1.4.3-1
|
|
|
99cf880 |
- Upgrade to 1.4.3 (#1443553, #1646191, #1741427)
|
|
|
99cf880 |
- Extend spec file compatibility to cover RHEL/CentOS 6
|
|
|
99cf880 |
- Add run-time requirement for perl(Lchown) (#1494775)
|
|
|
99cf880 |
|
|
|
42c388f |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-8
|
|
|
42c388f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
42c388f |
|
|
|
152795f |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-7
|
|
|
152795f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
152795f |
|
|
|
de9c0ad |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-6
|
|
|
de9c0ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
de9c0ad |
|
|
|
d18c354 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-5
|
|
|
d18c354 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d18c354 |
|
|
|
7f2b97a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-4
|
|
|
7f2b97a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
7f2b97a |
|
|
|
5497efe |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
|
|
|
5497efe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
5497efe |
|
|
|
2afafe9 |
* Mon Dec 19 2016 James Hogarth <james.hogarth@gmail.com> - 1.4.2-2
|
|
|
2afafe9 |
- Backport fix for bz#1388209
|
|
|
2afafe9 |
|
|
|
678e1ed |
* Thu Oct 06 2016 James Hogarth <james.hogarth@gmail.com> - 1.4.2-1
|
|
|
678e1ed |
- Update to 1.4.2 and bring spec up to current standards
|
|
|
678e1ed |
|
|
|
fa8717e |
* Wed Feb 17 2016 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 1.3.1-16
|
|
|
fa8717e |
- Add BR: /usr/bin/pod2man (F24FTBFS, RHBZ#1307997).
|
|
|
fa8717e |
- Add %%license.
|
|
|
fa8717e |
- Modernize spec.
|
|
|
fa8717e |
|
|
|
36a476c |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-15
|
|
|
36a476c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
36a476c |
|
|
|
9a49cb5 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-14
|
|
|
9a49cb5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
9a49cb5 |
|
|
|
219372f |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-13
|
|
|
219372f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
219372f |
|
|
Steven Roberts |
fc2cc77 |
* Tue Sep 10 2013 Steven Roberts <strobert@strobe.net> - 1.3.1-12
|
|
Steven Roberts |
fc2cc77 |
- added lvm-quiet patch to correct lvremove handling. bug 1005911
|
|
Steven Roberts |
fc2cc77 |
|
|
|
fa3436d |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-11
|
|
|
fa3436d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
fa3436d |
|
|
|
a4bad7e |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.3.1-10
|
|
|
a4bad7e |
- Perl 5.18 rebuild
|
|
|
a4bad7e |
|
|
Steven Roberts |
0c464d4 |
* Tue Jul 09 2013 Steven Roberts <strobert@strobe.net> - 1.3.1-9
|
|
Steven Roberts |
0c464d4 |
- fixed invalid changelog dates
|
|
Steven Roberts |
0c464d4 |
- added pod2man patch to deal with missing-back now error in newer fedora
|
|
Steven Roberts |
0c464d4 |
|
|
|
4013d9c |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-8
|
|
|
4013d9c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
4013d9c |
|
|
|
33f29db |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-7
|
|
|
33f29db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
33f29db |
|
|
|
3756745 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-6
|
|
|
3756745 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
3756745 |
|
|
|
5ef8b57 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
|
|
|
5ef8b57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
5ef8b57 |
|
|
|
16312f5 |
* Sun Sep 06 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.3.1-4
|
|
|
16312f5 |
- The include_conf directive doesn't handle backticks as documented.
|
|
|
16312f5 |
This is already fixed upstream in cvs but not in a release yet.
|
|
|
16312f5 |
|
|
|
049be7d |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-3
|
|
|
049be7d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
049be7d |
|
|
|
90d0b62 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
|
|
|
90d0b62 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
90d0b62 |
|
|
|
6dffad8 |
* Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.1-1
|
|
|
6dffad8 |
- fix license tag
|
|
|
6dffad8 |
- update to 1.3.1
|
|
|
6dffad8 |
- remove comment lines (more trouble than they're worth)
|
|
Chris Petersen |
ae70a99 |
|
|
Chris Petersen |
a6b15f2 |
* Mon May 28 2007 Chris Petersen <rpm@forevermore.net> 1.3.0-1
|
|
Chris Petersen |
a6b15f2 |
- Upgrade to 1.3.0
|
|
Chris Petersen |
a6b15f2 |
|
|
Chris Petersen |
a6b15f2 |
* Fri Sep 8 2006 Chris Petersen <rpm@forevermore.net> 1.2.9-5
|
|
Chris Petersen |
ee12fca |
- Rebuild for FC6 glibc update
|
|
Chris Petersen |
ee12fca |
|
|
Chris Petersen |
7d9982b |
* Sun Jul 23 2006 Chris Petersen <rpm@forevermore.net> 1.2.9-4
|
|
Chris Petersen |
7d9982b |
- Bump release number to correspond with fc4.
|
|
Chris Petersen |
7d9982b |
|
|
Chris Petersen |
54c2fbe |
* Thu May 25 2006 Chris Petersen <rpm@forevermore.net> 1.2.9-2
|
|
Chris Petersen |
54c2fbe |
- Update configfile patch to work with 1.2.9
|
|
Chris Petersen |
54c2fbe |
|
|
Steven Roberts |
0c464d4 |
* Sun May 21 2006 Chris Petersen <rpm@forevermore.net> 1.2.9-1
|
|
Chris Petersen |
7814c70 |
- Preliminary build for 1.2.9
|
|
Chris Petersen |
7814c70 |
|
|
Chris Petersen |
ae70a99 |
* Wed May 17 2006 Chris Petersen <rpm@forevermore.net> 1.2.3-2
|
|
Chris Petersen |
ae70a99 |
- Add rsync and openssh-clients build requirements because the configure script checks for them.
|
|
Chris Petersen |
ae70a99 |
- Remove perl requirement because it's detected by rpm.
|
|
Chris Petersen |
ae70a99 |
|
|
Chris Petersen |
ae70a99 |
* Wed May 17 2006 Chris Petersen <rpm@forevermore.net> 1.2.3-1
|
|
Chris Petersen |
ae70a99 |
- Update to version 1.2.3 which is in the downloads directory but not linked on the site.
|
|
Chris Petersen |
ae70a99 |
- Change openssh requirement to openssh-clients
|
|
|
6dffad8 |
- Update %%post script with better info from the rpmforge spec and nifty logger reports
|
|
|
6dffad8 |
- Add utils/ to the %%doc files
|
|
Chris Petersen |
ae70a99 |
|
|
Chris Petersen |
ae70a99 |
* Sat May 13 2006 Chris Petersen <rpm@forevermore.net> 1.2.1-1
|
|
Chris Petersen |
ae70a99 |
- Update specfile to be compatible with fedora guidelines
|
|
Gavin Henry |
454d453 |
|
|
Steven Roberts |
0c464d4 |
* Sat Jan 29 2005 Nathan Rosenquist <nathan@rsnapshot.org>
|
|
Gavin Henry |
454d453 |
- Added upgrade script
|
|
Gavin Henry |
454d453 |
|
|
Gavin Henry |
454d453 |
* Sat Jan 22 2005 Nathan Rosenquist <nathan@rsnapshot.org>
|
|
Gavin Henry |
454d453 |
- Added --with-du option
|
|
Gavin Henry |
e2acd4f |
|
|
Gavin Henry |
e2acd4f |
* Thu Jan 15 2004 Nathan Rosenquist <nathan@rsnapshot.org>
|
|
Gavin Henry |
e2acd4f |
- Added "AutoReqProv: no" for SuSE compatibility
|
|
Gavin Henry |
e2acd4f |
|
|
Gavin Henry |
e2acd4f |
* Fri Dec 26 2003 Nathan Rosenquist <nathan@rsnapshot.org>
|
|
Gavin Henry |
e2acd4f |
- Added util-linux dependency, and --with-logger= option
|
|
Gavin Henry |
e2acd4f |
|
|
Gavin Henry |
e2acd4f |
* Fri Dec 19 2003 Nathan Rosenquist <nathan@rsnapshot.org>
|
|
Gavin Henry |
e2acd4f |
- now fully support autoconf
|
|
Gavin Henry |
e2acd4f |
|
|
Gavin Henry |
e2acd4f |
* Tue Dec 16 2003 Nathan Rosenquist <nathan@rsnapshot.org>
|
|
Gavin Henry |
e2acd4f |
- changed rsnapshot.conf to rsnapshot.conf.default from the source tree
|
|
Gavin Henry |
e2acd4f |
|
|
Gavin Henry |
e2acd4f |
* Wed Nov 05 2003 Nathan Rosenquist <nathan@rsnapshot.org>
|
|
Gavin Henry |
e2acd4f |
- Removed fileutils dependency, added verification info
|
|
Gavin Henry |
e2acd4f |
|
|
Gavin Henry |
e2acd4f |
* Tue Nov 04 2003 Nathan Rosenquist <nathan@rsnapshot.org>
|
|
Gavin Henry |
e2acd4f |
- fixed anonymous rsync error
|
|
Gavin Henry |
e2acd4f |
|
|
Gavin Henry |
e2acd4f |
* Thu Oct 30 2003 Nathan Rosenquist <nathan@rsnapshot.org>
|
|
Gavin Henry |
e2acd4f |
- update to 1.0.3
|
|
Gavin Henry |
e2acd4f |
|
|
Gavin Henry |
e2acd4f |
* Tue Oct 28 2003 Carl Wilhelm Soderstrom <chrome@real-time.com>
|
|
Gavin Henry |
e2acd4f |
- created spec file
|