diff --git a/python-sphinx_lv2_theme.spec b/python-sphinx_lv2_theme.spec new file mode 100644 index 0000000..4df3994 --- /dev/null +++ b/python-sphinx_lv2_theme.spec @@ -0,0 +1,65 @@ +%global pypi_name sphinx_lv2_theme + +Name: python-%{pypi_name} +Version: 1.0.0 +Release: 1 +Summary: A minimal pure-CSS theme for Sphinx +License: ISC +URL: https://gitlab.com/lv2/%{pypi_name} +Source0: %{url}/-/archive/v%{version}/%{pypi_name}-v%{version}.tar.bz2 + +BuildArch: noarch + +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools + +%description +This is a minimal pure-CSS theme for Sphinx that uses the documentation +style of the LV2 plugin specification and related projects. + +This theme is geared toward producing beautiful API documentation for C, C++, +and Python that is documented using the standard Sphinx domains. +The output does not use Javascript at all, and some common features are not +implemented, so this theme should not be considered a drop-in replacement +for typical Sphinx themes. + + +%package -n python%{python3_pkgversion}-%{pypi_name} +Summary: %{summary} + +%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} + +%description -n python%{python3_pkgversion}-%{pypi_name} +This is a minimal pure-CSS theme for Sphinx that uses the documentation +style of the LV2 plugin specification and related projects. + +This theme is geared toward producing beautiful API documentation for C, C++, +and Python that is documented using the standard Sphinx domains. +The output does not use Javascript at all, and some common features are not +implemented, so this theme should not be considered a drop-in replacement +for typical Sphinx themes. + + +%prep +%autosetup -p1 -n %{pypi_name}-v%{version} + + +%build +%py3_build + + +%install +%py3_install + + +%files -n python%{python3_pkgversion}-%{pypi_name} +%license LICENSE +%doc README.md +# For noarch packages: sitelib +%{python3_sitelib}/%{pypi_name}/ +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ + + +%changelog +* Tue Dec 7 2021 Li Jingwei - 1.0.0-1 +- package init diff --git a/python-sphinx_lv2_theme.yaml b/python-sphinx_lv2_theme.yaml new file mode 100644 index 0000000..37363c8 --- /dev/null +++ b/python-sphinx_lv2_theme.yaml @@ -0,0 +1,5 @@ +version_control: gitlab +src_repo: LV2/sphinx_lv2_theme +tag_prefix: "^sphinx_lv2_theme" +separator: "." +url: https://gitlab.com/lv2/sphinx_lv2_theme.git \ No newline at end of file diff --git a/sphinx_lv2_theme-v1.0.0.tar.bz2 b/sphinx_lv2_theme-v1.0.0.tar.bz2 new file mode 100644 index 0000000..d4c868e Binary files /dev/null and b/sphinx_lv2_theme-v1.0.0.tar.bz2 differ