Blob Blame Raw
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-ZConfig
Version:        2.7.1
Release:        1%{?dist}
Summary:        Structured Configuration Library
Group:          Development/Languages
License:        ZPLv2.1
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  python-zope-testing

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.

%setup -q -n ZConfig-%{version}

%{__python} build

%{__python} install -O1 --skip-build --root $RPM_BUILD_ROOT

%{__python} test


%doc NEWS.txt doc/zconfig.pdf

* Thu Jun 18 2009 Conrad Meyer <> - 2.7.1-1
- New version.

* Sun Dec 14 2008 Conrad Meyer <> - 2.6.1-1
- Initial package.