- new spec
authorjpc <jpc@pld-linux.org>
Mon, 5 Sep 2005 00:32:19 +0000 (00:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PyFileServer.spec -> 1.1

PyFileServer.spec [new file with mode: 0644]

diff --git a/PyFileServer.spec b/PyFileServer.spec
new file mode 100644 (file)
index 0000000..7612b23
--- /dev/null
@@ -0,0 +1,64 @@
+#
+# TODO:
+# - check if PyXML is really required during build
+#
+Summary:       A WebDAV server in Python
+Summary(pl):   Serwer WebDAV napisany w Pythonie
+Name:          PyFileServer
+Version:       0.2.1
+Release:       0.1
+License:       BSD
+Group:         Networking/Daemons
+Source0:       http://download.berlios.de/pyfilesync/PyFileServer-0.2.1.zip
+# Source0-md5: 7a46d3f94e05d81b4110e6d0780c642b
+URL:           http://pyfilesync.berlios.de/pyfileserver.html
+BuildRequires: python >= 2.3
+BuildRequires: unzip
+%pyrequires_eq python-modules
+Requires:      python-PyXML
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PyFileServer  implements up  to  Class 2  of  the WebDAV  specification,
+including support  for shared and  exclusive write locking,  and setting
+arbitrary dead  properties. It also implements  HTTP user authentication
+using both  basic and digest  schemes, HTTP single range  retrievals and
+conditional processing headers (If_Match, If_Modified_Since, etc).
+
+PyFileServer also  allows custom  components to  be developed  easily by
+having clear interfaces for:
+ - Resource Abstraction Layer
+ - Lock Manager
+ - Property Manager
+ - Domain Controllers
+
+#description -l pl
+
+%prep
+%setup -q -n %{name}
+
+%build
+%py_comp pyfileserver/
+%py_ocomp pyfileserver/
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_bindir}}
+
+cp -r pyfileserver $RPM_BUILD_ROOT%{py_sitescriptdir}
+echo "#!/usr/bin/python" > $RPM_BUILD_ROOT%{_bindir}/PyFileServer.py
+cat ext_wsgiutils_server.py >> $RPM_BUILD_ROOT%{_bindir}/PyFileServer.py
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ADDONS.txt DEVELOPERS.txt PyFileServer-example.conf README.txt 
+%doc THANKS.txt TODO.txt TUTORIAL.txt
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/pyfileserver
This page took 0.043955 seconds and 4 git commands to generate.