From 5649a4781fc1198a82c0214ff517d39e4286e28f Mon Sep 17 00:00:00 2001 From: Dan Callaghan Date: Mon, 11 Feb 2013 15:03:22 +1000 Subject: [PATCH] initial version --- .gitignore | 1 + python-sphinxcontrib-httpdomain.spec | 33 ++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 35 insertions(+) create mode 100644 python-sphinxcontrib-httpdomain.spec diff --git a/.gitignore b/.gitignore index e69de29..cdde900 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/sphinxcontrib-httpdomain-1.1.7.tar.gz diff --git a/python-sphinxcontrib-httpdomain.spec b/python-sphinxcontrib-httpdomain.spec new file mode 100644 index 0000000..109b86b --- /dev/null +++ b/python-sphinxcontrib-httpdomain.spec @@ -0,0 +1,33 @@ +%global upstream_name sphinxcontrib-httpdomain + +Name: python-%{upstream_name} +Version: 1.1.7 +Release: 1%{?dist} +Summary: Sphinx domain for documenting HTTP APIs +License: BSD +URL: http://packages.python.org/sphinxcontrib-httpdomain/ +Source0: http://pypi.python.org/packages/source/s/%{upstream_name}/%{upstream_name}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: python2-devel +BuildRequires: python-setuptools + +%description +Using this Sphinx domain you can document your HTTP API. It includes support +for generating documentation from Flask routing tables. + +%prep +%setup -q -n %{upstream_name}-%{version} + +%build +%{__python} setup.py build + +%install +%{__python} setup.py install --skip-build --root %{buildroot} + +%files +%doc README LICENSE +%{python_sitelib}/* + +%changelog +* Mon Feb 11 2013 Dan Callaghan - 1.1.7-1 +- initial version diff --git a/sources b/sources index e69de29..5a27a21 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +12704b125541580477b6b4df6780fbe7 ./sphinxcontrib-httpdomain-1.1.7.tar.gz