mirror of
https://abf.rosa.ru/djam/getcourse-video-downloader.git
synced 2025-02-23 18:02:47 +00:00
Imported from SRPM
This commit is contained in:
commit
7fddc20115
2 changed files with 36 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
getcourse-video-downloader-e8aa69adba31b79b9b679f79398ce7a2cf12e48b.tar.gz: e506fb10551b58b133283fb4cb2d1657ea781930
|
34
getcourse-video-downloader.spec
Normal file
34
getcourse-video-downloader.spec
Normal 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
|
Loading…
Add table
Reference in a new issue