]> git.pld-linux.org Git - packages/Zope-Proxy.git/blame - Zope-Proxy.spec
- BR: python-setuptools
[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
JB
14BuildRequires: rpm-pythonprov
15BuildRequires: rpmbuild(macros) >= 1.219
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
cb65fed5 38export CFLAGS="%{rpmcflags}"
1dd5fa5d 39python ./setup.py build
40
41%install
42rm -rf $RPM_BUILD_ROOT
43
44python ./setup.py install \
45 --optimize 2 \
46 --root=$RPM_BUILD_ROOT
47
ede1d7e1 48%py_postclean
cb65fed5
JB
49rm $RPM_BUILD_ROOT%{py_sitedir}/zope/proxy/*.[ch]
50rm -r $RPM_BUILD_ROOT%{py_sitedir}/zope/proxy/tests
1dd5fa5d 51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
cb65fed5
JB
57%dir %{py_sitedir}/zope/proxy
58%{py_sitedir}/zope/proxy/*.cfg
59%{py_sitedir}/zope/proxy/*.py[co]
60%attr(755,root,root) %{py_sitedir}/zope/proxy/_zope_proxy_proxy.so
ede1d7e1
JB
61%{py_sitedir}/zope.proxy-*.egg-info
62%{py_sitedir}/zope.proxy-*-nspkg.pth
cb65fed5
JB
63
64# -devel?
65#%{py_incdir}/zope.proxy
This page took 0.10573 seconds and 5 git commands to generate.