From 2f882d08bd2989a62123d6bc1ebf2a411b8b5dc3 Mon Sep 17 00:00:00 2001 From: tuibuilder_pel7x64builder0 Date: Fri, 26 Feb 2021 02:00:35 +0100 Subject: [PATCH] streamlinker package creation Signed-off-by: tuibuilder_pel7x64builder0 --- SPECS/streamlink.spec | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 SPECS/streamlink.spec diff --git a/SPECS/streamlink.spec b/SPECS/streamlink.spec new file mode 100644 index 0000000..48d1ada --- /dev/null +++ b/SPECS/streamlink.spec @@ -0,0 +1,39 @@ +Name: streamlink +Version: 2.0.0 +Release: 1%{?dist} +Summary: CLI stream link +Group: Development/Multimedia +License: BSD +URL: https://github.com/streamlink/streamlink +Source0: https://github.com/streamlink/streamlink/releases/download/%{version}/streamlink-%{version}.tar.gz + + +%description +Streamlink is a command-line utility which pipes video streams from various services into a video player, +such as VLC. The main purpose of Streamlink is to avoid resource-heavy and unoptimized websites, +while still allowing the user to enjoy various streamed content. +There is also an API available for developers who want access to the stream data. + + +%prep +%setup -q -n %{name}-%{version} + + +%build +%{__python3} setup.py build + + +%install +%{__python3} setup.py install --optimize 2 --root %{buildroot} + + +%files +#%license LICENSE.txt +#%doc CHANGES.txt README.txt +%{_bindir}/%{name} +%{python3_sitelib}/%{name}/ +%{python3_sitelib}/%{name}_cli/ +%{python3_sitelib}/%{name}*.egg-info + + +%changelog