]> git.pld-linux.org Git - packages/Zope-Proxy.git/blob - Zope-Proxy.spec
- fixed/add url
[packages/Zope-Proxy.git] / Zope-Proxy.spec
1 Summary:        Mostly-transparent wrappers around another object
2 Name:           Zope-Proxy
3 Version:        3.4.0
4 Release:        1
5 License:        ZPL 2.1
6 Group:          Libraries/Python
7 Source0:        http://download.zope.org/distribution/zope.proxy-%{version}.tar.gz
8 # Source0-md5:  a9e234e90bc4a16bb62b967d4a0412c6
9 URL:            http://www.zope.org/
10 BuildRequires:  python
11 BuildRequires:  python-devel
12 %pyrequires_eq  python-modules
13 Requires:       Zope-Interface
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Proxies are special objects which serve as mostly-transparent wrappers
18 around another object, intervening in the apparent behavior of the wrapped
19 object only when necessary to apply the policy (e.g., access checking,
20 location brokering, etc.) for which the proxy is responsible.
21
22 %prep
23 %setup -q -n zope.proxy-%{version}
24
25 %build
26 python ./setup.py build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 python ./setup.py install \
32         --optimize 2 \
33         --root=$RPM_BUILD_ROOT
34
35 %{py_postclean}
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %{py_sitedir}/zope/proxy
43 %{py_sitedir}/zope*egg*
44 %{py_sitedir}/zope*pth
This page took 0.212124 seconds and 4 git commands to generate.