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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24869 - (show annotations) (download)
Wed Jan 19 22:01:14 2011 UTC (13 years, 3 months ago) by erwan
File size: 1277 byte(s)
imported package python-twisted-web
1 %define name python-twisted-web
2 %define version 10.1.0
3 %define rel 3
4 %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 # removed, cause problem regarding submodule for twisted
18 #BuildArch: noarch
19
20 %description
21 An HTTP protocol implementation together with clients and servers, based on
22 the twisted python framework.
23
24 %prep
25 %setup -q -n TwistedWeb-%{version}
26
27 %build
28 %__python setup.py build
29
30 %install
31 %__rm -rf %{buildroot}
32 %__python setup.py install --root=%{buildroot} --install-purelib=%{py_platsitedir}
33
34 %clean
35 %__rm -rf %{buildroot}
36
37 %files
38 %defattr(0755,root,root,0755)
39 %defattr(0644,root,root,0755)
40 %doc LICENSE README
41 %dir %py_platsitedir/twisted/web
42 %py_platsitedir/twisted/web/*
43 %py_platsitedir/twisted/plugins/*
44 %py_platsitedir/*.egg-info
45
46
47

  ViewVC Help
Powered by ViewVC 1.1.30