summaryrefslogtreecommitdiff
path: root/python-mkdocs-techdocs-core.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 22:24:05 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 22:24:05 +0000
commit4620afe37922630258f62882740bd5c54777be36 (patch)
treed9de63352a864f823e401901b98cc8f4b1de19e2 /python-mkdocs-techdocs-core.spec
parentb61b8c7b2a72ee510a9f60244cae0697bd96560e (diff)
automatic import of python-mkdocs-techdocs-core
Diffstat (limited to 'python-mkdocs-techdocs-core.spec')
-rw-r--r--python-mkdocs-techdocs-core.spec153
1 files changed, 153 insertions, 0 deletions
diff --git a/python-mkdocs-techdocs-core.spec b/python-mkdocs-techdocs-core.spec
new file mode 100644
index 0000000..ec1ad47
--- /dev/null
+++ b/python-mkdocs-techdocs-core.spec
@@ -0,0 +1,153 @@
+%global _empty_manifest_terminate_build 0
+Name: python-mkdocs-techdocs-core
+Version: 1.2.0
+Release: 1
+Summary: The core MkDocs plugin used by Backstage's TechDocs as a wrapper around multiple MkDocs plugins and Python Markdown extensions
+License: Apache-2.0
+URL: https://github.com/backstage/mkdocs-techdocs-core
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2b/da/28e294843535838eb56d676395ea216b146879b79110a27bb86416ca7d3f/mkdocs-techdocs-core-1.2.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-mkdocs
+Requires: python3-Markdown
+Requires: python3-mkdocs-material
+Requires: python3-mkdocs-monorepo-plugin
+Requires: python3-plantuml-markdown
+Requires: python3-markdown-inline-graphviz-extension
+Requires: python3-mdx-truly-sane-lists
+Requires: python3-pygments
+Requires: python3-pymdown-extensions
+
+%description
+ ```java
+ public void function() {
+ }
+ ```
+````
+The pymdownx extension will be bumped too 8.0.0 in the near future.
+- pymdownx.tabbed is added to support tabs to group markdown content, such as codeblocks.
+- "PyMdown Extensions includes three extensions that are meant to replace their counterpart in the default Python Markdown extensions." Therefore some extensions has been taken away in this version that comes by default from pymdownx.extra which is added now (https://facelessuser.github.io/pymdown-extensions/usage_notes/#incompatible-extensions)
+### 0.0.7
+- Fix an issue with configuration of emoji support
+### 0.0.6
+- Further adjustments to versions to find ones that are compatible
+### 0.0.5
+- Downgrade some versions of markdown extensions to versions that are more stable
+### 0.0.4
+- Added support for more mkdocs extensions
+ - mkdocs-material
+ - mkdocs-monorepo-plugin
+ - plantuml-markdown
+ - markdown_inline_graphviz_extension
+ - pygments
+ - pymdown-extensions
+## License
+Copyright 2020-2021 © The Backstage Authors. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page: https://www.linuxfoundation.org/trademark-usage
+Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
+
+%package -n python3-mkdocs-techdocs-core
+Summary: The core MkDocs plugin used by Backstage's TechDocs as a wrapper around multiple MkDocs plugins and Python Markdown extensions
+Provides: python-mkdocs-techdocs-core
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-mkdocs-techdocs-core
+ ```java
+ public void function() {
+ }
+ ```
+````
+The pymdownx extension will be bumped too 8.0.0 in the near future.
+- pymdownx.tabbed is added to support tabs to group markdown content, such as codeblocks.
+- "PyMdown Extensions includes three extensions that are meant to replace their counterpart in the default Python Markdown extensions." Therefore some extensions has been taken away in this version that comes by default from pymdownx.extra which is added now (https://facelessuser.github.io/pymdown-extensions/usage_notes/#incompatible-extensions)
+### 0.0.7
+- Fix an issue with configuration of emoji support
+### 0.0.6
+- Further adjustments to versions to find ones that are compatible
+### 0.0.5
+- Downgrade some versions of markdown extensions to versions that are more stable
+### 0.0.4
+- Added support for more mkdocs extensions
+ - mkdocs-material
+ - mkdocs-monorepo-plugin
+ - plantuml-markdown
+ - markdown_inline_graphviz_extension
+ - pygments
+ - pymdown-extensions
+## License
+Copyright 2020-2021 © The Backstage Authors. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page: https://www.linuxfoundation.org/trademark-usage
+Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
+
+%package help
+Summary: Development documents and examples for mkdocs-techdocs-core
+Provides: python3-mkdocs-techdocs-core-doc
+%description help
+ ```java
+ public void function() {
+ }
+ ```
+````
+The pymdownx extension will be bumped too 8.0.0 in the near future.
+- pymdownx.tabbed is added to support tabs to group markdown content, such as codeblocks.
+- "PyMdown Extensions includes three extensions that are meant to replace their counterpart in the default Python Markdown extensions." Therefore some extensions has been taken away in this version that comes by default from pymdownx.extra which is added now (https://facelessuser.github.io/pymdown-extensions/usage_notes/#incompatible-extensions)
+### 0.0.7
+- Fix an issue with configuration of emoji support
+### 0.0.6
+- Further adjustments to versions to find ones that are compatible
+### 0.0.5
+- Downgrade some versions of markdown extensions to versions that are more stable
+### 0.0.4
+- Added support for more mkdocs extensions
+ - mkdocs-material
+ - mkdocs-monorepo-plugin
+ - plantuml-markdown
+ - markdown_inline_graphviz_extension
+ - pygments
+ - pymdown-extensions
+## License
+Copyright 2020-2021 © The Backstage Authors. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page: https://www.linuxfoundation.org/trademark-usage
+Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
+
+%prep
+%autosetup -n mkdocs-techdocs-core-1.2.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-mkdocs-techdocs-core -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1
+- Package Spec generated