diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 05:38:33 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 05:38:33 +0000 |
commit | bc2b0c8e3592df5c305d5520018eaba150031cc1 (patch) | |
tree | 911d3e254410032633c8ee42c6d66978e0d1c7cd /python-jellyfin-alexa-skill.spec | |
parent | 0cd6685ecd84b0eb1541f48aa4c969bc6a56d208 (diff) |
automatic import of python-jellyfin-alexa-skillopeneuler20.03
Diffstat (limited to 'python-jellyfin-alexa-skill.spec')
-rw-r--r-- | python-jellyfin-alexa-skill.spec | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/python-jellyfin-alexa-skill.spec b/python-jellyfin-alexa-skill.spec new file mode 100644 index 0000000..fffa723 --- /dev/null +++ b/python-jellyfin-alexa-skill.spec @@ -0,0 +1,82 @@ +%global _empty_manifest_terminate_build 0 +Name: python-jellyfin-alexa-skill +Version: 0.3.1 +Release: 1 +Summary: Selfhosted Alexa media player skill for Jellyfin +License: MIT +URL: https://github.com/infinityofspace/jellyfin_alexa_skill +Source0: https://mirrors.aliyun.com/pypi/web/packages/ce/89/8b0e1146fe4061c11713b16a3784d400106795ba69d28b2df2bde0a0bfe0/jellyfin_alexa_skill-0.3.1.tar.gz +BuildArch: noarch + +Requires: python3-flask-ask-sdk +Requires: python3-pyngrok +Requires: python3-ask-smapi-sdk +Requires: python3-ask-smapi-model +Requires: python3-peewee +Requires: python3-gunicorn +Requires: python3-Flask-WTF + +%description +[](https://pypi.org/project/jellyfin-alexa-skill/)  +[](https://pypi.org/project/jellyfin-alexa-skill/)   + +%package -n python3-jellyfin-alexa-skill +Summary: Selfhosted Alexa media player skill for Jellyfin +Provides: python-jellyfin-alexa-skill +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-jellyfin-alexa-skill +[](https://pypi.org/project/jellyfin-alexa-skill/)  +[](https://pypi.org/project/jellyfin-alexa-skill/)   + +%package help +Summary: Development documents and examples for jellyfin-alexa-skill +Provides: python3-jellyfin-alexa-skill-doc +%description help +[](https://pypi.org/project/jellyfin-alexa-skill/)  +[](https://pypi.org/project/jellyfin-alexa-skill/)   + +%prep +%autosetup -n jellyfin_alexa_skill-0.3.1 + +%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-jellyfin-alexa-skill -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.1-1 +- Package Spec generated |