1 Summary: Mostly-transparent wrappers around another object
2 Summary(pl.UTF-8): Prawie przezroczyste obudowywanie innych obiektów
7 Group: Libraries/Python
8 Source0: http://download.zope.org/distribution/zope.proxy-%{version}.tar.gz
9 # Source0-md5: a9e234e90bc4a16bb62b967d4a0412c6
10 URL: http://www.zope.org/
11 BuildRequires: python >= 1:2.5
12 BuildRequires: python-devel >= 1:2.5
13 BuildRequires: rpm-pythonprov
14 BuildRequires: rpmbuild(macros) >= 1.219
15 %pyrequires_eq python-modules
16 Requires: Zope-Interface
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Proxies are special objects which serve as mostly-transparent wrappers
21 around another object, intervening in the apparent behavior of the
22 wrapped object only when necessary to apply the policy (e.g., access
23 checking, location brokering, etc.) for which the proxy is
26 %description -l pl.UTF-8
27 Proxy to specjalne obiekty służące jako prawie przezroczyste
28 obudowanie innego obiektu, wkraczające w zwykłe zachowanie
29 obudowywanego obiektu tylko w razie potrzeby, aby zastosować politykę
30 (np. kontrolę dostępu, pośredniczenie itp.), za którą odpowiada proxy.
33 %setup -q -n zope.proxy-%{version}
36 python ./setup.py build
39 rm -rf $RPM_BUILD_ROOT
41 python ./setup.py install \
43 --root=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %{py_sitedir}/zope/proxy
53 %{py_sitedir}/zope.proxy-*.egg-info
54 %{py_sitedir}/zope.proxy-*-nspkg.pth