diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-snowebsvg.spec | 195 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 197 insertions, 0 deletions
@@ -0,0 +1 @@ +/snowebsvg-0.0.129.tar.gz diff --git a/python-snowebsvg.spec b/python-snowebsvg.spec new file mode 100644 index 0000000..db56aa8 --- /dev/null +++ b/python-snowebsvg.spec @@ -0,0 +1,195 @@ +%global _empty_manifest_terminate_build 0 +Name: python-snowebsvg +Version: 0.0.129 +Release: 1 +Summary: Snoweb SVG +License: GPL-3.0 +URL: https://github.com/Aleksi44/snoweb-svg +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/48/81/5ed5049a4cdd42f963f882b5758005c82c5443aeea72158e3e7be1da900b/snowebsvg-0.0.129.tar.gz +BuildArch: noarch + + +%description +********** +Snoweb SVG +********** + +.. image:: https://img.shields.io/pypi/v/snowebsvg + :target: https://pypi.org/project/snowebsvg/ + +.. image:: https://img.shields.io/pypi/pyversions/snowebsvg + :target: https://pypi.org/project/snowebsvg/ + +.. image:: https://readthedocs.org/projects/snoweb-svg/badge/?version=latest + :target: https://snoweb-svg.readthedocs.io/en/latest/?badge=latest + :alt: Documentation Status + +.. image:: https://coveralls.io/repos/github/Aleksi44/snoweb-svg/badge.svg?branch=master + :target: https://coveralls.io/github/Aleksi44/snoweb-svg?branch=master + + +Snoweb SVG is a database of SVGs optimized and animated built in HTML and CSS. + + +Features +******** + +- SVG code in HTML and CSS +- No javascript required +- Themes with css class or prefers-color-scheme +- Variant manager with Glassmorphism +- Possible integration with Django and Wagtail +- Animation on hover + +Find all Svg at `www.snoweb-svg.com <https://www.snoweb-svg.com/svg/>`_. + +Documentation : + +- `HTML <https://snoweb-svg.readthedocs.io/en/latest/getting-started/html.html>`_ +- `Django <https://snoweb-svg.readthedocs.io/en/latest/getting-started/django.html>`_ +- `Wagtail <https://snoweb-svg.readthedocs.io/en/latest/getting-started/wagtail.html>`_ + +Made with ❤ by `Snoweb <https://www.snoweb.io/fr/>`_. + + + +%package -n python3-snowebsvg +Summary: Snoweb SVG +Provides: python-snowebsvg +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-snowebsvg +********** +Snoweb SVG +********** + +.. image:: https://img.shields.io/pypi/v/snowebsvg + :target: https://pypi.org/project/snowebsvg/ + +.. image:: https://img.shields.io/pypi/pyversions/snowebsvg + :target: https://pypi.org/project/snowebsvg/ + +.. image:: https://readthedocs.org/projects/snoweb-svg/badge/?version=latest + :target: https://snoweb-svg.readthedocs.io/en/latest/?badge=latest + :alt: Documentation Status + +.. image:: https://coveralls.io/repos/github/Aleksi44/snoweb-svg/badge.svg?branch=master + :target: https://coveralls.io/github/Aleksi44/snoweb-svg?branch=master + + +Snoweb SVG is a database of SVGs optimized and animated built in HTML and CSS. + + +Features +******** + +- SVG code in HTML and CSS +- No javascript required +- Themes with css class or prefers-color-scheme +- Variant manager with Glassmorphism +- Possible integration with Django and Wagtail +- Animation on hover + +Find all Svg at `www.snoweb-svg.com <https://www.snoweb-svg.com/svg/>`_. + +Documentation : + +- `HTML <https://snoweb-svg.readthedocs.io/en/latest/getting-started/html.html>`_ +- `Django <https://snoweb-svg.readthedocs.io/en/latest/getting-started/django.html>`_ +- `Wagtail <https://snoweb-svg.readthedocs.io/en/latest/getting-started/wagtail.html>`_ + +Made with ❤ by `Snoweb <https://www.snoweb.io/fr/>`_. + + + +%package help +Summary: Development documents and examples for snowebsvg +Provides: python3-snowebsvg-doc +%description help +********** +Snoweb SVG +********** + +.. image:: https://img.shields.io/pypi/v/snowebsvg + :target: https://pypi.org/project/snowebsvg/ + +.. image:: https://img.shields.io/pypi/pyversions/snowebsvg + :target: https://pypi.org/project/snowebsvg/ + +.. image:: https://readthedocs.org/projects/snoweb-svg/badge/?version=latest + :target: https://snoweb-svg.readthedocs.io/en/latest/?badge=latest + :alt: Documentation Status + +.. image:: https://coveralls.io/repos/github/Aleksi44/snoweb-svg/badge.svg?branch=master + :target: https://coveralls.io/github/Aleksi44/snoweb-svg?branch=master + + +Snoweb SVG is a database of SVGs optimized and animated built in HTML and CSS. + + +Features +******** + +- SVG code in HTML and CSS +- No javascript required +- Themes with css class or prefers-color-scheme +- Variant manager with Glassmorphism +- Possible integration with Django and Wagtail +- Animation on hover + +Find all Svg at `www.snoweb-svg.com <https://www.snoweb-svg.com/svg/>`_. + +Documentation : + +- `HTML <https://snoweb-svg.readthedocs.io/en/latest/getting-started/html.html>`_ +- `Django <https://snoweb-svg.readthedocs.io/en/latest/getting-started/django.html>`_ +- `Wagtail <https://snoweb-svg.readthedocs.io/en/latest/getting-started/wagtail.html>`_ + +Made with ❤ by `Snoweb <https://www.snoweb.io/fr/>`_. + + + +%prep +%autosetup -n snowebsvg-0.0.129 + +%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-snowebsvg -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.129-1 +- Package Spec generated @@ -0,0 +1 @@ +13877d371056e9a906a10e58aceff8fe snowebsvg-0.0.129.tar.gz |
