Add doc, improve description

This commit is contained in:
Fabio Alessandro Locati 2016-01-07 12:33:48 +01:00
parent c2582bfe32
commit dbab34a651

View File

@ -26,23 +26,9 @@ BuildRequires: python3-six
BuildRequires: python3-pytest
%description
ConfigObj is a simple but powerful config file reader and writer: an ini file
ConfigObj is a simple but powerful configuration 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
* A powerful unrepr mode for storing basic datatypes
%package -n python2-%{pypi_name}
Summary: Config file reading, writing and validation
@ -50,23 +36,9 @@ Summary: Config file reading, writing and validation
Requires: python-six
%description -n python2-%{pypi_name}
ConfigObj is a simple but powerful config file reader and writer: an ini file
ConfigObj is a simple but powerful configuration 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
* A powerful unrepr mode for storing basic datatypes
%package -n python3-configobj
Summary: Config file reading, writing, and validation for Python 3
@ -74,23 +46,9 @@ Summary: Config file reading, writing, and validation for Python 3
Requires: python3-six
%description -n python3-configobj
ConfigObj is a simple but powerful config file reader and writer: an ini file
ConfigObj is a simple but powerful configuration 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
* A powerful unrepr mode for storing basic datatypes
%prep
%autosetup -n %{pypi_name}-%{version}
@ -112,14 +70,13 @@ py.test-%{python2_version} tests
py.test-%{python3_version} tests
%files -n python2-%{pypi_name}
%{!?_licensedir:%global license %doc}
%doc
%doc README.md
%license LICENSE
%{python2_sitelib}/*
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%files -n python3-%{pypi_name}
%doc
%doc README.md
%license LICENSE
%{python3_sitelib}/*
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info