]> git.pld-linux.org Git - packages/Zope-Proxy.git/blame - Zope-Proxy.spec
BR: rpmbuild(macros) >= 1.710
[packages/Zope-Proxy.git] / Zope-Proxy.spec
CommitLineData
13781963 1Summary: Mostly-transparent wrappers around another object
ede1d7e1 2Summary(pl.UTF-8): Prawie przezroczyste obudowywanie innych obiektów
1dd5fa5d 3Name: Zope-Proxy
02735468 4Version: 3.4.2
5b400729 5Release: 2
13781963 6License: ZPL 2.1
7Group: Libraries/Python
02735468 8Source0: http://pypi.python.org/packages/source/z/zope.proxy/zope.proxy-%{version}.zip
9# Source0-md5: ad51f25d4d86be7cfebb70bd77421f92
16fa8059 10URL: http://www.zope.org/
ede1d7e1
JB
11BuildRequires: python >= 1:2.5
12BuildRequires: python-devel >= 1:2.5
ecacf43c 13BuildRequires: python-setuptools
ede1d7e1 14BuildRequires: rpm-pythonprov
e91df711 15BuildRequires: rpmbuild(macros) >= 1.710
d209addb 16BuildRequires: unzip
1dd5fa5d 17%pyrequires_eq python-modules
13781963 18Requires: Zope-Interface
1dd5fa5d 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
13781963 22Proxies are special objects which serve as mostly-transparent wrappers
ede1d7e1
JB
23around another object, intervening in the apparent behavior of the
24wrapped object only when necessary to apply the policy (e.g., access
25checking, location brokering, etc.) for which the proxy is
26responsible.
27
28%description -l pl.UTF-8
29Proxy to specjalne obiekty służące jako prawie przezroczyste
30obudowanie innego obiektu, wkraczające w zwykłe zachowanie
31obudowywanego obiektu tylko w razie potrzeby, aby zastosować politykę
32(np. kontrolę dostępu, pośredniczenie itp.), za którą odpowiada proxy.
1dd5fa5d 33
34%prep
35%setup -q -n zope.proxy-%{version}
36
37%build
d145681d 38%py_build
1dd5fa5d 39
40%install
41rm -rf $RPM_BUILD_ROOT
42
d145681d 43%py_install
1dd5fa5d 44
ede1d7e1 45%py_postclean
cb65fed5
JB
46rm $RPM_BUILD_ROOT%{py_sitedir}/zope/proxy/*.[ch]
47rm -r $RPM_BUILD_ROOT%{py_sitedir}/zope/proxy/tests
1dd5fa5d 48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
cb65fed5
JB
54%dir %{py_sitedir}/zope/proxy
55%{py_sitedir}/zope/proxy/*.cfg
56%{py_sitedir}/zope/proxy/*.py[co]
57%attr(755,root,root) %{py_sitedir}/zope/proxy/_zope_proxy_proxy.so
ede1d7e1
JB
58%{py_sitedir}/zope.proxy-*.egg-info
59%{py_sitedir}/zope.proxy-*-nspkg.pth
cb65fed5
JB
60
61# -devel?
62#%{py_incdir}/zope.proxy
This page took 0.056461 seconds and 5 git commands to generate.