streamlinker package creation

Signed-off-by: tuibuilder_pel7x64builder0 <tuibuilder@powerel.org>
master
tuibuilder_pel7x64builder0 2021-02-26 02:00:35 +01:00
parent 7e4fa4d468
commit 2f882d08bd
1 changed files with 39 additions and 0 deletions

39
SPECS/streamlink.spec Normal file
View File

@ -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