From bb6634ac3e83c85cbeeec36ca2a3081cf305c5c4 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 17 May 2023 02:54:23 +0000 Subject: automatic import of python-qencode3 --- python-qencode3.spec | 174 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 python-qencode3.spec (limited to 'python-qencode3.spec') diff --git a/python-qencode3.spec b/python-qencode3.spec new file mode 100644 index 0000000..0cf4e03 --- /dev/null +++ b/python-qencode3.spec @@ -0,0 +1,174 @@ +%global _empty_manifest_terminate_build 0 +Name: python-qencode3 +Version: 1.0.1 +Release: 1 +Summary: Qencode client library to easily setup a working solution using Python v3.x. +License: proprietary +URL: https://github.com/qencode-dev/qencode-api-python3-client +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4f/5a/aeaac69d6e75da3b6a2583179e2dab6009c21b627fe6c58d633505ee9638/qencode3-1.0.1.tar.gz +BuildArch: noarch + + +%description +Here you will find examples of Qencode solutions using the latest version of python. Some popular examples include launching [video encoding](https://cloud.qencode.com/) jobs through the API, basic testing functionality, and code developed to exhibit a wide range of features that we offer. Please send over any ideas you have to help us improve our solution and continue to provide you with the easiest transcoding solutions on the market. + +Key features of encoding your videos: + +Output Formats + * HLS + * MPEG-DASH + * MP4 + * MXF + * WebM + +Codecs + * H.264 (AVC1) + * H.265 (HEVC) + * VP9 + * VP8 + * AV1 + * MPEG-2 + +Input Formats + * MP4 + * AVI + * MOV + * MKV + * HLS + * MPEG‑2 (TS & PS) + * MXF + * ASF + * ProRes + * XDCAM + * DNx + * FLV + * ...and many more + + + +%package -n python3-qencode3 +Summary: Qencode client library to easily setup a working solution using Python v3.x. +Provides: python-qencode3 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-qencode3 +Here you will find examples of Qencode solutions using the latest version of python. Some popular examples include launching [video encoding](https://cloud.qencode.com/) jobs through the API, basic testing functionality, and code developed to exhibit a wide range of features that we offer. Please send over any ideas you have to help us improve our solution and continue to provide you with the easiest transcoding solutions on the market. + +Key features of encoding your videos: + +Output Formats + * HLS + * MPEG-DASH + * MP4 + * MXF + * WebM + +Codecs + * H.264 (AVC1) + * H.265 (HEVC) + * VP9 + * VP8 + * AV1 + * MPEG-2 + +Input Formats + * MP4 + * AVI + * MOV + * MKV + * HLS + * MPEG‑2 (TS & PS) + * MXF + * ASF + * ProRes + * XDCAM + * DNx + * FLV + * ...and many more + + + +%package help +Summary: Development documents and examples for qencode3 +Provides: python3-qencode3-doc +%description help +Here you will find examples of Qencode solutions using the latest version of python. Some popular examples include launching [video encoding](https://cloud.qencode.com/) jobs through the API, basic testing functionality, and code developed to exhibit a wide range of features that we offer. Please send over any ideas you have to help us improve our solution and continue to provide you with the easiest transcoding solutions on the market. + +Key features of encoding your videos: + +Output Formats + * HLS + * MPEG-DASH + * MP4 + * MXF + * WebM + +Codecs + * H.264 (AVC1) + * H.265 (HEVC) + * VP9 + * VP8 + * AV1 + * MPEG-2 + +Input Formats + * MP4 + * AVI + * MOV + * MKV + * HLS + * MPEG‑2 (TS & PS) + * MXF + * ASF + * ProRes + * XDCAM + * DNx + * FLV + * ...and many more + + + +%prep +%autosetup -n qencode3-1.0.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-qencode3 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot - 1.0.1-1 +- Package Spec generated -- cgit v1.2.3