diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 08:10:43 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 08:10:43 +0000 |
| commit | 8e6de8fa2ef7fedd967e235d3c672b3ea31831fc (patch) | |
| tree | f82192a4481245e5c1cc9a77d401043fb0cbde10 /python-firedm.spec | |
| parent | 587e2c1f3977cd4c982e27bcb902e162dab77c0b (diff) | |
automatic import of python-firedmopeneuler20.03
Diffstat (limited to 'python-firedm.spec')
| -rw-r--r-- | python-firedm.spec | 154 |
1 files changed, 154 insertions, 0 deletions
diff --git a/python-firedm.spec b/python-firedm.spec new file mode 100644 index 0000000..c994507 --- /dev/null +++ b/python-firedm.spec @@ -0,0 +1,154 @@ +%global _empty_manifest_terminate_build 0 +Name: python-FireDM +Version: 2022.4.14 +Release: 1 +Summary: download manager +License: GNU Lesser General Public License v3 or later (LGPLv3+) +URL: https://github.com/firedm/FireDM +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/83/b4/049c5b1ab0feadb2fa05f13b75433f9744e14061bd9b9bbb62a30f200b6a/FireDM-2022.4.14.tar.gz +BuildArch: noarch + +Requires: python3-Pillow +Requires: python3-awesometkinter +Requires: python3-certifi +Requires: python3-packaging +Requires: python3-plyer +Requires: python3-pycurl +Requires: python3-pystray +Requires: python3-youtube-dl +Requires: python3-yt-dlp +Requires: python3-distro + +%description +**Features**: +* High download speeds "based on LibCurl" +* Multi-connection downloading "Multithreading" +* Automatic file segmentation. +* Automatic refresh for dead links. +* Resume uncompleted downloads. +* Support for Youtube, and a lot of stream websites "using youtube-dl to fetch info and libcurl to download media". +* download entire video playlist or selected videos. +* download fragmented video streams, and encrypted/nonencrypted HLS media streams. +* watch videos while downloading* "some videos will have no audio until + finish downloading". +* download video subtitles. +* write video metadata to downloaded files. +* check for application updates. +* Scheduling downloads +* Re-using existing connection to remote server. +* Clipboard Monitor. +* proxy support (http, https, socks4, and socks5). +* user/pass authentication, referee link, use cookies, video thumbnail, + subtitles. +* use custom cookies files. +* MD5 and SHA256 checksums. +* Custom gui themes. +* Set download Speed limit +* User can run shell commands or shutdown computer on download completion. + +%package -n python3-FireDM +Summary: download manager +Provides: python-FireDM +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-FireDM +**Features**: +* High download speeds "based on LibCurl" +* Multi-connection downloading "Multithreading" +* Automatic file segmentation. +* Automatic refresh for dead links. +* Resume uncompleted downloads. +* Support for Youtube, and a lot of stream websites "using youtube-dl to fetch info and libcurl to download media". +* download entire video playlist or selected videos. +* download fragmented video streams, and encrypted/nonencrypted HLS media streams. +* watch videos while downloading* "some videos will have no audio until + finish downloading". +* download video subtitles. +* write video metadata to downloaded files. +* check for application updates. +* Scheduling downloads +* Re-using existing connection to remote server. +* Clipboard Monitor. +* proxy support (http, https, socks4, and socks5). +* user/pass authentication, referee link, use cookies, video thumbnail, + subtitles. +* use custom cookies files. +* MD5 and SHA256 checksums. +* Custom gui themes. +* Set download Speed limit +* User can run shell commands or shutdown computer on download completion. + +%package help +Summary: Development documents and examples for FireDM +Provides: python3-FireDM-doc +%description help +**Features**: +* High download speeds "based on LibCurl" +* Multi-connection downloading "Multithreading" +* Automatic file segmentation. +* Automatic refresh for dead links. +* Resume uncompleted downloads. +* Support for Youtube, and a lot of stream websites "using youtube-dl to fetch info and libcurl to download media". +* download entire video playlist or selected videos. +* download fragmented video streams, and encrypted/nonencrypted HLS media streams. +* watch videos while downloading* "some videos will have no audio until + finish downloading". +* download video subtitles. +* write video metadata to downloaded files. +* check for application updates. +* Scheduling downloads +* Re-using existing connection to remote server. +* Clipboard Monitor. +* proxy support (http, https, socks4, and socks5). +* user/pass authentication, referee link, use cookies, video thumbnail, + subtitles. +* use custom cookies files. +* MD5 and SHA256 checksums. +* Custom gui themes. +* Set download Speed limit +* User can run shell commands or shutdown computer on download completion. + +%prep +%autosetup -n FireDM-2022.4.14 + +%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-FireDM -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 2022.4.14-1 +- Package Spec generated |
