]> git.pld-linux.org Git - packages/PyFileServer.git/blame - PyFileServer.spec
- converted to UTF-8
[packages/PyFileServer.git] / PyFileServer.spec
CommitLineData
d6df6cfb 1Summary: A WebDAV server in Python
b12a1b42 2Summary(pl.UTF-8): Serwer WebDAV napisany w Pythonie
d6df6cfb 3Name: PyFileServer
4Version: 0.2.1
b6821af1 5Release: 1
d6df6cfb 6License: BSD
7Group: Networking/Daemons
8Source0: http://download.berlios.de/pyfilesync/PyFileServer-0.2.1.zip
9# Source0-md5: 7a46d3f94e05d81b4110e6d0780c642b
10URL: http://pyfilesync.berlios.de/pyfileserver.html
45788365 11Patch0: %{name}-setup_py.patch
d6df6cfb 12BuildRequires: python >= 2.3
896b5459 13BuildRequires: python-setuptools
d6df6cfb 14BuildRequires: unzip
15%pyrequires_eq python-modules
16Requires: python-PyXML
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
35a1569b
JB
21PyFileServer implements up to Class 2 of the WebDAV specification,
22including support for shared and exclusive write locking, and setting
23arbitrary dead properties. It also implements HTTP user authentication
24using both basic and digest schemes, HTTP single range retrievals and
d6df6cfb 25conditional processing headers (If_Match, If_Modified_Since, etc).
26
35a1569b 27PyFileServer also allows custom components to be developed easily by
d6df6cfb 28having clear interfaces for:
29 - Resource Abstraction Layer
30 - Lock Manager
31 - Property Manager
32 - Domain Controllers
33
b12a1b42
JR
34%description -l pl.UTF-8
35PyFileSerwer implementuje specyfikację WebDAV do klasy 2 włącznie,
36wraz z obsługą współdzielonych i wyłącznych blokad zapisu oraz
37ustawianiem dowolnych martwych własności. Implementuje także
38uwierzytelnianie użytkowników po HTTP przy użyciu schematów basic i
39digest, pojedyncze zakresy ściągania danych po HTTP oraz nagłówki
35a1569b
JB
40przetwarzania warunkowego (If_Match, If_Modified_Since itp.).
41
b12a1b42
JR
42PyFileServer pozwala także na łatwe tworzenie własnych komponentów
43udostę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)
d6df6cfb 48
49%prep
50%setup -q -n %{name}
45788365 51%patch0
d6df6cfb 52
53%build
b6821af1 54python setup.py build
d6df6cfb 55
56%install
57rm -rf $RPM_BUILD_ROOT
b6821af1 58python setup.py install \
59 --single-version-externally-managed \
60 --optimize=2 \
61 --root=$RPM_BUILD_ROOT
d6df6cfb 62
d6df6cfb 63
b6821af1 64
65install -d $RPM_BUILD_ROOT%{_bindir}
d6df6cfb 66echo "#!/usr/bin/python" > $RPM_BUILD_ROOT%{_bindir}/PyFileServer.py
67cat ext_wsgiutils_server.py >> $RPM_BUILD_ROOT%{_bindir}/PyFileServer.py
d6df6cfb 68%py_postclean
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%files
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
b6821af1 79%{py_sitescriptdir}/PyFileServer*
This page took 0.090366 seconds and 4 git commands to generate.