Summary: A WebDAV server in Python
-Summary(pl.UTF-8): Serwer WebDAV napisany w Pythonie
+Summary(pl.UTF-8): Serwer WebDAV napisany w Pythonie
Name: PyFileServer
Version: 0.2.1
Release: 1
Source0: http://download.berlios.de/pyfilesync/PyFileServer-0.2.1.zip
# Source0-md5: 7a46d3f94e05d81b4110e6d0780c642b
URL: http://pyfilesync.berlios.de/pyfileserver.html
+BuildRequires: rpmbuild(macros) >= 1.710
Patch0: %{name}-setup_py.patch
BuildRequires: python >= 2.3
BuildRequires: python-setuptools
%patch0
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
+%py_install \
--single-version-externally-managed \
--optimize=2 \
--root=$RPM_BUILD_ROOT