summaryrefslogtreecommitdiff
path: root/python-catt.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 18:19:52 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 18:19:52 +0000
commit93d6a562bf90a7c8bef3344c49011262626a701a (patch)
tree805ee84278ea3c4bb64141716c2f50f167342594 /python-catt.spec
parent9a14394e84731ac0908ca09a7b9def1ff2008bef (diff)
automatic import of python-catt
Diffstat (limited to 'python-catt.spec')
-rw-r--r--python-catt.spec92
1 files changed, 92 insertions, 0 deletions
diff --git a/python-catt.spec b/python-catt.spec
new file mode 100644
index 0000000..98928ce
--- /dev/null
+++ b/python-catt.spec
@@ -0,0 +1,92 @@
+%global _empty_manifest_terminate_build 0
+Name: python-catt
+Version: 0.12.10
+Release: 1
+Summary: Cast All The Things allows you to send videos from many, many online sources to your Chromecast.
+License: BSD
+URL: https://github.com/skorokithakis/catt
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fa/df/4d1503bf067b3d28b90b0c9ddf8cc4c5430bdc104da5ac7b16c8eddc8f0b/catt-0.12.10.tar.gz
+BuildArch: noarch
+
+Requires: python3-click
+Requires: python3-ifaddr
+Requires: python3-pychromecast
+Requires: python3-requests
+Requires: python3-yt-dlp
+
+%description
+[![image](https://img.shields.io/pypi/v/catt.svg)](https://pypi.python.org/pypi/catt)
+[![image](https://img.shields.io/travis/skorokithakis/catt.svg)](https://travis-ci.org/skorokithakis/catt)
+[![image](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/skorokithakis/catt)
+Cast All The Things allows you to send videos from many, many online
+sources (YouTube, Vimeo, and a few hundred others) to your Chromecast.
+It also allows you to cast local files or render websites.
+
+%package -n python3-catt
+Summary: Cast All The Things allows you to send videos from many, many online sources to your Chromecast.
+Provides: python-catt
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-catt
+[![image](https://img.shields.io/pypi/v/catt.svg)](https://pypi.python.org/pypi/catt)
+[![image](https://img.shields.io/travis/skorokithakis/catt.svg)](https://travis-ci.org/skorokithakis/catt)
+[![image](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/skorokithakis/catt)
+Cast All The Things allows you to send videos from many, many online
+sources (YouTube, Vimeo, and a few hundred others) to your Chromecast.
+It also allows you to cast local files or render websites.
+
+%package help
+Summary: Development documents and examples for catt
+Provides: python3-catt-doc
+%description help
+[![image](https://img.shields.io/pypi/v/catt.svg)](https://pypi.python.org/pypi/catt)
+[![image](https://img.shields.io/travis/skorokithakis/catt.svg)](https://travis-ci.org/skorokithakis/catt)
+[![image](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/skorokithakis/catt)
+Cast All The Things allows you to send videos from many, many online
+sources (YouTube, Vimeo, and a few hundred others) to your Chromecast.
+It also allows you to cast local files or render websites.
+
+%prep
+%autosetup -n catt-0.12.10
+
+%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-catt -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.12.10-1
+- Package Spec generated