diff --git a/.cvsignore b/.cvsignore index e69de29..42d6eeb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ZConfig-2.6.1.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..9771b2c --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +python-ZConfig-2_6_1-1_fc10:HEAD:python-ZConfig-2.6.1-1.fc10.src.rpm:1240799522 diff --git a/python-ZConfig.spec b/python-ZConfig.spec new file mode 100644 index 0000000..45477b4 --- /dev/null +++ b/python-ZConfig.spec @@ -0,0 +1,58 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: python-ZConfig +Version: 2.6.1 +Release: 1%{?dist} +Summary: Structured Configuration Library +Group: Development/Languages +License: ZPLv2.1 +URL: http://www.zope.org/Members/fdrake/zconfig/ +Source0: http://pypi.python.org/packages/source/Z/ZConfig/ZConfig-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel +BuildRequires: python-zope-testing + + +%description +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. + + +%prep +%setup -q -n ZConfig-%{version} + + +%build +%{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + + +%check +%{__python} setup.py test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc NEWS.txt doc/zconfig.pdf +%{python_sitelib}/* +%{_bindir}/zconfig +%{_bindir}/zconfig_schema2html + + +%changelog +* Sun Dec 14 2008 Conrad Meyer - 2.6.1-1 +- Initial package. diff --git a/sources b/sources index e69de29..5181d4b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9fcf43f4fe3432d49baa59f65b5d3b2c ZConfig-2.6.1.tar.gz