]> git.pld-linux.org Git - packages/etcbackup.git/blob - etcbackup.spec
- initial
[packages/etcbackup.git] / etcbackup.spec
1 Summary:        Incremental backups of /etc
2 Summary(pl):    Przyrostowe kopie zapasowe /etc
3 Name:           etcbackup
4 Version:        0.1
5 Release:        1
6 License:        GPL
7 Group:          Base/Utilities
8 Source0:        http://team.pld.org.pl/~wolf/%{name}
9 Requires:       diffutils
10 Requires:       gzip
11 Requires:       tar
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 BuildArch:      noarch
14
15 %description
16 Incremental backups of /etc. Use at your own risk.
17
18 %description -l pl
19 Przyrostowe kopie zapasowe /etc. U¿ywaj na w³asn± odpowiedzialno¶æ.
20
21 %install
22 rm -rf $RPM_BUILD_ROOT
23 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/cron.hourly}
24
25 install %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}
26
27 cat > $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly/etcbackup << EOF
28 #!/bin/sh
29 %{_bindir}/etcbackup
30 EOF
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %files
36 %defattr(644,root,root,755)
37 %attr(755,root,root) %{_bindir}/*
38 %attr(755,root,root) %{_sysconfdir}/cron.hourly/*
This page took 0.18051 seconds and 4 git commands to generate.