/[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 688396 - (show annotations) (download)
Tue Sep 16 20:20:08 2014 UTC (6 years, 10 months ago) by umeabot
File size: 1242 byte(s)
Mageia 5 Mass Rebuild
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: 14.0.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 NEWS
36 %dir %{python_sitearch}/twisted/web
37 %{python_sitearch}/twisted/web/*
38 %{python_sitearch}/twisted/plugins/*
39 %{python_sitearch}/Twisted_Web-%{version}-py%{pyver}.egg-info

  ViewVC Help
Powered by ViewVC 1.1.28