File python-pymumble.spec of Package python-pymumble

#
# spec file for package python-pymumble
#
# Copyright (c) 2015 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/
#


%define sname pymumble
Name:           python-%{sname}
Version:        0.2.1
Release:        0
Summary:        Mumble client implementation in Python
License:        GPL-3.0+
Group:          System/Libraries
Url:            https://github.com/bmwiedemann/pymumble
Source:         https://github.com/bmwiedemann/pymumble/archive/pymumble-%{version}.tar.gz
BuildRequires:  libopus-devel
# FIXME - python-devel should be pulled in by Cython - bnc#942385
BuildRequires:  python-devel
BuildRequires:  python-Cython
BuildRequires:  python-protobuf
Requires:       python-protobuf
BuildRequires:  libogg-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Mumble client implementation in Python
This library acts as a mumble client, connecting to a murmur server, exchanging states and audio. 

%prep
%setup -q -n %{sname}-%{sname}-%{version}

%build
%__make %{?jobs:-j%jobs}

%install
make install D=%{buildroot}%{python_sitearch}/pymumble

%files
%defattr(-,root,root)
%{python_sitearch}/pymumble
%doc LICENSE README.md API.md

%changelog
openSUSE Build Service is sponsored by