From a0e0f34d7ac3ecb39624253d479ef15fb19f4fa0 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 09:39:59 +0000 Subject: automatic import of python-snowebsvg --- python-snowebsvg.spec | 195 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 python-snowebsvg.spec (limited to 'python-snowebsvg.spec') 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 `_. + +Documentation : + +- `HTML `_ +- `Django `_ +- `Wagtail `_ + +Made with ❤ by `Snoweb `_. + + + +%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 `_. + +Documentation : + +- `HTML `_ +- `Django `_ +- `Wagtail `_ + +Made with ❤ by `Snoweb `_. + + + +%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 `_. + +Documentation : + +- `HTML `_ +- `Django `_ +- `Wagtail `_ + +Made with ❤ by `Snoweb `_. + + + +%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 - 0.0.129-1 +- Package Spec generated -- cgit v1.2.3