/[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 634469 - (hide 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 erwan 24869 %define mainver %(echo %{version} | sed -e 's/\\([0-9]*\\.[0-9]*\\)\\.[0-9]*/\\1/')
2 philippem 491833 # we don't want to provide private python extension libs
3     %define _exclude_files_from_autoprov %{python_sitearch}/.*\\.so\\|%{python3_sitearch}/.*\\.so
4 erwan 24869
5 daviddavid 634469 %define module TwistedWeb
6    
7     Name: python-twisted-web
8     Version: 13.2.0
9     Release: %mkrel 2
10 erwan 24869 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 daviddavid 634469 Source0: http://twistedmatrix.com/Releases/Web/%{mainver}/%{module}-%{version}.tar.bz2
15     BuildRequires: python-devel
16     BuildRequires: python-twisted-core
17    
18 erwan 24869 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 daviddavid 634469 %setup -q -n %{module}-%{version}
26 erwan 24869
27     %build
28 daviddavid 634469 %{__python} setup.py build
29 erwan 24869
30     %install
31 daviddavid 634469 %{__python} setup.py install --root=%{buildroot} --skip-build --install-purelib=%{python_sitearch}
32 erwan 24869
33    
34     %files
35     %doc LICENSE README
36 philippem 491833 %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