]> git.pld-linux.org Git - packages/duplicity.git/blobdiff - duplicity.spec
- fixed mistake (BR -> R) mea culpa
[packages/duplicity.git] / duplicity.spec
index 20b9f16d950f5b98007e41b05a2d6a1b6e3ccfd6..555a04f445b8c4205df4519cbf3022368c3f1b4e 100644 (file)
@@ -1,21 +1,26 @@
+%define                mainver 0.6
 Summary:       Untrusted/encrypted backup using rsync algorithm
 Summary(pl.UTF-8):     Wykonywanie szyfrowanych kopii zapasowych przy użyciu algorytmu rsync
 Name:          duplicity
-Version:       0.5.09
-Release:       1
+Version:       %{mainver}.08b
+Release:       2
 License:       GPL
 Group:         Applications/Archiving
-Source0:       http://savannah.nongnu.org/download/duplicity/%{name}-%{version}.tar.gz
-# Source0-md5: b48c390825fba8ddc15bef4400f8e4f1
+Source0:       http://code.launchpad.net/duplicity/%{mainver}-series/%{version}/+download/%{name}-%{version}.tar.gz
+# Source0-md5: f4f4182ab71aa1de80c047bf1e4c7a04
+Patch0:                %{name}-pexpect.patch
+Patch1:                %{name}-backend-search.patch
 URL:           http://www.nongnu.org/duplicity/
 BuildRequires: librsync-devel >= 0.9.6
 BuildRequires: python-devel >= 2.2.1
+BuildRequires: python-modules
+BuildRequires: rpm-pythonprov
 Requires:      gnupg
 Requires:      python >= 2.2
-Requires:      python-modules
 Requires:      python-gnupg >= 0.3.2
+Requires:      python-modules
+Requires:      python-pexpect >= 2.1
 Suggests:      ncftp
-Suggests:      python-pexpect >= 2.1
 Suggests:      python-boto >= 0.9d
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -43,6 +48,8 @@ nie twarde dowiązania.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 python setup.py build
@@ -54,13 +61,15 @@ 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.
+# Remove %{_datadir}/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
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc CHANGELOG README
 %attr(755,root,root) %{_bindir}/*
This page took 0.121564 seconds and 4 git commands to generate.