Search
SailfishOS Open Build Service
>
Projects
>
home:vmsplicer
:
icecast
>
python-shout
> python-shout.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python-shout.spec of Package python-shout
# # spec file for package python-python-shout # # Copyright (c) 2013 SUSE LINUX Products 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/ Name: python-shout Version: 0.2.1 Release: 0 License: LGPL Summary: Bindings for libshout 2 Url: http://icecast.org/download.php Group: Development/Languages/Python Source: https://pypi.python.org/packages/source/p/python-shout/python-shout-%{version}.tar.gz Patch: python-shout-fix-send.diff BuildRequires: libogg-devel BuildRequires: libshout-devel >= 2.2 BuildRequires: libspeex-devel libspeex1 BuildRequires: libtheora-devel BuildRequires: libvorbis-devel BuildRequires: pkgconfig BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %endif %description This is shout-python, a set of bindings for libshout 2. shout-python allows you to act as a source for icecast 1 and 2, and shoutcast. This module includes inline documentation, or see the included example.py for a demonstration of its usage. %prep %setup -q -n python-shout-%{version} %patch -p1 %build CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %doc README COPYING example.py %{python_sitearch}/* %changelog