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