# $Id$ # Authority: matthias %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Summary: Zope interface package used in Zope 3 Name: python-zopeinterface Version: 3.1.0 Release: 0.2.c1 License: ZPL 2.1 Group: System Environment/Libraries URL: http://www.zope.org/Products/ZopeInterface Source: http://www.zope.org/Products/ZopeInterface/3.0.1final/ZopeInterface-%{version}c1.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: python-abi = %(%{__python} -c "import sys; print sys.version[:3]") BuildRequires: python-devel %description This is a separate distribution of the zope.interface package used in Zope 3, along with the packages it depends on. %prep %setup -n ZopeInterface-%{version}c1 %build %install %{__rm} -rf %{buildroot} %{__python} setup.py install --root=%{buildroot} %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc README.txt %{python_sitearch}/zope/*/*/*/*.py %{python_sitearch}/zope/*/*/*/*.pyc %ghost %{python_sitearch}/zope/*/*/*/*.pyo %{python_sitearch}/zope/*/*/*.py %{python_sitearch}/zope/*/*/*.pyc %ghost %{python_sitearch}/zope/*/*/*.pyo %{python_sitearch}/zope/*/*/*.txt %{python_sitearch}/zope/*/*.py %{python_sitearch}/zope/*/*.pyc %ghost %{python_sitearch}/zope/*/*.pyo %{python_sitearch}/zope/*/*.cfg %{python_sitearch}/zope/*/*.txt %{python_sitearch}/zope/*/_zope_interface_coptimizations.so %{python_sitearch}/zope/*.py %{python_sitearch}/zope/*.pyc %ghost %{python_sitearch}/zope/*.pyo %{python_sitearch}/zope/*.cfg %{python_sitearch}/zope/*.txt %changelog * Tue Feb 14 2006 Matthias Saou 3.1.0c1-1 - Initial RPM release.