Imported from SRPM

This commit is contained in:
Sergey Zhemoytel 2022-06-21 01:51:17 +03:00
commit 7fddc20115
2 changed files with 36 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
getcourse-video-downloader-e8aa69adba31b79b9b679f79398ce7a2cf12e48b.tar.gz: e506fb10551b58b133283fb4cb2d1657ea781930

View file

@ -0,0 +1,34 @@
%define commit e8aa69adba31b79b9b679f79398ce7a2cf12e48b
%define commit_short %(echo %{commit} | head -c6)
Summary: Simple script to download videos from GetCourse.ru
Name: getcourse-video-downloader
Version: 0
Release: 0.git%{commit_short}.1
License: GPLv3
Group: Networking/WWW
URL: https://github.com/mikhailnov/getcourse-video-downloader
Source0: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz
BuildArch: noarch
Requires: bash
Requires: curl
%description
Simple script to download videos from GetCourse.ru
See README.md for instructions.
%files
%doc README.md data
%{_bindir}/getcourse-video-downloader
#------------------------------------------------------------------
%prep
%setup -qn %{name}-%{commit}
%build
# no build
%install
mkdir -p %{buildroot}%{_bindir}
install -m0755 getcourse-video-downloader.sh %{buildroot}%{_bindir}/getcourse-video-downloader