1 Summary: Python 'interface' concept implementation
2 Summary(pl.UTF-8): Implementacja interfejsów dla języka Python
7 Group: Libraries/Python
8 Source0: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
9 # Source0-md5: 1ddd308f2c83703accd1696158c300eb
10 URL: http://docs.zope.org/zope.interface/
12 BuildRequires: python-devel
13 BuildRequires: python-setuptools
14 BuildRequires: rpm-pythonprov
15 BuildRequires: rpmbuild(macros) >= 1.219
16 Requires: python-modules
17 # set this requirement explicitly, so people know where %py_sitedir/zope can be found
19 Provides: ZopeInterface
20 Obsoletes: ZopeInterface
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Python 'interface' concept implementation.
26 %description -l pl.UTF-8
27 Implementacja interfejsów (abstrakcyjnych reprezentacji klas) dla
31 %setup -q -n zope.interface-%{version}
37 rm -rf $RPM_BUILD_ROOT
40 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/*.c
41 %{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/common/tests
42 %{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/tests
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %dir %{py_sitedir}/zope/interface
53 %{py_sitedir}/zope/interface/*.py[co]
54 %attr(755,root,root) %{py_sitedir}/zope/interface/_zope_interface_coptimizations.so
55 %{py_sitedir}/zope/interface/common
56 %{py_sitedir}/zope.interface-*.egg-info
57 %{py_sitedir}/zope.interface-*-nspkg.pth