1 %define name @PACKAGE_NAME@
2 %define version @PACKAGE_VERSION@
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
31 mkdir -p "%{buildroot}%{_sysconfdir}/backup.d"
32 mkdir -p "%{buildroot}%{_localstatedir}/backups"
33 mkdir -p "%{buildroot}%{_localstatedir}/log"
34 touch "%{buildroot}%{_localstatedir}/log/backupninja.log"
40 %defattr(-,root,root,-)
42 %{_datadir}/backupninja/*
43 %{_libdir}/backupninja/*
45 %config %{_sysconfdir}/cron.d/backupninja
46 %config %{_sysconfdir}/logrotate.d/backupninja
48 %config(noreplace) %{_sysconfdir}/backupninja.conf
49 %dir %{_localstatedir}/backups
51 %ghost %{_localstatedir}/log/backupninja.log
53 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
57 %defattr(0640,root,root,0750)
58 %dir %{_sysconfdir}/backup.d
62 * Sun Oct 14 2007 Adam Monsen <haircut@gmail.com> 0.9.5-1
63 - use cleanup steps during %install and %clean
64 * Mon Apr 29 2002 Petr Klima <Petr.Klima@madeta-group.cz> 0.7.0