From 38ad0305151431931f5ab47c3c0044f0e2d8d523 Mon Sep 17 00:00:00 2001 From: areq Date: Sun, 1 Dec 2002 12:33:47 +0000 Subject: [PATCH] - init PLD spec Changed files: duplicity.spec -> 1.1 --- duplicity.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 duplicity.spec diff --git a/duplicity.spec b/duplicity.spec new file mode 100644 index 0000000..7b5e9d0 --- /dev/null +++ b/duplicity.spec @@ -0,0 +1,50 @@ + +%include /usr/lib/rpm/macros.python + +Summary: Untrusted/encrypted backup using rsync algorithm +Name: duplicity +Version: 0.4.0 +Release: 1 +License: GPL +Group: Applications/Archiving +Source0: http://savannah.nongnu.org/download/duplicity/%{name}-%{version}.tar.gz +URL: http://www.nongnu.org/duplicity/ +BuildRequires: librsync-devel +BuildRequires: python-devel >= 2.2.1 +BuildRequires: rpm-pythonprov +Requires: gnupg +Requires: python >= 2.2 +Requires: python-modules +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Duplicity incrementally backs up files and directory by encrypting +tar-format volumes with GnuPG and uploading them to a remote (or +local) file server. In theory many remote backends are possible; right +now only the local or ssh/scp backend is written. Because duplicity +uses librsync, the incremental archives are space efficient and only +record the parts of files that have changed since the last backup. +Currently duplicity supports deleted files, full unix permissions, +directories, symbolic links, fifos, etc., but not hard links. + +%prep +%setup -q + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGELOG README +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/*.1* +%dir %{py_sitedir}/duplicity +%{py_sitedir}/duplicity/*.py[co] +%{py_sitedir}/duplicity/*.so -- 2.44.0