summaryrefslogtreecommitdiffstats
path: root/SPECS/python-sphinxcontrib-autoprogram.spec
diff options
context:
space:
mode:
Diffstat (limited to 'SPECS/python-sphinxcontrib-autoprogram.spec')
-rw-r--r--SPECS/python-sphinxcontrib-autoprogram.spec38
1 files changed, 16 insertions, 22 deletions
diff --git a/SPECS/python-sphinxcontrib-autoprogram.spec b/SPECS/python-sphinxcontrib-autoprogram.spec
index ab4387e..73a8f59 100644
--- a/SPECS/python-sphinxcontrib-autoprogram.spec
+++ b/SPECS/python-sphinxcontrib-autoprogram.spec
@@ -1,16 +1,15 @@
-# Created by pyp2rpm-3.1.3
%global pypi_name sphinxcontrib-autoprogram
Name: python-%{pypi_name}
Version: 0.1.2
Release: 1%{?dist}
-Summary: Documenting CLI programs
+Summary: Sphinx extension for documenting CLI programs
License: BSD
URL: https://bitbucket.org/birkenfeld/sphinx-contrib
Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
-
+
BuildRequires: python-setuptools
BuildRequires: python2-devel
BuildRequires: python2-six
@@ -22,37 +21,32 @@ BuildRequires: python3-six
BuildRequires: python3-sphinx
%description
-sphinxcontrib.autoprogram Documenting CLI programs This contrib extension,
-sphinxcontrib.autoprogram, provides an automated way to document CLI programs.
-It scans arparser.ArgumentParser object, and then expands it into a set of ..
-program:: and .. option:: directives.Install using pip:.. codeblock:: console $
-pip install sphinxcontribautoprogramYou can find the documentation from the ...
+This extension provides an automated way to document CLI programs.
+It scans ArgumentParser objects and then expands it into a set of
+program and option directives.
+
%package -n python2-%{pypi_name}
-Summary: Documenting CLI programs
+Summary: %{summary}
%{?python_provide:%python_provide python2-%{pypi_name}}
-
+
Requires: python-sphinx >= 1.2
Requires: python-six
%description -n python2-%{pypi_name}
-sphinxcontrib.autoprogram Documenting CLI programs This contrib extension,
-sphinxcontrib.autoprogram, provides an automated way to document CLI programs.
-It scans arparser.ArgumentParser object, and then expands it into a set of ..
-program:: and .. option:: directives.Install using pip:.. codeblock:: console $
-pip install sphinxcontribautoprogramYou can find the documentation from the ...
+This extension provides an automated way to document CLI programs.
+It scans ArgumentParser objects and then expands it into a set of
+program and option directives.
%package -n python3-%{pypi_name}
-Summary: Documenting CLI programs
+Summary: %{summary}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
-
+
Requires: python3-sphinx >= 1.2
Requires: python3-six
%description -n python3-%{pypi_name}
-sphinxcontrib.autoprogram Documenting CLI programs This contrib extension,
-sphinxcontrib.autoprogram, provides an automated way to document CLI programs.
-It scans arparser.ArgumentParser object, and then expands it into a set of ..
-program:: and .. option:: directives.Install using pip:.. codeblock:: console $
-pip install sphinxcontribautoprogramYou can find the documentation from the ...
+This extension provides an automated way to document CLI programs.
+It scans ArgumentParser objects and then expands it into a set of
+program and option directives.
%prep
%autosetup -n %{pypi_name}-%{version}