]>
Commit | Line | Data |
---|---|---|
38ad0305 | 1 | Summary: Untrusted/encrypted backup using rsync algorithm |
6d436e60 | 2 | Summary(pl.UTF-8): Wykonywanie szyfrowanych kopii zapasowych przy użyciu algorytmu rsync |
38ad0305 | 3 | Name: duplicity |
f920667e | 4 | Version: 0.6.06 |
0b63a728 | 5 | Release: 1 |
38ad0305 | 6 | License: GPL |
7 | Group: Applications/Archiving | |
8 | Source0: http://savannah.nongnu.org/download/duplicity/%{name}-%{version}.tar.gz | |
f920667e | 9 | # Source0-md5: abbbbcde4af24efffbc218583d581453 |
38ad0305 | 10 | URL: http://www.nongnu.org/duplicity/ |
d11a1ff5 | 11 | BuildRequires: librsync-devel >= 0.9.6 |
38ad0305 | 12 | BuildRequires: python-devel >= 2.2.1 |
38ad0305 | 13 | Requires: gnupg |
14 | Requires: python >= 2.2 | |
15 | Requires: python-modules | |
60a58a2e | 16 | Requires: python-gnupg >= 0.3.2 |
c78abc1a | 17 | Suggests: ncftp |
5aaf8ff3 | 18 | Suggests: python-pexpect >= 2.1 |
19 | Suggests: python-boto >= 0.9d | |
38ad0305 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | Duplicity incrementally backs up files and directory by encrypting | |
24 | tar-format volumes with GnuPG and uploading them to a remote (or | |
25 | local) file server. In theory many remote backends are possible; right | |
26 | now only the local or ssh/scp backend is written. Because duplicity | |
27 | uses librsync, the incremental archives are space efficient and only | |
28 | record the parts of files that have changed since the last backup. | |
c1b11424 | 29 | Currently duplicity supports deleted files, full Unix permissions, |
38ad0305 | 30 | directories, symbolic links, fifos, etc., but not hard links. |
31 | ||
ca4eca4e JR |
32 | %description -l pl.UTF-8 |
33 | Duplicity wykonuje przyrostowe kopie zapasowe plików i katalogów | |
34 | poprzez szyfrowanie archiwów w formacie tar przy pomocy GnuPG i | |
35 | przesyłanie ich na zdalny (lub lokalny) serwer plików. W teorii można | |
36 | użyć wiele zdalnych backendów; aktualnie napisane są tylko backendy | |
37 | lokalny oraz ssh/scp. Ponieważ duplicity używa librsync, przyrostowe | |
38 | archiwa wydajnie wykorzystują miejsce dzięki zapisywaniu tylko tych | |
39 | części plików, które zmieniły się od wykonywania poprzedniej kopii. | |
40 | Aktualnie duplicity obsługuje pliki skasowane, pełny uniksowy system | |
41 | uprawnień, katalogi, dowiązania symboliczne, nazwane potoki itp. - ale | |
42 | nie twarde dowiązania. | |
22781442 | 43 | |
38ad0305 | 44 | %prep |
45 | %setup -q | |
46 | ||
47 | %build | |
48 | python setup.py build | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT | |
53 | ||
16ad8a5a | 54 | # Remove *.py files. We don't package them. |
55 | find $RPM_BUILD_ROOT%{py_sitedir}/%{name} -type f -name '*.py' -print0 | xargs -0 rm -f | |
56 | ||
0ecb9ed6 | 57 | # Remove /usr/share/locale/io/LC_MESSAGES. It's not yet supported. |
58 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/io | |
16ad8a5a | 59 | |
f920667e | 60 | %find_lang %{name} |
61 | ||
38ad0305 | 62 | %clean |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
f920667e | 65 | %files -f %{name}.lang |
38ad0305 | 66 | %defattr(644,root,root,755) |
67 | %doc CHANGELOG README | |
68 | %attr(755,root,root) %{_bindir}/* | |
69 | %{_mandir}/man1/*.1* | |
70 | %dir %{py_sitedir}/duplicity | |
16ad8a5a | 71 | %dir %{py_sitedir}/duplicity/backends |
38ad0305 | 72 | %{py_sitedir}/duplicity/*.py[co] |
16ad8a5a | 73 | %{py_sitedir}/duplicity/backends/*.py[co] |
8ef63093 | 74 | %attr(755,root,root) %{py_sitedir}/duplicity/*.so |
0ecb9ed6 | 75 | %if "%{pld_release}" != "ac" |
76 | %{py_sitedir}/duplicity-*.egg-info | |
77 | %endif |