forked from pool/python-python-vlc
Accepting request 547920 from multimedia:libs
- Added libvlc5 as runtime requirement - Update to version 2.2.6100: * Python bindings: fix regexp to handle deprecated APIs * Rename gtkvlc.py to gtk2vlc.py (using old pygtk2 version) * Gtk3 example * python bindings generator: handle bitshifted chars in enums * python-vlc: allow to specify lib and plugin path * python bindings: update generator version number * Python bindings: update generated bindings for 2.2 and dev. versions * python bindings: configure logging module when running standalone * python bindings: refactor, move template files to their own directory * Generate an appropriate PyPI installer package for the generated module - Initial release of python-python-vlc 1.1.2 OBS-URL: https://build.opensuse.org/request/show/547920 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-vlc?expand=0&rev=1
This commit is contained in:
62
python-python-vlc.spec
Normal file
62
python-python-vlc.spec
Normal file
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# spec file for package python-python-vlc
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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 http://bugs.opensuse.org/
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-python-vlc
|
||||
Version: 2.2.6100
|
||||
Release: 0
|
||||
License: LGPL-2.0+
|
||||
Summary: VLC bindings for python
|
||||
Url: http://wiki.videolan.org/PythonBinding
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-vlc/python-vlc-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM fix-docs.patch -- Fix some example code in the docs
|
||||
Patch0: fix-docs.patch
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: vlc-devel
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
Requires: libvlc5 >= 2.2.6
|
||||
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
|
||||
%setup -q -n python-vlc-%{version}
|
||||
%patch0 -p1
|
||||
sed -i -e '1{\,^#! /usr/bin/python,d}' vlc.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README.module
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user