Summary: Mostly-transparent wrappers around another object
+Summary(pl.UTF-8): Prawie przezroczyste obudowywanie innych obiektów
Name: Zope-Proxy
Version: 3.4.0
Release: 1
Source0: http://download.zope.org/distribution/zope.proxy-%{version}.tar.gz
# Source0-md5: a9e234e90bc4a16bb62b967d4a0412c6
URL: http://www.zope.org/
-BuildRequires: python
-BuildRequires: python-devel
+BuildRequires: python >= 1:2.5
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
%pyrequires_eq python-modules
Requires: Zope-Interface
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Proxies are special objects which serve as mostly-transparent wrappers
-around another object, intervening in the apparent behavior of the wrapped
-object only when necessary to apply the policy (e.g., access checking,
-location brokering, etc.) for which the proxy is responsible.
+around another object, intervening in the apparent behavior of the
+wrapped object only when necessary to apply the policy (e.g., access
+checking, location brokering, etc.) for which the proxy is
+responsible.
+
+%description -l pl.UTF-8
+Proxy to specjalne obiekty służące jako prawie przezroczyste
+obudowanie innego obiektu, wkraczające w zwykłe zachowanie
+obudowywanego obiektu tylko w razie potrzeby, aby zastosować politykę
+(np. kontrolę dostępu, pośredniczenie itp.), za którą odpowiada proxy.
%prep
%setup -q -n zope.proxy-%{version}
--optimize 2 \
--root=$RPM_BUILD_ROOT
-%{py_postclean}
+%py_postclean
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%{py_sitedir}/zope/proxy
-%{py_sitedir}/zope*egg*
-%{py_sitedir}/zope*pth
+%{py_sitedir}/zope.proxy-*.egg-info
+%{py_sitedir}/zope.proxy-*-nspkg.pth