]>
Commit | Line | Data |
---|---|---|
1e7b0b94 MWP |
1 | |
2 | Summary: Arnie | |
3 | Summary(pl): Arnie | |
4 | Name: arnie | |
5 | Version: 1.1 | |
6 | Release: 0.1 | |
7 | License: GPL | |
8 | Group: Applications | |
9 | Source0: http://furius.ca/downloads/arnie/%{name}-%{version}.tar.bz2 | |
10 | # Source0-md5: ec7de82fd1ebb8bb7d3535308c2cee4b | |
11 | URL: http://furius.ca/arnie/ | |
12 | #Requires: - | |
13 | #Obsoletes: - | |
14 | #Conflicts: - | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | arnie is a tremendously simple system for performing incremental | |
20 | backups to remote untrusted hosts, with support for encrypted | |
21 | files on the remote host. While our scripts are simple and recent, | |
22 | we believe they are robust and are in active use on the author's | |
23 | own servers, and we provide a comprehensive suite of tests to prove it. | |
24 | In addition, the following features are provided (see options): | |
25 | ||
26 | * Automatically compress archives in gzip or bzip2 format; | |
27 | * Automatically encrypt archives using a GnuPG key (specify the key Id | |
28 | or name); | |
29 | * Automatically send the archive file to a remote host using scp. This | |
30 | is just a convenience: alternatively you can capture the name of the | |
31 | archive and send it any way you like (ftp, other...); | |
32 | * Tracks and restores permissions changes on directories and files; | |
33 | * Works with empty directories; | |
34 | * Works with symbolic links; | |
35 | * An alternate location for the history file can be specified; | |
36 | * Regexp patterns for excluding files in the backup can be provided; | |
37 | * You can restore at any of the times the backups were made (the | |
38 | restore script has an option); | |
39 | * The archives are simply stored as GNU tar files, so you can open | |
40 | them manually if so desired. | |
41 | ||
42 | %description -l pl | |
43 | ||
44 | %prep | |
45 | %setup -q | |
46 | ||
47 | %build | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | install -d $RPM_BUILD_ROOT%{_bindir} | |
52 | install -d $RPM_BUILD_ROOT%{_docdir}/%{name} | |
53 | install bin/arnie-archive $RPM_BUILD_ROOT%{_bindir}/arnie-archive | |
54 | install bin/arnie-restore $RPM_BUILD_ROOT%{_bindir}/arnie-restore | |
55 | install doc/* $RPM_BUILD_ROOT%{_docdir}/%{name}/ | |
56 | ||
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %pre | |
62 | ||
63 | %post | |
64 | ||
65 | %preun | |
66 | ||
67 | %postun | |
68 | ||
69 | %files | |
70 | %defattr(644,root,root,755) | |
71 | %dir %attr(755,root,root) %{_docdir}/%{name} | |
72 | %doc %{_docdir}/%{name}/* | |
73 | %attr(755,root,root) %{_bindir}/* |