From 354fb45f6de5c2865a53398cf8348813b4b91eef Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain(a)gmail.com>
Date: Mon, 30 Nov 2015 23:26:58 +0100
Subject: Initial import
Signed-off-by: Igor Gnatenko <i.gnatenko.brain(a)gmail.com>
---
.gitignore | 1 +
rtfilter.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 77 insertions(+)
create mode 100644 rtfilter.spec
diff --git a/.gitignore b/.gitignore
index e69de29..167fb57 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/rtfilter-1.1.tar.gz
diff --git a/rtfilter.spec b/rtfilter.spec
new file mode 100644
index 0000000..fc60f2b
--- /dev/null
+++ b/rtfilter.spec
@@ -0,0 +1,75 @@
+Name: rtfilter
+Version: 1.1
+Release: 1%{?dist}
+Summary: Realtime digital filtering functions for multichannel signals
+
+# LGPLv3: src/*
+# GPLv3: examples/*
+License: GPLv3 and LGPLv3
+URL:
http://cnbi.epfl.ch/software/rtfilter.html
+Source0:
https://github.com/nbourdau/rtfilter/archive/%{name}-%{version}.tar.gz
+
+BuildRequires: gcc
+BuildRequires: automake autoconf libtool
+
+%description
+rtfilter provides a library written in C implementing realtime digital
+filtering functions for multichannel signals (i.e. filtering multiple
+signals with the same filter). 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).
+If data allows it, the library automatically switch to optimized SIMD
+(Single Instruction Multiple Data) code, allowing to reduce by 3~4 the time
+spent in processing the data.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%autosetup -n %{name}-%{name}-%{version}
+
+%build
+autoreconf -vfi
+%configure
+%make_build
+
+%install
+%make_install
+
+# drop libtool
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+# drop installed copying in docdir
+rm -f %{buildroot}%{_docdir}/%{name}/COPYING
+
+%check
+make check
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%doc AUTHORS NEWS README
+%{_libdir}/lib%{name}.so.*
+
+%files devel
+%doc %{_docdir}/%{name}/examples
+%{_libdir}/lib%{name}.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_includedir}/rtf*.h
+%{_mandir}/man3/rtf*.3*
+
+%changelog
+* Sun Nov 29 2015 Igor Gnatenko <i.gnatenko.brain(a)gmail.com> - 1.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..764d91a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a0ab03e1ac8a5260224d308fa6b7d8e3 rtfilter-1.1.tar.gz
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/rtfilter.git/commit/?h=master&id=3...