File pulseaudio-dlna.spec of Package pulseaudio-dlna

#
# spec file for package pulseaudio-dlna
#
# Copyright (c) 2015-2016 Packman Team <packman@links2linux.de>
#
# 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.links2linux.org/
#


Name:           pulseaudio-dlna
Version:        0.5.2
Release:        1.8
Summary:        A DLNA server which brings DLNA/UPnP support to PulseAudio
License:        GPL-3.0
Group:          Productivity/Multimedia/Sound/Utilities
Url:            https://github.com/masmu/%{name}
Source:         https://github.com/masmu/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires:  python-setuptools
Requires:       python-dbus-python >= 1.2.0
Requires:       faac >= 1.28
Requires:       flac >= 1.3.0
Requires:       lame >= 3.99.0
Requires:       opus-tools >= 0.1.8
Requires:       pulseaudio
Requires:       python >= 2.7
Requires:       python-chardet >= 2.0.1
Requires:       python-docopt >= 0.6.1
Requires:       python-futures >= 2.1.6
Requires:       python-gobject >= 3.12.0
Requires:       python-lxml >= 3
Requires:       python-netifaces >= 0.8
Requires:       python-notify2 >= 0.3
Requires:       python-protobuf >= 2.5.0
Requires:       python-psutil >= 1.2.1
Requires:       python-requests >= 2.2.1
Requires:       python-setproctitle >= 1.0.1
Requires:       python-setuptools
Requires:       python-zeroconf >= 0.17
Requires:       sox >= 14.4.1
Requires:       vorbis-tools >= 1.4.0
Recommends:     ffmpeg
Suggests:       python-cairo >= 1.8.8
Suggests:       python-rsvg >= 2.32.0
Suggests:       python-gtk >= 2.24.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This is pulseaudio-dlna. A small DLNA server which brings DLNA / UPnP and
Chromecast support to PulseAudio and Linux.

It can stream your current PulseAudio playback to different UPnP devices (UPnP
Media Renderers) in your network. Its main goals are: easy to use, no
configuration hassle, no big dependencies.

%prep
%setup -q

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%files
%defattr(-,root,root)
%doc README.md LICENSE
%{_bindir}/%{name}
%{python_sitelib}/pulseaudio_dlna-%{version}-py%{py_ver}.egg-info/
%{python_sitelib}/pulseaudio_dlna/
%{_mandir}/man1/%{name}.1%{?ext_man}

%changelog
openSUSE Build Service is sponsored by