%global modname cloud_sptheme Name: python-cloud-sptheme Version: 1.5 Release: 1%{?dist} Summary: A nice sphinx theme named 'Cloud', and some related extensions Group: Development/Libraries License: BSD URL: http://pypi.python.org/pypi/%{modname} Source0: http://pypi.python.org/packages/source/c/%{modname}/%{modname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-sphinx Requires: python-sphinx %description This is a small package containing a Sphinx theme named "Cloud", along with some related Sphinx extensions. To see an example of the theme in action, check out it's documentation at http://packages.python.org/cloud_sptheme. %prep %setup -q -n %{modname}-%{version} # Remove bundled egg-info in case it exists rm -rf %{modname}.egg-info %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root=%{buildroot} %files %doc README LICENSE CHANGES docs/ %{python_sitelib}/%{modname}/ %{python_sitelib}/%{modname}-%{version}* %changelog * Mon Nov 12 2012 Ralph Bean - 1.5-1 - Initial package for Fedora