]> git.pld-linux.org Git - packages/duplicity.git/blob - duplicity.spec
- init PLD spec
[packages/duplicity.git] / duplicity.spec
1
2 %include        /usr/lib/rpm/macros.python
3
4 Summary:        Untrusted/encrypted backup using rsync algorithm
5 Name:           duplicity
6 Version:        0.4.0
7 Release:        1
8 License:        GPL
9 Group:          Applications/Archiving
10 Source0:        http://savannah.nongnu.org/download/duplicity/%{name}-%{version}.tar.gz
11 URL:            http://www.nongnu.org/duplicity/
12 BuildRequires:  librsync-devel
13 BuildRequires:  python-devel >= 2.2.1
14 BuildRequires:  rpm-pythonprov
15 Requires:       gnupg
16 Requires:       python >= 2.2
17 Requires:       python-modules
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Duplicity incrementally backs up files and directory by encrypting
22 tar-format volumes with GnuPG and uploading them to a remote (or
23 local) file server. In theory many remote backends are possible; right
24 now only the local or ssh/scp backend is written. Because duplicity
25 uses librsync, the incremental archives are space efficient and only
26 record the parts of files that have changed since the last backup.
27 Currently duplicity supports deleted files, full unix permissions,
28 directories, symbolic links, fifos, etc., but not hard links.
29
30 %prep
31 %setup -q
32
33 %build
34 python setup.py build
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc CHANGELOG README
46 %attr(755,root,root) %{_bindir}/*
47 %{_mandir}/man1/*.1*
48 %dir %{py_sitedir}/duplicity
49 %{py_sitedir}/duplicity/*.py[co]
50 %{py_sitedir}/duplicity/*.so
This page took 0.042471 seconds and 3 git commands to generate.