diff --git a/python-sphinx-theme-alabaster.spec b/python-sphinx-theme-alabaster.spec index 219e5de..3e303ba 100644 --- a/python-sphinx-theme-alabaster.spec +++ b/python-sphinx-theme-alabaster.spec @@ -1,13 +1,10 @@ -%global pypi_name alabaster -%global srcname sphinx-theme-%{pypi_name} - -Name: python-%{srcname} +Name: python-sphinx-theme-alabaster Version: 0.7.13 Release: 1%{?dist} Summary: Configurable sidebar-enabled Sphinx theme License: BSD-3-Clause -URL: https://pypi.python.org/pypi/%{pypi_name} +URL: https://pypi.python.org/pypi/alabaster Source: %{pypi_source alabaster} BuildArch: noarch @@ -18,14 +15,14 @@ used in his Requests project), which was itself originally based on @mitsuhiko's theme used for Flask & related projects. -%package -n python%{python3_pkgversion}-%{srcname} +%package -n python%{python3_pkgversion}-sphinx-theme-alabaster Summary: Configurable sidebar-enabled Sphinx theme BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools -%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} +%{?python_provide:%python_provide python%{python3_pkgversion}-sphinx-theme-alabaster} -%description -n python%{python3_pkgversion}-%{srcname} +%description -n python%{python3_pkgversion}-sphinx-theme-alabaster This theme is a modified "Kr" Sphinx theme from @kennethreitz (especially as used in his Requests project), which was itself originally based on @mitsuhiko's theme used for Flask & related projects. @@ -33,10 +30,10 @@ theme used for Flask & related projects. %prep ls -alh -%setup -qn %{pypi_name}-%{version} +%setup -qn alabaster-%{version} # Remove bundled eggs -rm -rf %{pypi_name}.egg-info +rm -rf alabaster.egg-info %build @@ -47,11 +44,11 @@ rm -rf %{pypi_name}.egg-info %py3_install -%files -n python%{python3_pkgversion}-%{srcname} +%files -n python%{python3_pkgversion}-sphinx-theme-alabaster %license LICENSE %doc README.rst -%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ -%{python3_sitelib}/%{pypi_name}/ +%{python3_sitelib}/alabaster-%{version}-py%{python3_version}.egg-info/ +%{python3_sitelib}/alabaster/ %changelog