Add doc, improve description
This commit is contained in:
parent
c2582bfe32
commit
dbab34a651
@ -26,23 +26,9 @@ BuildRequires: python3-six
|
|||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
|
|
||||||
%description
|
%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
|
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.
|
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}
|
%package -n python2-%{pypi_name}
|
||||||
Summary: Config file reading, writing and validation
|
Summary: Config file reading, writing and validation
|
||||||
@ -50,23 +36,9 @@ Summary: Config file reading, writing and validation
|
|||||||
|
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
%description -n python2-%{pypi_name}
|
%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
|
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.
|
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
|
%package -n python3-configobj
|
||||||
Summary: Config file reading, writing, and validation for Python 3
|
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
|
Requires: python3-six
|
||||||
%description -n python3-configobj
|
%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
|
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.
|
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
|
%prep
|
||||||
%autosetup -n %{pypi_name}-%{version}
|
%autosetup -n %{pypi_name}-%{version}
|
||||||
@ -112,14 +70,13 @@ py.test-%{python2_version} tests
|
|||||||
py.test-%{python3_version} tests
|
py.test-%{python3_version} tests
|
||||||
|
|
||||||
%files -n python2-%{pypi_name}
|
%files -n python2-%{pypi_name}
|
||||||
%{!?_licensedir:%global license %doc}
|
%doc README.md
|
||||||
%doc
|
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python2_sitelib}/*
|
%{python2_sitelib}/*
|
||||||
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-%{pypi_name}
|
||||||
%doc
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user