File rtfilter.spec of Package rtfilter
#
# spec file for package rtfilter
#
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.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.opensuse.org/
#
%define sover 1
%define libname lib%{name}%{sover}
Name: rtfilter
Version: 1.1
Release: 0
Summary: Realtime digital filtering library
License: LGPL-3.0
Group: Development/Libraries/C and C++
URL: https://cnbi.epfl.ch/software/rtfilter.html
Source: %{name}-%{version}.tar.bz2
#Source: http://cnbisrv02.epfl.ch/packages/rtfilter/%{name}-%{version}.tar.bz2
BuildRequires: pkgconfig
%description
rtfilter is a library that provides a set of routines implementing realtime digital filter for multichannel signals (i.e. filtering multiple signals with the same filter parameters). It implements FIR, IIR filters and downsampler for float and double data type (both for real and complex valued signal). Additional functions are also provided to design few usual filters: Butterworth, Chebyshev, windowed sinc, analytical filter...
One of the main differences from other libraries providing digital signal processing is that the filter functions have been specifically designed and optimized for multichannel signals (from few channels to several hundred).
%package -n %{libname}
Summary: Realtime digital filtering library
Group: System/Libraries
%description -n %{libname}
rtfilter is a library that provides a set of routines implementing realtime digital filter for multichannel signals (i.e. filtering multiple signals with the same filter parameters). It implements FIR, IIR filters and downsampler for float and double data type (both for real and complex valued signal). Additional functions are also provided to design few usual filters: Butterworth, Chebyshev, windowed sinc, analytical filter...
One of the main differences from other libraries providing digital signal processing is that the filter functions have been specifically designed and optimized for multichannel signals (from few channels to several hundred).
%package devel
Summary: Realtime digital filtering library (development files)
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
%description devel
rtfilter is a library that provides a set of routines implementing realtime digital filter for multichannel signals (i.e. filtering multiple signals with the same filter parameters). It implements FIR, IIR filters and downsampler for float and double data type (both for real and complex valued signal). Additional functions are also provided to design few usual filters: Butterworth, Chebyshev, windowed sinc, analytical filter...
One of the main differences from other libraries providing digital signal processing is that the filter functions have been specifically designed and optimized for multichannel signals (from few channels to several hundred).
This package contains the files needed to compile and link programs which use rtfilter.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
rm -rf %{buildroot}%{_datadir}/doc/rtfilter/
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%doc AUTHORS COPYING NEWS README ChangeLog
%{_libdir}/librtfilter.so.*
%files devel
%{_mandir}/man3/*.3%{ext_man}
%{_includedir}/rtf_common.h
%{_includedir}/rtfilter.h
%{_libdir}/librtfilter.so
%{_libdir}/pkgconfig/rtfilter.pc
%changelog