34 lines
922 B
RPMSpec
34 lines
922 B
RPMSpec
%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 <dcallagh@redhat.com> - 1.1.7-1
|
|
- initial version
|