/[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 634469 - (show annotations) (download)
Sat Jun 7 17:32:56 2014 UTC (9 years, 10 months ago) by daviddavid
File size: 1205 byte(s)
clean spec file (SILENT)

1 %define mainver %(echo %{version} | sed -e 's/\\([0-9]*\\.[0-9]*\\)\\.[0-9]*/\\1/')
2 # we don't want to provide private python extension libs
3 %define _exclude_files_from_autoprov %{python_sitearch}/.*\\.so\\|%{python3_sitearch}/.*\\.so
4
5 %define module TwistedWeb
6
7 Name: python-twisted-web
8 Version: 13.2.0
9 Release: %mkrel 2
10 Summary: An HTTP protocol implementation together with clients and servers
11 License: MIT
12 Group: Development/Python
13 URL: http://twistedmatrix.com/projects/web/
14 Source0: http://twistedmatrix.com/Releases/Web/%{mainver}/%{module}-%{version}.tar.bz2
15 BuildRequires: python-devel
16 BuildRequires: python-twisted-core
17
18 Requires: python-twisted-core
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 %{module}-%{version}
26
27 %build
28 %{__python} setup.py build
29
30 %install
31 %{__python} setup.py install --root=%{buildroot} --skip-build --install-purelib=%{python_sitearch}
32
33
34 %files
35 %doc LICENSE README
36 %dir %{python_sitearch}/twisted/web
37 %{python_sitearch}/twisted/web/*
38 %{python_sitearch}/twisted/plugins/*
39 %{python_sitearch}/*.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30