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