Summary: Untrusted/encrypted backup using rsync algorithm
Summary(pl.UTF-8): Wykonywanie szyfrowanych kopii zapasowych przy użyciu algorytmu rsync
Name: duplicity
-Version: 0.4.11
+Version: 0.5.06
Release: 1
License: GPL
Group: Applications/Archiving
Source0: http://savannah.nongnu.org/download/duplicity/%{name}-%{version}.tar.gz
-# Source0-md5: 8891bb4fa2b5d3f053e6f2c4a91782f2
+# Source0-md5: 7363d8f1be770e0296c78badbffaa4b4
URL: http://www.nongnu.org/duplicity/
BuildRequires: librsync-devel
BuildRequires: python-devel >= 2.2.1
rm -rf $RPM_BUILD_ROOT
python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+# Remove *.py files. We don't package them.
+find $RPM_BUILD_ROOT%{py_sitedir}/%{name} -type f -name '*.py' -print0 | xargs -0 rm -f
+
+%find_lang %{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc CHANGELOG README
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*.1*
%dir %{py_sitedir}/duplicity
+%dir %{py_sitedir}/duplicity/backends
%{py_sitedir}/duplicity/*.py[co]
+%{py_sitedir}/duplicity/backends/*.py[co]
%attr(755,root,root) %{py_sitedir}/duplicity/*.so