## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autochangelog ## END: Set by rpmautospec %global srcname subliminal Name: python-%{srcname} Version: 2.3.2 Release: 1%{?dist} Summary: Python library to search and download subtitles License: MIT URL: https://github.com/Diaoul/subliminal Source: %{pypi_source %{srcname}} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Subliminal is a Python library to search and download subtitles. It comes with an easy to use yet powerful CLI suitable for direct use or cron jobs. Subliminal uses multiple providers to give users a vast choice and have a better chance to find the best matching subtitles. Current supported providers are: - Addic7ed - LegendasTV - NapiProjekt - OpenSubtitles - Podnapisi - Shooter - TheSubDB - TvSubtitles} %description %_description %package -n python3-%{srcname} Summary: %{summary} Suggests: %{name}-doc %description -n python3-%{srcname} %_description %package doc Summary: %summary %description doc %_description %prep %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{srcname} pushd docs # Add folder containing subliminal script to PATH export SPHINXBUILD=sphinx-build-3 PYTHONPATH=%{buildroot}%{python3_sitelib} PATH=$PATH:%{buildroot}%{_bindir} %make_build html PYTHONPATH=%{buildroot}%{python3_sitelib} PATH=$PATH:%{buildroot}%{_bindir} %make_build text PYTHONPATH=%{buildroot}%{python3_sitelib} PATH=$PATH:%{buildroot}%{_bindir} %make_build man find . -name .buildinfo -type f -delete popd install -D -m 0644 docs/_build/man/%{srcname}.1 %{buildroot}%{_mandir}/man1/%{srcname}.1 # Tests disabled because they connect to online services #%%check #%%tox %files -n python3-%{srcname} -f %{pyproject_files} %{_bindir}/subliminal %files doc %doc README.rst docs/_build/html docs/_build/text %license LICENSE %{_mandir}/man1/%{srcname}.1* %changelog ## START: Generated by rpmautospec * Wed Jun 25 2025 Juan Orti Alcaine - 2.3.2-1 - Update to version 2.3.2 * Sat Jan 18 2025 Fedora Release Engineering - 2.1.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 2.1.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 16 2024 Python Maint - 2.1.0-17 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.1.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.1.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.1.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 10 2023 Python Maint - 2.1.0-13 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 2.1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 2.1.0-10 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.1.0-7 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 2.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 08 2021 Tom Stellard - 2.1.0-5 - Add BuildRequires: make * Thu Oct 08 2020 Juan Orti Alcaine - 2.1.0-4 - Add BuildRequires: python3-setuptools * Wed Jul 29 2020 Fedora Release Engineering - 2.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 2.1.0-2 - Rebuilt for Python 3.9 * Sun May 17 2020 Juan Orti Alcaine - 2.1.0-1 - Version 2.1.0 * Fri Jan 31 2020 Juan Orti Alcaine - 2.0.5-16 - Add BR: python3-rebulk * Thu Jan 30 2020 Fedora Release Engineering - 2.0.5-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 2.0.5-14 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 2.0.5-13 - Rebuilt for Python 3.8 * Fri Aug 02 2019 Miro Hrončok - 2.0.5-12 - Add missing BuildRequires python3-sphinx_rtd_theme * Fri Jul 26 2019 Fedora Release Engineering - 2.0.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 2.0.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Dec 28 2018 Igor Gnatenko - 2.0.5-9 - Enable python dependency generator * Fri Dec 28 2018 Miro Hrončok - 2.0.5-8 - Subpackage python2-subliminal has been removed * Sat Jul 14 2018 Fedora Release Engineering - 2.0.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 2.0.5-6 - Rebuilt for Python 3.7 * Sun Jun 10 2018 Juan Orti Alcaine - 2.0.5-5 - Add rarfile dependency * Fri Feb 09 2018 Fedora Release Engineering - 2.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Sep 05 2017 Juan Orti Alcaine - 2.0.5-3 - Build docs * Mon Sep 04 2017 Juan Orti Alcaine - 2.0.5-2 - Remove trailing spaces * Mon Sep 04 2017 Juan Orti Alcaine - 2.0.5-1 - Initial import (#1486238). ## END: Generated by rpmautospec