]> git.pld-linux.org Git - packages/duplicity.git/blobdiff - duplicity.spec
- todo (does not work)
[packages/duplicity.git] / duplicity.spec
index 4e43d92ac06eca667e28ed33057edfcf2c87b998..e9170d6e06e11f034bc1be00af302a4920856854 100644 (file)
@@ -1,18 +1,26 @@
+# TODO:
+# UnsupportedBackendScheme: scheme not supported in url: file:///backup/duplicity/proba
 Summary:       Untrusted/encrypted backup using rsync algorithm
 Summary(pl.UTF-8):     Wykonywanie szyfrowanych kopii zapasowych przy użyciu algorytmu rsync
 Name:          duplicity
 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.8
-Release:       1
+Version:       0.6.08
+Release:       1.1
 License:       GPL
 Group:         Applications/Archiving
 Source0:       http://savannah.nongnu.org/download/duplicity/%{name}-%{version}.tar.gz
 License:       GPL
 Group:         Applications/Archiving
 Source0:       http://savannah.nongnu.org/download/duplicity/%{name}-%{version}.tar.gz
-# Source0-md5: ad4e39fea1a0c0df2d32f62f4d5453fa
+# Source0-md5: 31b9049fb553b17ac63883f3808f0a15
 URL:           http://www.nongnu.org/duplicity/
 URL:           http://www.nongnu.org/duplicity/
-BuildRequires: librsync-devel
+BuildRequires: librsync-devel >= 0.9.6
 BuildRequires: python-devel >= 2.2.1
 BuildRequires: python-devel >= 2.2.1
+BuildRequires: python-modules
+BuildRequires: rpm-pythonprov
 Requires:      gnupg
 Requires:      python >= 2.2
 Requires:      gnupg
 Requires:      python >= 2.2
+Requires:      python-gnupg >= 0.3.2
 Requires:      python-modules
 Requires:      python-modules
+Suggests:      ncftp
+Suggests:      python-boto >= 0.9d
+Suggests:      python-pexpect >= 2.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,7 +30,7 @@ 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.
 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,
+Currently duplicity supports deleted files, full Unix permissions,
 directories, symbolic links, fifos, etc., but not hard links.
 
 %description -l pl.UTF-8
 directories, symbolic links, fifos, etc., but not hard links.
 
 %description -l pl.UTF-8
@@ -47,14 +55,27 @@ python setup.py build
 rm -rf $RPM_BUILD_ROOT
 python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
 
 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
+
+# Remove /usr/share/locale/io/LC_MESSAGES. It's not yet supported.
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/io
+
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %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
 %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/*.py[co]
+%{py_sitedir}/duplicity/backends/*.py[co]
 %attr(755,root,root) %{py_sitedir}/duplicity/*.so
 %attr(755,root,root) %{py_sitedir}/duplicity/*.so
+%if "%{pld_release}" != "ac"
+%{py_sitedir}/duplicity-*.egg-info
+%endif
This page took 0.139878 seconds and 4 git commands to generate.