/[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 389214 - (show annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 2 months ago) by pterjan
File size: 1162 byte(s)
oops
1 %define name python-twisted-web
2 %define version 12.2.0
3 %define rel 2
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://twistedmatrix.com/Releases/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