]>
Commit | Line | Data |
---|---|---|
65cd1fb4 | 1 | %include /usr/lib/rpm/macros.perl |
2 | Summary: A Perl script for performing unattended incremental backups. | |
3 | Name: dobackup | |
4 | Version: 4.22 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Vendor: Webcon, Inc. | |
8 | Group: Applications/Archiving | |
9 | URL: http://www.webcon.ca/opensource/dobackup/ | |
10 | Source0: http://www.webcon.ca/opensource/dobackup/%{name}-%{version}.tar.gz | |
797d2641 | 11 | Patch0: %{name}-perl.patch |
65cd1fb4 | 12 | Requires: perl >= 5.6.0 |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | ||
17 | %description | |
18 | A flexible Perl script to handle unattended incremental backups of | |
19 | multiple servers. Handles multiple media sets with automatic media | |
20 | preparation and rotation, configurable 'what-to-backup', global | |
21 | exclusion patterns, user settable 'don't-backup-this-directory' | |
22 | metafiles. Design goal: zero-maintenance, nothing to do except change | |
23 | the media when told. | |
24 | ||
25 | %prep | |
26 | %setup -q | |
797d2641 | 27 | %patch0 -p1 |
65cd1fb4 | 28 | |
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | ||
32 | install -D dobackup.conf.sample ${RPM_BUILD_ROOT}%{_sysconfdir}/dobackup.conf | |
33 | install -D dobackup.pl ${RPM_BUILD_ROOT}%{_sbindir}/dobackup | |
34 | install -D dobackup.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/dobackup.8 | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %attr( 644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dobackup.conf | |
42 | %doc README* CHANGELOG BUGS TODO dobackup.conf.sample dobackup.cron | |
43 | %attr(755,root,root) %{_sbindir}/dobackup | |
44 | %{_mandir}/man8/* |