]>
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 |
18903eca | 5 | Version: %{mainver}.07.1 |
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 |
18903eca PS |
10 | # Source0-md5: 4f90bcd93f5e6ac1aa3f4519b28f5b89 |
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 |
60a58a2e | 20 | Requires: python-gnupg >= 0.3.2 |
70005007 | 21 | Requires: python-lockfile |
3e38e960 | 22 | Requires: python-modules |
ab5a57d6 | 23 | Requires: python-pexpect >= 2.1 |
2a3d997f | 24 | Suggests: lftp |
c78abc1a | 25 | Suggests: ncftp |
5aaf8ff3 | 26 | Suggests: python-boto >= 0.9d |
38ad0305 | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | Duplicity incrementally backs up files and directory by encrypting | |
31 | tar-format volumes with GnuPG and uploading them to a remote (or | |
32 | local) file server. In theory many remote backends are possible; right | |
33 | now only the local or ssh/scp backend is written. Because duplicity | |
34 | uses librsync, the incremental archives are space efficient and only | |
35 | record the parts of files that have changed since the last backup. | |
c1b11424 | 36 | Currently duplicity supports deleted files, full Unix permissions, |
38ad0305 | 37 | directories, symbolic links, fifos, etc., but not hard links. |
38 | ||
ca4eca4e JR |
39 | %description -l pl.UTF-8 |
40 | Duplicity wykonuje przyrostowe kopie zapasowe plików i katalogów | |
41 | poprzez szyfrowanie archiwów w formacie tar przy pomocy GnuPG i | |
42 | przesyłanie ich na zdalny (lub lokalny) serwer plików. W teorii można | |
43 | użyć wiele zdalnych backendów; aktualnie napisane są tylko backendy | |
44 | lokalny oraz ssh/scp. Ponieważ duplicity używa librsync, przyrostowe | |
45 | archiwa wydajnie wykorzystują miejsce dzięki zapisywaniu tylko tych | |
46 | części plików, które zmieniły się od wykonywania poprzedniej kopii. | |
47 | Aktualnie duplicity obsługuje pliki skasowane, pełny uniksowy system | |
48 | uprawnień, katalogi, dowiązania symboliczne, nazwane potoki itp. - ale | |
49 | nie twarde dowiązania. | |
22781442 | 50 | |
38ad0305 | 51 | %prep |
52 | %setup -q | |
07e9b93c | 53 | %patch0 -p1 |
38ad0305 | 54 | |
55 | %build | |
4a94b722 | 56 | %py_build |
38ad0305 | 57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
38ad0305 | 60 | |
4a94b722 | 61 | %py_install |
16ad8a5a | 62 | |
f3031a71 | 63 | # Remove %{_datadir}/locale/io/LC_MESSAGES. It's not yet supported. |
0ecb9ed6 | 64 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/io |
16ad8a5a | 65 | |
9eb12f36 JR |
66 | %{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} |
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 |