14
0
Files
python-subliminal/python-subliminal.spec
Luigi Baldoni f61b5b8c53 Accepting request 799654 from home:alois:branches:devel:languages:python
- Update to version 2.1.0
  * Improve legendastv provider matches
  * Fix video extensions (.mk3d .ogm .ogv)
  * Use new url to search for titles in legendastv provider
  * Fix stevedore incompatibility
  * Add support to webm video extension
  * Make providers easier to be extended and customized
  * Update podnapisi URL
  * Add support to VIP/Donor accounts in legendastv provider
  * Proper handling titles with year / country in legendastv
    provider
  * Several minor enhancements in legendastv provider
  * Add support for python 3.6, 3.7 and 3.8
  * Drop support for python 3.3 and 3.4
  * Do not discard providers bad zip/rar is downloaded
  * SubsCenter provider removal
  * Fix lxml parsing for Addic7ed provider
  * Support titles with asterics in Addic7ed provider
  * Add support to multi-episode search in Opensubtitles provider
  * Fix multi-episode search in TVSubtitles provider
  * Update to guessit 3
  * Improve archive scanning
  * Add Opensubtitles VIP provider
  * Add country to Movie and Episode
  * Add streaming_service to Video
  * Add info property to Subtitle
  * Do not search for subtitles if all required languages is
    already present
  * Improve TVDB refiner to support series with comma
  * Add alternative_titles to Video and enhance OMDB refiner to
    use alternative_titles
  * Only compute video hashes when required
  * Add apikey to OMDB refiner
  * Fix Subtitle validation when unable to guess encoding
  * Add support to rar in Dockerfile
- Drop python2 support to simplify packaging
- Drop subliminal.1 manpage because it's no longer possible to
  build it

OBS-URL: https://build.opensuse.org/request/show/799654
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=15
2020-05-02 12:20:39 +00:00

73 lines
2.4 KiB
RPMSpec

#
# spec file for package python-subliminal
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-subliminal
Version: 2.1.0
Release: 0
Summary: Python library to search and download subtitles
License: MIT
URL: https://github.com/Diaoul/subliminal
Source: https://files.pythonhosted.org/packages/source/s/subliminal/subliminal-%{version}.tar.gz
BuildRequires: %{python_module setuptools >= 18.0.1}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-appdirs >= 1.3
Requires: python-babelfish >= 0.5.4
Requires: python-beautifulsoup4 >= 4.4.0
Requires: python-chardet >= 2.3.0
Requires: python-click >= 4.1
Requires: python-dogpile.cache >= 0.6.0
Requires: python-enzyme >= 0.4.1
Requires: python-guessit >= 3.0.0
Requires: python-pysrt >= 1.0.1
Requires: python-pytz >= 2012c
Requires: python-rarfile >= 2.7
Requires: python-requests >= 2.7.0
Requires: python-six >= 1.9.0
Requires: python-stevedore >= 1.20.0
Recommends: python-colorlog >= 2.6.0
BuildArch: noarch
Provides: subliminal = %{version}
Obsoletes: subliminal < %{version}
%python_subpackages
%description
Subliminal is a python library to search and download subtitles.
It comes with an easy to use CLI suitable for direct use or cron jobs.
%prep
%autosetup -n subliminal-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license LICENSE
%doc HISTORY.rst README.rst
%python3_only %{_bindir}/subliminal
%{python_sitelib}/subliminal
%{python_sitelib}/subliminal-%{version}-py%{python_version}.egg-info
%changelog