Line
Link Here
|
0 |
-- a/python-module-twisted-web2.spec |
0 |
++ b/python-module-twisted-web2.spec |
Lines 1-49
Link Here
|
1 |
%define version 0.2.0 |
1 |
%define version 0.2.0 |
2 |
%define release alt1 |
2 |
%define release alt1.1 |
3 |
%define origname TwistedWeb2 |
3 |
%define origname TwistedWeb2 |
4 |
%setup_python_module twisted-web2 |
4 |
%setup_python_module twisted-web2 |
5 |
|
5 |
|
6 |
Name: %{packagename} |
6 |
Name: %packagename |
7 |
Version: %{version} |
7 |
Version: %version |
8 |
Release: %{release} |
8 |
Release: %release |
9 |
Summary: Twisted HTTP/1.1 Server Framework, programmable in Python |
9 |
Summary: Twisted HTTP/1.1 Server Framework, programmable in Python |
10 |
|
10 |
|
11 |
Group: Development/Python |
11 |
Group: Development/Python |
12 |
License: MIT |
12 |
License: MIT |
13 |
URL: http://twistedmatrix.com/trac/wiki/TwistedWeb |
13 |
URL: http://twistedmatrix.com/trac/wiki/TwistedWeb |
14 |
Packager: Sergey Alembekov <rt@altlinux.ru> |
14 |
Packager: Sergey Alembekov <rt@altlinux.ru> |
15 |
Source0: http://tmrc.mit.edu/mirror/twisted/Web2/%{origname}-%{version}.tar.bz2 |
15 |
Source0: http://tmrc.mit.edu/mirror/twisted/Web2/%origname-%version.tar.bz2 |
16 |
|
16 |
|
17 |
BuildRequires: python-module-twisted-core |
17 |
BuildRequires: python-module-twisted-core |
18 |
BuildRequires: python-devel |
18 |
BuildRequires: python-devel |
19 |
|
19 |
|
20 |
Requires: python-module-twisted-core |
20 |
Requires: python-module-twisted-core |
21 |
#Requires: python-module-pygoogle |
|
|
22 |
|
23 |
#%add_python_req_skip SOAPpy |
24 |
|
21 |
|
25 |
%description |
22 |
%description |
26 |
Twisted.Web2 is the next generation web server built with Twisted. Web2 is under active development and its APIs should not be considered stable at this point. It is not a version of Twisted.Web and while the compatibility layer does support many, currently this is not the highest concern. |
23 |
Twisted.Web2 is the next generation web server built with |
|
|
24 |
Twisted. Web2 is under active development and its APIs should |
25 |
not be considered stable at this point. It is not a version |
26 |
of Twisted.Web and while the compatibility layer does support |
27 |
many, currently this is not the highest concern. |
27 |
|
28 |
|
28 |
%prep |
29 |
%prep |
29 |
%setup -q -n %{origname}-%{version} |
30 |
%setup -q -n %origname-%version |
30 |
|
31 |
|
31 |
%build |
32 |
%build |
32 |
%__python setup.py build |
33 |
%__python setup.py build |
33 |
|
34 |
|
34 |
%install |
35 |
%install |
35 |
%__python setup.py install --root $RPM_BUILD_ROOT |
36 |
%__python setup.py install --root $RPM_BUILD_ROOT --install-purelib %python_sitelibdir |
36 |
|
|
|
37 |
%clean |
38 |
|
37 |
|
39 |
%files |
38 |
%files |
40 |
%defattr(-,root,root,-) |
|
|
41 |
%doc README LICENSE NEWS doc/* |
39 |
%doc README LICENSE NEWS doc/* |
42 |
|
40 |
|
43 |
%{python_sitelibdir}/twisted/web2/ |
41 |
%python_sitelibdir/twisted/web2 |
44 |
|
42 |
|
45 |
%{python_sitelibdir}/twisted/plugins/twisted_web2.py* |
43 |
%python_sitelibdir/twisted/plugins/twisted_web2.py* |
46 |
|
44 |
|
47 |
%changelog |
45 |
%changelog |
|
|
46 |
* Sat Oct 27 2007 Nikolay A. Fetisov <naf@altlinux.ru> 0.2.0-alt1.1 |
47 |
- Fix build on x86_64 |
48 |
- Spec file cleanup |
49 |
|
48 |
* Fri Mar 30 2007 Sergey Alembekov <rt@altlinux.ru> 0.2.0-alt1 |
50 |
* Fri Mar 30 2007 Sergey Alembekov <rt@altlinux.ru> 0.2.0-alt1 |
49 |
- Build for new upstream version |
51 |
- Build for new upstream version |