File libjackasyn.spec of Package libjackasyn

#
# spec file for package libjackasyn
#
# Copyright (c) 2011 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:           libjackasyn
BuildRequires:  automake
BuildRequires:  libjack-devel
BuildRequires:  libsamplerate-devel
Summary:        A Wrapper Library for JACK
Version:        0.12
Release:        0
License:        GPL-2.0+
Group:          Productivity/Multimedia/Sound/Utilities
Url:            http://gige.xdv.org/soft/libjackasyn
Source:         %{name}-%{version}.tar.bz2
Patch:          libjackasyn-install-fix.dif
Patch1:         libjackasyn-coptflags.diff
Patch2:         libjackasyn-missing-close.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Libjackasyn is a library that allows you to run any Linux sound program
made for the OSS system as a JACK client.



Authors:
--------
    Guenter Geiger <geiger@xdv.org>

%prep
%setup -q
%patch
%patch1
%patch2 -p1

%build
%{?suse_update_config:%{suse_update_config -f}}
autoreconf --force --install
%configure
make

%install
make DESTDIR="$RPM_BUILD_ROOT" install
%{__rm} -f %{buildroot}%{_libdir}/*.a

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%doc AUTHORS CHANGELOG COPYING README TODO WORKING
%{_libdir}/lib*
%{_bindir}/*
%{_includedir}/*.h
%doc %{_mandir}/man?/*

%changelog
openSUSE Build Service is sponsored by