1 Summary: A WebDAV server in Python
2 Summary(pl): Serwer WebDAV napisany w Pythonie
7 Group: Networking/Daemons
8 Source0: http://download.berlios.de/pyfilesync/PyFileServer-0.2.1.zip
9 # Source0-md5: 7a46d3f94e05d81b4110e6d0780c642b
10 URL: http://pyfilesync.berlios.de/pyfileserver.html
11 Patch0: %{name}-setup_py.patch
12 BuildRequires: python >= 2.3
13 BuildRequires: python-setuptools
15 %pyrequires_eq python-modules
16 Requires: python-PyXML
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 PyFileServer implements up to Class 2 of the WebDAV specification,
22 including support for shared and exclusive write locking, and setting
23 arbitrary dead properties. It also implements HTTP user authentication
24 using both basic and digest schemes, HTTP single range retrievals and
25 conditional processing headers (If_Match, If_Modified_Since, etc).
27 PyFileServer also allows custom components to be developed easily by
28 having clear interfaces for:
29 - Resource Abstraction Layer
35 PyFileSerwer implementuje specyfikacjê WebDAV do klasy 2 w³±cznie,
36 wraz z obs³ug± wspó³dzielonych i wy³±cznych blokad zapisu oraz
37 ustawianiem dowolnych martwych w³asno¶ci. Implementuje tak¿e
38 uwierzytelnianie u¿ytkowników po HTTP przy u¿yciu schematów basic i
39 digest, pojedyncze zakresy ¶ci±gania danych po HTTP oraz nag³ówki
40 przetwarzania warunkowego (If_Match, If_Modified_Since itp.).
42 PyFileServer pozwala tak¿e na ³atwe tworzenie w³asnych komponentów
43 udostêpniaj±c przejrzyste interfejsy do:
44 - warstwy abstrakcji zasobów (Resource Abstraction Layer)
45 - zarz±dcy blokad (Lock Manager)
46 - zarz±dcy w³asno¶ci (Property Manager)
47 - kontrolerów domen (Domain Controllers)
57 rm -rf $RPM_BUILD_ROOT
58 python setup.py install \
59 --single-version-externally-managed \
61 --root=$RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT%{_bindir}
66 echo "#!/usr/bin/python" > $RPM_BUILD_ROOT%{_bindir}/PyFileServer.py
67 cat ext_wsgiutils_server.py >> $RPM_BUILD_ROOT%{_bindir}/PyFileServer.py
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
75 %doc ADDONS.txt DEVELOPERS.txt PyFileServer-example.conf README.txt
76 %doc THANKS.txt TODO.txt TUTORIAL.txt
77 %attr(755,root,root) %{_bindir}/*
78 %{py_sitescriptdir}/pyfileserver
79 %{py_sitescriptdir}/PyFileServer*