Репозитории ALT
S: | 2021.12.17-alt1 |
5.1: | 2010.12.09-alt0.M51.1 |
4.1: | 2008.01.28-alt1.1 |
4.0: | 2007.09.13-alt1 |
+backports: | 2008.01.28-alt1.0.M40.1 |
Группа :: Сети/Передача файлов
Пакет: youtube-dl
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define py_name youtube_dl
Name: youtube-dl
Version: 2021.12.17
Release: alt1
Summary: Download videos from YouTube
License: Public domain
Group: Networking/File transfer
Url: http://youtube-dl.org
Source0: %name-%version.tar
BuildArch: noarch
Requires: python3-module-%py_name = %EVR
# Automatically added by buildreq on Fri Apr 08 2016
# optimized out: python-base python-devel python-modules python-modules-compiler python-modules-ctypes python-modules-email python3 python3-base
BuildRequires: python-module-setuptools python3-dev python3-module-setuptools
BuildRequires(pre): rpm-build-python3
%description
Youtube-dl is a small command-line program to download videos
from YouTube.com.
%package -n python-module-%py_name
Group: Development/Python
Summary: Python module for youtube-dl
Conflicts: youtube-dl < 2016.04.06-alt1
%description -n python-module-%py_name
Youtube-dl is a small command-line program to download videos
from YouTube.com.
This package contains Python module.
%package -n python3-module-%py_name
Group: Development/Python
Summary: Python 3 module for youtube-dl
%description -n python3-module-%py_name
Youtube-dl is a small command-line program to download videos
from YouTube.com.
This package contains Python 3 module.
%prep
%setup -c
for py in py2 py3; do
cp -a %name-%version $py
done
%build
cd py2
%python3_build
cd -
cd py3
%python_build
cd -
%install
cd py3
%python_install
cd -
cd py2
%python3_install
cd -
%files
%_bindir/youtube-dl
%_man1dir/youtube-dl.1.*
%files -n python-module-%py_name
%python_sitelibdir/%py_name
%python_sitelibdir/%py_name-*.egg-info
%files -n python3-module-%py_name
%python3_sitelibdir/%py_name
%python3_sitelibdir/%py_name-*.egg-info
%changelog
…
Полный changelog можно просмотреть здесь
Name: youtube-dl
Version: 2021.12.17
Release: alt1
Summary: Download videos from YouTube
License: Public domain
Group: Networking/File transfer
Url: http://youtube-dl.org
Source0: %name-%version.tar
BuildArch: noarch
Requires: python3-module-%py_name = %EVR
# Automatically added by buildreq on Fri Apr 08 2016
# optimized out: python-base python-devel python-modules python-modules-compiler python-modules-ctypes python-modules-email python3 python3-base
BuildRequires: python-module-setuptools python3-dev python3-module-setuptools
BuildRequires(pre): rpm-build-python3
%description
Youtube-dl is a small command-line program to download videos
from YouTube.com.
%package -n python-module-%py_name
Group: Development/Python
Summary: Python module for youtube-dl
Conflicts: youtube-dl < 2016.04.06-alt1
%description -n python-module-%py_name
Youtube-dl is a small command-line program to download videos
from YouTube.com.
This package contains Python module.
%package -n python3-module-%py_name
Group: Development/Python
Summary: Python 3 module for youtube-dl
%description -n python3-module-%py_name
Youtube-dl is a small command-line program to download videos
from YouTube.com.
This package contains Python 3 module.
%prep
%setup -c
for py in py2 py3; do
cp -a %name-%version $py
done
%build
cd py2
%python3_build
cd -
cd py3
%python_build
cd -
%install
cd py3
%python_install
cd -
cd py2
%python3_install
cd -
%files
%_bindir/youtube-dl
%_man1dir/youtube-dl.1.*
%files -n python-module-%py_name
%python_sitelibdir/%py_name
%python_sitelibdir/%py_name-*.egg-info
%files -n python3-module-%py_name
%python3_sitelibdir/%py_name
%python3_sitelibdir/%py_name-*.egg-info
%changelog
…
Полный changelog можно просмотреть здесь