From 1a02da8c5d0eba9dc9f612ca325d2dae39aa5cb5 Mon Sep 17 00:00:00 2001 From: Denis Silakov Date: Sun, 24 Apr 2016 15:01:23 +0300 Subject: [PATCH] Imported from SRPM --- .abf.yml | 2 ++ python3-sphinx_rtd_theme.spec | 36 +++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .abf.yml create mode 100644 python3-sphinx_rtd_theme.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..227446a --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + sphinx_rtd_theme-0.1.9.tar.gz: 5ff7ea05d2f4172596f358cb9f89618e97a6107a diff --git a/python3-sphinx_rtd_theme.spec b/python3-sphinx_rtd_theme.spec new file mode 100644 index 0000000..696d668 --- /dev/null +++ b/python3-sphinx_rtd_theme.spec @@ -0,0 +1,36 @@ +%define module sphinx_rtd_theme + +Name: python3-%{module} +Version: 0.1.9 +Release: 1 +Summary: Sphinx theme for readthedocs.org +Group: Development/Python +License: MIT +URL: https://github.com/snide/sphinx_rtd_theme +Source0: https://pypi.python.org/packages/source/s/%{module}/%{module}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: pkgconfig(python3) +BuildRequires: python3egg(setuptools) + +%description +This is a prototype mobile-friendly sphinx theme for readthedocs.org. +It's currently in development and includes some rtd variable checks that +can be ignored if you're just trying to use it on your project outside +of that site. + +%prep +%setup -qn %{module}-%{version} + +# Remove bundled egg-info +rm -rf %{module}.egg-info + +%build +python3 setup.py build + +%install +python3 setup.py install --skip-build --root %{buildroot} + +%files +%doc README.rst LICENSE +%{py3_puresitedir}/%{module} +%{py3_puresitedir}/%{module}-%{version}-py%{py3_ver}.egg-info