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