File pyalsa.spec of Package pyalsa

# spec file for package pyalsa
# 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

Name:           pyalsa
BuildRequires:  alsa-devel
BuildRequires:  python-devel
Version:        1.0.29
Release:        0
Summary:        Python ALSA binding
License:        LGPL-2.1+ and GPL-2.0
Group:          Development/Libraries/Python
Source:         pyalsa-%{version}.tar.bz2
Source1:        COPYING
Source2:        COPYING.LIB
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This package provides the Python binding to ALSA.

%setup -q
cp %{S:1} %{S:2} .

export CFLAGS="%{optflags} -fno-strict-aliasing"
%{__python} build

%{__python} install \
    --root=%{buildroot} \
    --prefix=%{_prefix} \

rm -rf %{buildroot}

# %doc doc/*

openSUSE Build Service is sponsored by