]>
Commit | Line | Data |
---|---|---|
635d4df2 | 1 | |
fb7b42d0 | 2 | # TODO: |
635d4df2 | 3 | # - pl desc, proper Group |
4 | # - apache, nginx, lightttpd, django modules? | |
5 | # - init script | |
4dbfa3ab | 6 | Summary: Fast WSGI server |
7 | Summary(pl.UTF-8): Szybki serwer WSGI | |
8 | Name: uwsgi | |
9 | Version: 0.9.4.3 | |
635d4df2 | 10 | Release: 0.1 |
4dbfa3ab | 11 | License: GPL v2 |
12 | Group: Networking/Daemons | |
13 | Source0: http://projects.unbit.it/downloads/%{name}-%{version}.tar.gz | |
14 | # Source0-md5: 5f6a7385138deccfd5f8a80f2e0dea04 | |
15 | URL: http://projects.unbit.it/uwsgi/ | |
fb7b42d0 | 16 | BuildRequires: libxml2-devel |
4dbfa3ab | 17 | BuildRequires: python-devel >= 1:2.6 |
635d4df2 | 18 | BuildRequires: python-modules |
4dbfa3ab | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | uWSGI is a fast (pure C), self-healing, developer-friendly WSGI | |
23 | server, aimed for professional python webapps deployment and | |
24 | development. Over time it has evolved in a complete stack for | |
25 | networked/clustered python applications, implementing message/object | |
26 | passing and process management. It uses the uwsgi (all lowercase) | |
27 | protocol for all the networking/interprocess communications. From the | |
28 | 0.9.5 release it includes a plugin loading technology that can be used | |
29 | to add support for other languages or platform. A Lua wsapi adaptor, a | |
30 | PSGI handler and an Erlang message exchanger are already available. | |
31 | ||
32 | %prep | |
33 | %setup -q | |
34 | ||
35 | %build | |
635d4df2 | 36 | %{__make} -f Makefile.Py26 \ |
37 | CC="%{__cc}" | |
4dbfa3ab | 38 | |
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
635d4df2 | 41 | install -D uwsgi26 $RPM_BUILD_ROOT%{_bindir}/uWSGI |
4dbfa3ab | 42 | |
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc ChangeLog | |
635d4df2 | 49 | %attr(755,root,root) %{_bindir}/uWSGI |