1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
%define version 0.3 %define release alt2 %setup_python_module fapws2 Summary: Fast Asynchronous Python Web Server Name: %packagename Version: %version Release: %release Source0: %modulename-%version.tar License: BSD-style Group: Development/Python # Automatically added by buildreq on Wed Sep 24 2008 BuildRequires: libevent1.4-devel python-devel %description This is a python web server using the wonderfull libevent library. Thus this is yet an another asynchronous web server like Medusa, Twisted, Apricot. And fapws is a WSGI compliant web server. You can easly install them a memory limited machines (like VDS for example). %prep %setup -q -n %modulename-%version %build env CFLAGS="$RPM_OPT_FLAGS" LIBEVENT_SRC=/usr/include/libevent1.4-internal %__python setup.py build %install %__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES %files -f INSTALLED_FILES %defattr(-,root,root) %python_sitelibdir/%modulename %changelog * Wed Sep 24 2008 Ivan Fedorov <ns@altlinux.org> 0.3-alt2 - fixate building on x86_64 * Tue Sep 23 2008 Ivan Fedorov <ns@altlinux.org> 0.3-alt1 - Initial build for ALT Linux