File python-zopeinterface.spec of Package python-zopeinterface
#
# spec file for package python-zopeinterface (Version 3.3.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: python-zopeinterface
BuildRequires: python-devel
Summary: Python library for API definitions through interfaces
Version: 3.3.0
Release: 79
%define tarname zope.interface
Source: %{tarname}-%{version}.tar.bz2
License: Zope Public License
Group: Development/Libraries/Python
Url: http://www.zope.org/Products/ZopeInterface
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%description
Interfaces are objects that specify (document) the external behavior of
objects that "provide" them. An interface specifies behavior through:
- informal documentation in a doc string
- attribute definitions
- invariants, which are conditions that must hold for objects that
provide the interface
This is a separate distribution of the zope.interface package used in
Zope 3.
%prep
%setup -q -n %{tarname}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --record-rpm=INSTALLED_FILES --root="$RPM_BUILD_ROOT"
%clean
rm -rf "$RPM_BUILD_ROOT"
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README.txt
%changelog
* Tue Jun 03 2008 crrodriguez@suse.de
- needs fno-strict-aliasing
* Thu Aug 02 2007 jmatejek@suse.cz
- update to 3.3.0
* corresponds to new Zope versions
* adapter-lookup written in C to simplify application debugging
* various bugfixes
* Thu Oct 19 2006 jmatejek@suse.cz
- minor changes for better 64bit compatibility with PEP353
* Tue Feb 28 2006 jmatejek@suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Apr 14 2005 mcihar@suse.cz
- new package