source: projects/specs/trunk/p/python-twisted-web2/python-twisted-web2-vl.spec @ 521

Revision 521, 2.5 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2
3%define pkg_release     3%{?_dist_release}
4
5Summary:         Next generation web server framework built with Twisted
6Summary(ja):    Twisted で構築された次世代のウェブサーバ・フレームワーク
7Name:           python-twisted-web2
8Version:        8.1.0
9Release:        %{pkg_release}
10Source0:        http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/TwistedWeb2-%{version}.tar.bz2
11License:        MIT
12Group:          Development/Languages
13URL:            http://twistedmatrix.com/trac/
14
15Requires:       python, python-twisted
16BuildRequires:  python, python-devel, python-twisted
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18
19
20%description
21Twisted.Web2 is the next generation Web Server Framework built
22with Twisted.
23
24Web2 is under active development and it's APIs should not be
25considered stable at this point. It is not a version of Twisted.Web
26and with that in mind compatibility is not of the highest concern,
27though the compatibility layer does support many but not all
28twisted.web resources.
29
30%description -l ja
31Twisted.Web2 は Twisted で構築された次世代のウェブサーバ・フレーム
32ワークです。
33
34Web2 は今も活発な開発が行われおり、現時点では API が確定したとは
35いえません。またこれは Twisted.Web の派生バージョンではないので、
36Twisted.Web との互換性の確保はそれほど重要視されていません。
37そのため、互換性レイヤは Twisted.Web のリソースの、多くの部分を
38カバーしてはいますが、全ては網羅していません。
39
40
41%prep
42
43%setup -q -n TwistedWeb2-%{version}
44
45
46%build
47%{__python} setup.py build
48
49
50%install
51%{__rm} -rf ${RPM_BUILD_ROOT}
52#%%{__python} setup.py install --root ${RPM_BUILD_ROOT}
53%{__python} setup.py install --root ${RPM_BUILD_ROOT} --install-purelib=%{python_sitearch}
54
55
56%clean
57%{__rm} -rf ${RPM_BUILD_ROOT}
58
59
60%files
61%defattr(-,root,root)
62%doc LICENSE NEWS README doc/*
63%{python_sitearch}/twisted/web2
64#%{python_sitearch}/Twisted_Web2-8.1.0-py2.5.egg-info
65%{python_sitearch}/Twisted_Web2-8.1.0-py%{pyver}.egg-info
66%{python_sitearch}/twisted/plugins/twisted_web2.py*
67
68
69%changelog
70* Thu Feb 04 2010 Shu KONNO <owa@bg.wakwak.com> 8.1.0-3
71- rebuilt with python-2.6.4-3
72- fixed egg path
73
74* Wed Dec 31 2008 Shu KONNO <owa@bg.wakwak.com> 8.1.0-2
75- added '--install-purelib=%%{python_sitearch}' at %%install
76
77* Tue Dec 23 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 8.1.0-1
78- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.