]> git.pld-linux.org Git - packages/duplicity.git/blob - duplicity.spec
- fix/remove bogus locales, rel 2
[packages/duplicity.git] / duplicity.spec
1 %define         mainver 0.7
2 Summary:        Untrusted/encrypted backup using rsync algorithm
3 Summary(pl.UTF-8):      Wykonywanie szyfrowanych kopii zapasowych przy użyciu algorytmu rsync
4 Name:           duplicity
5 Version:        %{mainver}.17
6 Release:        1
7 License:        GPL v2
8 Group:          Applications/Archiving
9 Source0:        http://code.launchpad.net/duplicity/%{mainver}-series/%{version}/+download/%{name}-%{version}.tar.gz
10 # Source0-md5:  b00ca0610ab163defe0098a65f3c361f
11 Patch0:         %{name}-backend-search.patch
12 URL:            http://www.nongnu.org/duplicity/
13 BuildRequires:  rpmbuild(macros) >= 1.710
14 BuildRequires:  librsync-devel >= 0.9.6
15 BuildRequires:  python-devel >= 1:2.3
16 BuildRequires:  python-modules
17 BuildRequires:  rpm-pythonprov
18 Requires:       gnupg
19 Requires:       python >= 1:2.3
20 Requires:       python-lockfile
21 Requires:       python-modules
22 Requires:       python-pexpect >= 2.1
23 Suggests:       lftp
24 Suggests:       ncftp
25 Suggests:       python-boto >= 0.9d
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.
35 Currently duplicity supports deleted files, full Unix permissions,
36 directories, symbolic links, fifos, etc., but not hard links.
37
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.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53
54 %build
55 %py_build
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %py_install
61
62 # Remove %{_datadir}/locale/io/LC_MESSAGES. It's not yet supported.
63 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/io
64
65 %{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
66
67 %py_postclean
68
69 %find_lang %{name}
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files -f %{name}.lang
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
80 %dir %{py_sitedir}/duplicity/backends
81 %dir %{py_sitedir}/duplicity/backends/pyrax_identity
82 %{py_sitedir}/duplicity/*.py[co]
83 %{py_sitedir}/duplicity/backends/*.py[co]
84 %{py_sitedir}/duplicity/backends/pyrax_identity/*.py[co]
85 %attr(755,root,root) %{py_sitedir}/duplicity/*.so
86 %if "%{pld_release}" != "ac"
87 %{py_sitedir}/duplicity-*.egg-info
88 %endif
This page took 0.084723 seconds and 3 git commands to generate.