# # spec file for package filter_audio # # 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/ # Name: filter_audio Version: 0.0.0+git20150516.612c5a1 Release: 0 License: BSD-3-Clause Summary: Lightweight audio filtering library made from webrtc code Url: https://github.com/irungentoo/filter_audio Group: Productivity/Multimedia/Other Source: %{name}-%{version}.tar.xz BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Lightweight audio filtering library made from webrtc code. %package -n libfilteraudio0 Summary: Shared libraries for filter_audio Group: System/Libraries %description -n libfilteraudio0 Lightweight audio filtering library made from webrtc code. This package provides shared libraries for filter_audio. %package devel Summary: Development headers for filter audio Group: Development/Libraries/C and C++ Requires: libfilteraudio0 = %{version} %description devel Lightweight audio filtering library made from webrtc code. This package provides development headers for filter_audio. %prep %setup -q %build make %{?_smp_mflags} PREFIX=%{_prefix} LIBDIR=/%{_lib} %install make install PREFIX=%{_prefix} LIBDIR=/%{_lib} DESTDIR=%{buildroot} %{?_smp_mflags} find %{buildroot} -name "*.a" -print -delete %post -n libfilteraudio0 -p /sbin/ldconfig %postun -n libfilteraudio0 -p /sbin/ldconfig %files -n libfilteraudio0 %defattr(-,root,root) %doc README %{_libdir}/libfilteraudio.so.0 %{_libdir}/libfilteraudio.so.0.0.0 %files devel %defattr(-,root,root) %{_includedir}/%{name}.h %{_libdir}/libfilteraudio.so %{_libdir}/pkgconfig/filteraudio.pc %changelog