- Drop fix-docs.patch (no longer needed) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-vlc?expand=0&rev=29
60 lines
1.8 KiB
RPMSpec
60 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package python-python-vlc
|
|
#
|
|
# Copyright (c) 2024 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/
|
|
#
|
|
|
|
|
|
Name: python-python-vlc
|
|
Version: 3.0.21203
|
|
Release: 0
|
|
Summary: VLC bindings for python
|
|
License: LGPL-2.0-or-later
|
|
Group: Development/Languages/Python
|
|
URL: http://wiki.videolan.org/PythonBinding
|
|
Source: https://files.pythonhosted.org/packages/source/p/python-vlc/python_vlc-%{version}.tar.gz
|
|
BuildRequires: %{python_module pip}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: %{python_module wheel}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
BuildRequires: vlc-devel
|
|
Requires: libvlc5 >= 3.0.0
|
|
BuildArch: noarch
|
|
%python_subpackages
|
|
|
|
%description
|
|
VLC bindings for python.
|
|
|
|
This module provides ctypes-based bindings for the native libvlc API
|
|
(see http://wiki.videolan.org/LibVLC) of the VLC video player.
|
|
|
|
%prep
|
|
%autosetup -p1 -n python_vlc-%{version}
|
|
sed -i -e '1{\,^#! %{_bindir}/python,d}' vlc.py
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%files %{python_files}
|
|
%license COPYING
|
|
%doc README.module
|
|
%{python_sitelib}/*
|
|
|
|
%changelog
|