1 %define name backupninja
4 Summary: Backupninja backup tool
9 Group: Applications/System
10 URL: http://dev.riseup.net/backupninja/
11 Source: %{name}-%{version}.tar.gz
12 Requires: bash, gawk, rdiff-backup, gzip
14 Packager: Petr Klima <Petr.Klima@madeta-group.cz>
15 BuildRoot: %{_tmppath}/%{name}-%{version}
19 Modular rdiff.backup tool
27 # this is necessary MAKEINSTALL rewrites @sysconfigdir@ atc.
32 mkdir -p "%{buildroot}%{_sysconfdir}/backup.d"
33 mkdir -p "%{buildroot}%{_localstatedir}/backups"
34 mkdir -p "%{buildroot}%{_localstatedir}/log"
35 touch "%{buildroot}%{_localstatedir}/log/backupninja.log"
41 %defattr(0750,root,root)
43 %{_datadir}/backupninja/*
44 %{_sysconfdir}/cron.d/backupninja
45 %{_sysconfdir}/logrotate.d/backupninja
47 %defattr(0600,root,root)
48 %config(noreplace) %{_sysconfdir}/backupninja.conf
49 %dir %{_sysconfdir}/backup.d
50 %dir %{_localstatedir}/backups
51 %ghost %{_localstatedir}/log/backupninja.log
53 %defattr(0644,root,root)
54 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
58 * Mon Apr 29 2002 Petr Klima <Petr.Klima@madeta-group.cz> 0.7.0