From 93d6a562bf90a7c8bef3344c49011262626a701a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 18:19:52 +0000 Subject: automatic import of python-catt --- .gitignore | 1 + python-catt.spec | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 94 insertions(+) create mode 100644 python-catt.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..7c1243c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/catt-0.12.10.tar.gz 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 - 0.12.10-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..18bbebc --- /dev/null +++ b/sources @@ -0,0 +1 @@ +a6e2569e8d0218c0270c9d6993085c6a catt-0.12.10.tar.gz -- cgit v1.2.3