1 Summary: zope.interface package used in Zope 3
2 Summary(pl): Modu³ interface u¿ywany w Zope 3
7 Group: Development/Tools
8 Source0: http://www.zope.org/Products/ZopeInterface/%{version}final/%{name}-%{version}.tgz
9 # Source0-md5: 114f302c2b132d43ad4e01d108b4d192
10 URL: http://www.zope.org/Products/ZopeInterface/
12 BuildRequires: python-devel
13 %pyrequires_eq python-modules
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 zope.interface package used in Zope 3.
20 Modu³ interface u¿ywany w Zope 3.
26 python ./setup.py build
29 rm -rf $RPM_BUILD_ROOT
31 python ./setup.py install \
33 --root=$RPM_BUILD_ROOT
35 %py_comp $RPM_BUILD_ROOT%{py_sitedir}/zope
36 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/zope
38 find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
39 rm -rf $RPM_BUILD_ROOT/%{py_sitedir}/zope/README.txt
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
47 %{py_sitedir}/zope/*.cfg
48 %dir %{py_sitedir}/zope
49 %{py_sitedir}/zope/*.py[co]
50 %dir %{py_sitedir}/zope/interface
51 %{py_sitedir}/zope/interface/*.py[co]
52 %{py_sitedir}/zope/interface/*.cfg
53 %{py_sitedir}/zope/interface/*.so
54 %{py_sitedir}/zope/interface/*.txt
55 %dir %{py_sitedir}/zope/interface/common
56 %{py_sitedir}/zope/interface/common/*.py[co]
57 %dir %{py_sitedir}/zope/interface/common/tests
58 %{py_sitedir}/zope/interface/common/tests/*.py[co]
59 %dir %{py_sitedir}/zope/interface/tests
60 %{py_sitedir}/zope/interface/tests/*.py[co]
61 %{py_sitedir}/zope/interface/tests/*.txt
62 %dir %{py_sitedir}/zope/testing
63 %{py_sitedir}/zope/testing/*.py[co]