summaryrefslogtreecommitdiff
path: root/python-qencode3.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-17 02:54:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-17 02:54:23 +0000
commitbb6634ac3e83c85cbeeec36ca2a3081cf305c5c4 (patch)
tree93345b36221d7ef4003f021a51148b9158b582c2 /python-qencode3.spec
parent10451e148659ae0c99847ebfb0b195d4dabc4446 (diff)
automatic import of python-qencode3
Diffstat (limited to 'python-qencode3.spec')
-rw-r--r--python-qencode3.spec174
1 files changed, 174 insertions, 0 deletions
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 <Python_Bot@openeuler.org> - 1.0.1-1
+- Package Spec generated