Name: mod_wsgi Version: 2.6 Release: 1ark Summary: Apache httpd module for embedding a Python interpreter in the server URL: http://modwsgi.googlecode.com/ Source: http://modwsgi.googlecode.com/files/mod_wsgi-%version.tar.gz License: Apache 2.0 Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-root %description The aim of mod_wsgi is to implement a simple to use Apache module which can host any Python application which supports the Python WSGI interface. The module would be suitable for use in hosting high performance production web sites, as well as your average self managed personal sites running on web hosting services. %prep %setup -q aclocal autoconf %configure --with-apxs=%_sbindir/apxs %build make %?_smp_mflags %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%_libdir/httpd/modules $RPM_BUILD_ROOT%_sysconfdir/httpd/conf.d make install DESTDIR=$RPM_BUILD_ROOT cat >$RPM_BUILD_ROOT%_sysconfdir/httpd/conf.d/mod_wsgi.conf <<EOF LoadModule wsgi_module modules/mod_wsgi.so EOF %files %defattr(-,root,root) %_libdir/httpd/modules/* %config(noreplace) %_sysconfdir/httpd/conf.d/* %clean rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version} %changelog * Thu Jan 18 2007 Bernhard Rosenkraenzer <bero@arklinux.org> 3.3.0b-1ark - 3.3.0b - Build for python 2.5 * Sat May 6 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 3.2.8-2ark - Fix httpd 2.2.x support * Fri May 5 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 3.2.8-1ark - 3.2.8 * Thu Feb 9 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 3.2.5-2ark - fix apr_sockaddr_port_get too * Thu Feb 9 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 3.2.5-1ark - Update - fix APR_STATUS_IS_SUCCESS unresolved symbol * Tue Dec 6 2005 Bernhard Rosenkraenzer <bero@arklinux.org> 3.1.4-1ark - 3.1.4 - Build for httpd 2.2.0 * Fri Oct 31 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 3.1.2b-1ark - Update to 3.1.2 beta - 3.0.x doesn't work well with Python 2.3 * Thu Oct 30 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 3.0.3-1ark - initial RPM - changes from base: - Make it build with Python 2.3.x - Support DESTDIR in Makefiles