File python-zodb3.spec of Package python-zodb3
#
# spec file for package python-zodb3
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define modname ZODB3
Name: python-zodb3
Url: http://www.zope.org/Wikis/ZODB
Summary: Zope Object Database: object database and persistence
Version: 3.6.0
Release: 4
Group: Development/Libraries/Python
License: ZPL-2.0
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
Requires: python-zconfig python-zopeinterface
BuildRequires: python-devel python-xml
%description
The Zope Object Database provides an object-oriented database for
Python that provides a high-degree of transparency. Applications can
take advantage of object database features with few, if any, changes
to application logic. ZODB includes features such as a plugable storage
interface, rich transaction support, and undo.
Authors:
--------
Zope Corporation <zodb-dev@zope.org>
%package -n python-zconfig
License: ZPL-2.0
Summary: Python configuration module from Zope
Group: Development/Libraries/Python
%{py_requires}
%description -n python-zconfig
ZConfig is a configuration library intended for general use. It supports a
hierarchical schema-driven configuration model that allows a schema to specify
data conversion routines written in Python. ZConfig's model is very different
from the model supported by the ConfigParser module found in Python's standard
library, and is more suitable to configuration-intensive applications.
ZConfig schema are written in an XML-based language and are able to "import"
schema components provided by Python packages. Since components are able to
bind to conversion functions provided by Python code in the package (or
elsewhere), configuration objects can be arbitrarily complex, with values that
have been verified against arbitrary constraints. This makes it easy for
applications to separate configuration support from configuration loading even
with configuration data being defined and consumed by a wide range of separate
packages.
Authors:
--------
Zope Corporation <zodb-dev@zope.org>
%prep
%setup -q -n %{modname}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
# zope.testing.testrunner appears to be missing in OSL10
#python test.py -vv -p --all
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT%{py_sitedir}/zope
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc COPYRIGHT.txt LICENSE.txt NEWS.txt README.txt doc
%_bindir/analyze.py
%_bindir/checkbtrees.py
%_bindir/fsdump.py
%_bindir/fsrefs.py
%_bindir/fsoids.py
%_bindir/fsstats.py
%_bindir/fstail.py
%_bindir/fstest.py
%_bindir/migrate.py
%_bindir/mkzeoinst.py
%_bindir/netspace.py
%_bindir/parsezeolog.py
%_bindir/repozo.py
%_bindir/runzeo.py
%_bindir/simul.py
%_bindir/space.py
%_bindir/stats.py
%_bindir/timeout.py
%_bindir/zdctl.py
%_bindir/zdrun.py
%_bindir/zeoctl.py
%_bindir/zeopack.py
%_bindir/zeopasswd.py
%_bindir/zeoqueue.py
%_bindir/zeoreplay.py
%_bindir/zeoserverlog.py
%_bindir/zeoup.py
%_bindir/zodbload.py
%{py_incdir}/persistent
%{py_sitedir}/BTrees
%{py_sitedir}/ThreadedAsync
%{py_sitedir}/ZEO
%{py_sitedir}/ZODB
%{py_sitedir}/ZopeUndo
%{py_sitedir}/persistent
%{py_sitedir}/transaction
%{py_sitedir}/zdaemon
%{py_sitedir}/%{modname}-%{version}-py%{py_ver}.egg-info
%files -n python-zconfig
%defattr(-,root,root)
%doc Dependencies/ZConfig-ZODB3-%{version}/doc
%doc Dependencies/ZConfig-ZODB3-%{version}/*.txt
%_bindir/zconfig
%_bindir/zconfig_schema2html
%{py_sitedir}/ZConfig
%changelog