-
Notifications
You must be signed in to change notification settings - Fork 13
/
rbme.spec
69 lines (57 loc) · 1.75 KB
/
rbme.spec
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
61
62
63
64
65
66
67
68
69
Summary: RSYNC BACKUP MADE EASY
Name: rbme
Version: 1.6
Release: 1
Source: rbme-%{version}.tar.gz
License: GPL
BuildArchitectures: noarch
Group: System/Archiving
Packager: Schlomo Schapiro <[email protected]>
Requires: rsync
%if 0%{?suse_version} != 0
Requires: ssh
BuildRequires: ssh
%else
Requires: openssh-clients procmail
BuildRequires: openssh-clients
%endif
URL: http://schapiro.org/schlomo/projects/rbme.php
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
RSYNC BACKUP MADE EASY is a rsync-based backup solution with integrated backup
disk space management to remove old backups when the disk gets full.
Creates nice reports to serve as daily backup overview.
See the project homepage at http://schapiro.org/schlomo/projects/rbme.php for
more details and examples.
%changelog
* Tue Aug 31 2009 Schlomo Schapiro
- Updated to rbme 1.6
- Fixed RPM dependancy for lockfile (provided by procmail)
* Thu Jun 04 2009 Schlomo Schapiro
- Updated to rbme 1.5
- Fixed RPM dependancies for ssh to work also for non-SUSE distros
* Tue Apr 07 2009 Schlomo Schapiro
- Removed Provides: rbme to build on suse 11.0++
* Tue May 20 2008 Schlomo Schapiro
- Version 1.4
* Thu Jan 03 2008 Schlomo Schapiro
- Version 1.3
* Thu Dec 27 2007 Schlomo Schapiro
- Version 1.2
* Sat Nov 10 2007 Schlomo Schapiro
- Version 1.1
* Tue Sep 12 2007 Schlomo Schapiro
- Initial Release
%prep
test "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / && rm -Rf "$RPM_BUILD_ROOT"
%setup
%install
export NO_BRP_STALE_LINK_ERROR=yes # don't fail on missing symlinks on newer SuSE systems
mkdir -p $RPM_BUILD_ROOT/{usr/bin,etc}
cp -a rbme $RPM_BUILD_ROOT/usr/bin
cp -a rbme.conf $RPM_BUILD_ROOT/etc
%files
%defattr(-,root,root)
%doc NEWS README LICENSE
/usr/bin/rbme
%config(noreplace) /etc/rbme.conf