Name: python-configobj Version: 4.7.2 Release: 1mamba Summary: Config file reading, writing, and validation. Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: gil URL: http://www.voidspace.org.uk/python/configobj.html Source: http://downloads.sourceforge.net/configobj/configobj-%{version}.zip License: BSD Requires: python >= %python_version ## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description ConfigObj is a simple but powerful config file reader and writer: an ini file round tripper. Its main feature is that it is very easy to use, with a straightforward programmer's interface and a simple syntax for config files. It has lots of other features though : * Nested sections (subsections), to any level * List values * Multiple line values * String interpolation (substitution) * Integrated with a powerful validation system o including automatic type checking/conversion o repeated sections o and allowing default values * All comments in the file are preserved * The order of keys/sections is preserved * No external dependencies * Full unicode support %prep %setup -q -n configobj-%{version} %build %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python2.6 \ --install-lib=%{python_sitearch} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_libdir}/python2.6/site-packages/configobj-%{version}-py2.6.egg-info %{_libdir}/python2.6/site-packages/*.py %{_libdir}/python2.6/site-packages/*.pyc %changelog * Tue May 11 2010 Automatic Build System 4.7.2-1mamba - automatic update by autodist * Thu Jul 09 2009 Automatic Build System 4.6.0-1mamba - automatic update by autodist * Sun Dec 07 2008 gil 4.5.3-1mamba - package created by autospec