]> git.pld-linux.org Git - packages/etcbackup.git/blob - etcbackup.spec
- massive attack s/pld.org.pl/pld-linux.org/
[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 %prep
22
23 %install
24 rm -rf $RPM_BUILD_ROOT
25 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/cron.hourly}
26
27 install %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}
28
29 cat > $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly/etcbackup << EOF
30 #!/bin/sh
31 %{_bindir}/etcbackup
32 EOF
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %attr(755,root,root) %{_bindir}/*
40 %attr(755,root,root) %{_sysconfdir}/cron.hourly/*
This page took 0.061568 seconds and 3 git commands to generate.