1 Summary: Mostly-transparent wrappers around another object
6 Group: Libraries/Python
7 Source0: http://download.zope.org/distribution/zope.proxy-%{version}.tar.gz
8 # Source0-md5: a9e234e90bc4a16bb62b967d4a0412c6
9 URL: http://pypi.python.org/pypi/zope.proxy/3.5.1
11 BuildRequires: python-devel
12 %pyrequires_eq python-modules
13 Requires: Zope-Interface
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
23 %setup -q -n zope.proxy-%{version}
26 python ./setup.py build
29 rm -rf $RPM_BUILD_ROOT
31 python ./setup.py install \
33 --root=$RPM_BUILD_ROOT
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
42 %{py_sitedir}/zope/proxy
43 %{py_sitedir}/zope*egg*
44 %{py_sitedir}/zope*pth