/[packages]/cauldron/python-twisted-web/current/SPECS/python-twisted-web.spec
ViewVC logotype

Annotation of /cauldron/python-twisted-web/current/SPECS/python-twisted-web.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 171288 - (hide annotations) (download)
Wed Nov 23 11:43:27 2011 UTC (12 years, 5 months ago) by philippem
File size: 1163 byte(s)
Update to 11.1.0
1 erwan 24869 %define name python-twisted-web
2 philippem 171288 %define version 11.1.0
3 ahmad 55767 %define rel 1
4 erwan 24869 %define mainver %(echo %{version} | sed -e 's/\\([0-9]*\\.[0-9]*\\)\\.[0-9]*/\\1/')
5    
6     Summary: An HTTP protocol implementation together with clients and servers
7     Name: %{name}
8     Version: %{version}
9     Release: %mkrel %{rel}
10     Source0: http://tmrc.mit.edu/mirror/twisted/Web/%{mainver}/TwistedWeb-%{version}.tar.bz2
11     License: MIT
12     Group: Development/Python
13     URL: http://twistedmatrix.com/projects/web/
14     BuildRoot: %{_tmppath}/%{name}-buildroot
15     BuildRequires: python-devel python-twisted-core
16     Requires: python-twisted-core
17    
18     %description
19     An HTTP protocol implementation together with clients and servers, based on
20     the twisted python framework.
21    
22     %prep
23     %setup -q -n TwistedWeb-%{version}
24    
25     %build
26     %__python setup.py build
27    
28     %install
29     %__rm -rf %{buildroot}
30     %__python setup.py install --root=%{buildroot} --install-purelib=%{py_platsitedir}
31    
32     %clean
33     %__rm -rf %{buildroot}
34    
35     %files
36     %defattr(0644,root,root,0755)
37     %doc LICENSE README
38     %dir %py_platsitedir/twisted/web
39     %py_platsitedir/twisted/web/*
40     %py_platsitedir/twisted/plugins/*
41     %py_platsitedir/*.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30