]>
Commit | Line | Data |
---|---|---|
13781963 | 1 | Summary: Mostly-transparent wrappers around another object |
1dd5fa5d | 2 | Name: Zope-Proxy |
3 | Version: 3.4.0 | |
13781963 | 4 | Release: 1 |
5 | License: ZPL 2.1 | |
6 | Group: Libraries/Python | |
1dd5fa5d | 7 | Source0: http://download.zope.org/distribution/zope.proxy-%{version}.tar.gz |
8 | # Source0-md5: a9e234e90bc4a16bb62b967d4a0412c6 | |
16fa8059 | 9 | URL: http://www.zope.org/ |
1dd5fa5d | 10 | BuildRequires: python |
11 | BuildRequires: python-devel | |
12 | %pyrequires_eq python-modules | |
13781963 | 13 | Requires: Zope-Interface |
1dd5fa5d | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
13781963 | 17 | Proxies are special objects which serve as mostly-transparent wrappers |
18 | around another object, intervening in the apparent behavior of the wrapped | |
19 | object only when necessary to apply the policy (e.g., access checking, | |
20 | location brokering, etc.) for which the proxy is responsible. | |
1dd5fa5d | 21 | |
22 | %prep | |
23 | %setup -q -n zope.proxy-%{version} | |
24 | ||
25 | %build | |
26 | python ./setup.py build | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | ||
31 | python ./setup.py install \ | |
32 | --optimize 2 \ | |
33 | --root=$RPM_BUILD_ROOT | |
34 | ||
35 | %{py_postclean} | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %{py_sitedir}/zope/proxy | |
43 | %{py_sitedir}/zope*egg* | |
44 | %{py_sitedir}/zope*pth |