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