From f9ad5ea0ca20f73cdcb2a925fbb961c5631e2a24 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Thu, 29 Oct 2020 12:29:24 -0700 Subject: [PATCH] Initial import (#1892411) --- .gitignore | 1 + python-sphinx-kr-theme.spec | 51 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+) create mode 100644 .gitignore create mode 100644 python-sphinx-kr-theme.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4374f69 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/sphinx-kr-theme-0.2.1.tar.gz diff --git a/python-sphinx-kr-theme.spec b/python-sphinx-kr-theme.spec new file mode 100644 index 0000000..2bda2b1 --- /dev/null +++ b/python-sphinx-kr-theme.spec @@ -0,0 +1,51 @@ +%global pypi_name sphinx-kr-theme + +Name: python-%{pypi_name} +Version: 0.2.1 +Release: 2%{?dist} +Summary: Kenneth Reitz's krTheme for Sphinx + +License: BSD +URL: https://github.com/tonyseek/sphinx-kr-theme +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) + +%description +This is a repackaging of Kenneth Reitz's krTheme, a theme for use in +Sphinx documentation, originally derived from Mitsuhiko's Flask theme. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +Requires: python3dist(setuptools) +%description -n python3-%{pypi_name} +This is a repackaging of Kenneth Reitz's krTheme, a theme for use in +Sphinx documentation, originally derived from Mitsuhiko's Flask theme. + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/sphinx_kr_theme +%{python3_sitelib}/sphinx_kr_theme-%{version}-py%{python3_version}.egg-info + +%changelog +* Wed Oct 28 2020 Davide Cavalca - 0.2.1-2 +- Use pypi_source +- Fix license + +* Wed Oct 28 2020 Davide Cavalca - 0.2.1-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..3d6cc12 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (sphinx-kr-theme-0.2.1.tar.gz) = 640df8fc51575cb07cf1413881326ebedcecf4e5c7c4b74fe0babb00a4409a038f7fd734db1265b69880a3669a7cfc9e9698b400865fffde85b25a3007dfce11