automatic version update by autodist [release 5.0.4-1mamba;Tue Apr 15 2014]
This commit is contained in:
parent
4880fc0d83
commit
41730b2838
15
README.md
15
README.md
@ -1,2 +1,17 @@
|
||||
# python-configobj
|
||||
|
||||
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
|
||||
|
||||
|
79
python-configobj.spec
Normal file
79
python-configobj.spec
Normal file
@ -0,0 +1,79 @@
|
||||
Name: python-configobj
|
||||
Version: 5.0.4
|
||||
Release: 1mamba
|
||||
Summary: Config file reading, writing, and validation.
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.voidspace.org.uk/python/configobj.html
|
||||
Source: https://pypi.python.org/packages/source/c/configobj/configobj-%{version}.tar.gz
|
||||
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}/python%{python_version} \
|
||||
--install-lib=%{python_sitearch}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/configobj-%{version}-py%{python_version}.egg-info
|
||||
%{python_sitearch}/*.py
|
||||
%{python_sitearch}/*.pyc
|
||||
|
||||
%changelog
|
||||
* Tue Apr 15 2014 Automatic Build System <autodist@mambasoft.it> 5.0.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Apr 10 2014 Automatic Build System <autodist@mambasoft.it> 5.0.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Mar 11 2014 Automatic Build System <autodist@mambasoft.it> 5.0.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Feb 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.1-1mamba
|
||||
- update to 5.0.1
|
||||
|
||||
* Tue Jun 04 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.2-2mamba
|
||||
- python 2.7 mass rebuild
|
||||
|
||||
* Tue May 11 2010 Automatic Build System <autodist@mambasoft.it> 4.7.2-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 4.6.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sun Dec 07 2008 gil <puntogil@libero.it> 4.5.3-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user