## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: yle-dl Version: 20230611 Release: %autorelease Summary: Download videos from Yle servers License: GPL-3.0-or-later URL: https://aajanki.github.io/yle-dl/index-en.html Source: https://github.com/aajanki/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch # Depends on archful python3-xattr which excludes i686 ExcludeArch: %{ix86} BuildRequires: python3-devel Requires: /usr/bin/ffmpeg # According to README, needed "optionally for few rare streams". Recommends: wget %description Command-line program for downloading media files from the video streaming services of the Finnish national broadcasting company Yle: Yle Areena, Elävä arkisto, and Yle news. The videos are saved in Matroska (.mkv) or MP4 format. %prep %autosetup -p1 -n %{name}-%{version} %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files yledl %check %pytest --ignore=tests/integration %files -f %{pyproject_files} %doc README.* %license COPYING %{_bindir}/yle-dl %changelog * Sat Jul 22 2023 Fedora Release Engineering - 20230611-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 20230611-2 - Rebuilt for Python 3.12 * Mon Jun 12 2023 Otto Liljalaakso - 20230611-1 - Update to 20230611 (rhbz#2157156) * Mon Mar 06 2023 Otto Liljalaakso - 20221231-3 - Exclude i686 architecture * Sat Jan 21 2023 Fedora Release Engineering - 20221231-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Jan 01 2023 Otto Liljalaakso - 20221231-1 - Update to 20221231 (rhbz#2157156) * Sun Nov 13 2022 Otto Liljalaakso - 20221111-1 - Update to 20221111 (rhbz#2142184) * Wed Oct 26 2022 Otto Liljalaakso - 20221015-1 - Update to 20221015 (rhbz#2135014) * Wed Aug 31 2022 Otto Liljalaakso - 20220830-2 - Use dynamic buildrequires for test dependencies * Wed Aug 31 2022 Otto Liljalaakso - 20220830-1 - Update to version 20220830 * Sat Aug 20 2022 Otto Liljalaakso - 20220704-5 - Correct license to GPL-3.0-or-later * Thu Aug 11 2022 Otto Liljalaakso - 20220704-4 - Revert "TEMP DEBUG: rpmautospec" * Thu Aug 11 2022 Otto Liljalaakso - 20220704-3 - TEMP DEBUG: rpmautospec * Tue Aug 09 2022 Otto Liljalaakso - 20220704-3 - Recommend wget by package name, instead of binary's path * Thu Aug 04 2022 Otto Liljalaakso - 20220704-2 - Improve description * Wed Aug 03 2022 Otto Liljalaakso - 20220704-1 - Initial version