mirror of
https://abf.rosa.ru/djam/getcourse-video-downloader.git
synced 2025-02-23 18:02:47 +00:00
35 lines
876 B
RPMSpec
35 lines
876 B
RPMSpec
|
%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
|