]>
Commit | Line | Data |
---|---|---|
71499fa8 | 1 | %define module medusa |
e9bccf8f | 2 | Summary: Framework for writing asynchronous socket-based servers |
9b2fede7 | 3 | Summary(pl.UTF-8): Szkielet do pisania asynchronicznych serwerów opartych na gniazdach |
71499fa8 | 4 | Name: python-%{module} |
750ce8df | 5 | Version: 0.5.4 |
27febaeb | 6 | Release: 7 |
ab36607e | 7 | License: BSD-like (see LICENSE.txt) |
750ce8df | 8 | Group: Development/Languages/Python |
29bf8f6e | 9 | Source0: https://pypi.python.org/packages/source/m/medusa/%{module}-%{version}.tar.gz |
750ce8df | 10 | # Source0-md5: 5d10505036bc38f8d4cb51d87516e069 |
11 | URL: http://www.amk.ca/python/code/medusa.html | |
af8b12cd | 12 | BuildRequires: python-devel >= 1:2.3 |
f12422d4 | 13 | BuildRequires: python-modules |
14 | BuildRequires: rpm-pythonprov | |
31940f7a | 15 | BuildRequires: rpmbuild(macros) >= 1.710 |
29bf8f6e | 16 | Requires: python-modules |
71499fa8 | 17 | BuildArch: noarch |
750ce8df | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
e9bccf8f JB |
21 | Medusa is an architecture for very-high-performance TCP/IP servers |
22 | (like HTTP, FTP, and SMTP). Medusa is different from most other | |
23 | servers because it runs as a single process, multiplexing I/O with its | |
24 | various client and server connections within a single process/thread. | |
25 | ||
09aadc9d JR |
26 | %description -l pl.UTF-8 |
27 | Medusa to architektura dla bardzo wysoko wydajnych serwerów TCP/IP | |
28 | (jak HTTP, FTP czy SMTP). Medusa od większości innych serwerów różni | |
29 | się tym, że działa jako pojedynczy proces, zwielokrotniający | |
30 | wejście/wyjście na różne połączenia klientów i serwerów z poziomu | |
31 | jednego procesu/wątku. | |
750ce8df | 32 | |
33 | %prep | |
71499fa8 | 34 | %setup -q -n %{module}-%{version} |
750ce8df | 35 | |
36 | %build | |
efdeee5d | 37 | %py_build |
750ce8df | 38 | |
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
efdeee5d | 41 | %py_install |
750ce8df | 42 | |
29bf8f6e | 43 | %py_postclean |
71499fa8 | 44 | |
750ce8df | 45 | %clean |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
e9bccf8f | 50 | %doc README.txt TODO.txt CHANGES.txt LICENSE.txt docs |
71499fa8 | 51 | %{py_sitescriptdir}/%{module} |
29bf8f6e | 52 | %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info |