]>
Commit | Line | Data |
---|---|---|
18903eca | 1 | %define mainver 0.7 |
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 |
030a7a28 | 5 | Version: %{mainver}.11 |
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 |
030a7a28 | 10 | # Source0-md5: 9904a5bd8eb1d57d50ff1518a106dfc6 |
18903eca | 11 | Patch0: %{name}-backend-search.patch |
38ad0305 | 12 | URL: http://www.nongnu.org/duplicity/ |
09711e76 | 13 | BuildRequires: rpmbuild(macros) >= 1.710 |
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 |
70005007 | 20 | Requires: python-lockfile |
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 |
38ad0305 | 53 | |
54 | %build | |
4a94b722 | 55 | %py_build |
38ad0305 | 56 | |
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
38ad0305 | 59 | |
4a94b722 | 60 | %py_install |
16ad8a5a | 61 | |
f3031a71 | 62 | # Remove %{_datadir}/locale/io/LC_MESSAGES. It's not yet supported. |
0ecb9ed6 | 63 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/io |
16ad8a5a | 64 | |
9eb12f36 JR |
65 | %{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} |
66 | ||
2a3d997f MB |
67 | %py_postclean |
68 | ||
f920667e | 69 | %find_lang %{name} |
70 | ||
38ad0305 | 71 | %clean |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
f920667e | 74 | %files -f %{name}.lang |
38ad0305 | 75 | %defattr(644,root,root,755) |
76 | %doc CHANGELOG README | |
77 | %attr(755,root,root) %{_bindir}/* | |
78 | %{_mandir}/man1/*.1* | |
79 | %dir %{py_sitedir}/duplicity | |
16ad8a5a | 80 | %dir %{py_sitedir}/duplicity/backends |
b6898320 | 81 | %dir %{py_sitedir}/duplicity/backends/pyrax_identity |
38ad0305 | 82 | %{py_sitedir}/duplicity/*.py[co] |
16ad8a5a | 83 | %{py_sitedir}/duplicity/backends/*.py[co] |
b6898320 | 84 | %{py_sitedir}/duplicity/backends/pyrax_identity/*.py[co] |
8ef63093 | 85 | %attr(755,root,root) %{py_sitedir}/duplicity/*.so |
0ecb9ed6 | 86 | %if "%{pld_release}" != "ac" |
87 | %{py_sitedir}/duplicity-*.egg-info | |
88 | %endif |