diff --git a/README.md b/README.md index 276def0..59bd387 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # zita-convolver +A partitioned convolution engine library. + diff --git a/zita-convolver.spec b/zita-convolver.spec new file mode 100644 index 0000000..416f77a --- /dev/null +++ b/zita-convolver.spec @@ -0,0 +1,72 @@ +Name: zita-convolver +Version: 4.0.3 +Release: 1mamba +Summary: A partitioned convolution engine library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://kokkinizita.linuxaudio.org/linuxaudio/ +Source: https://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-convolver-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libfftw-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A partitioned convolution engine library. + +%package -n lib%{name} +Group: System/Libraries +Summary: A partitioned convolution engine library + +%description -n lib%{name} +A partitioned convolution engine library. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q +sed -i "/ldconfig/d" source/Makefile + +%build +cd source +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd source +%makeinstall PREFIX=%{_prefix} LIBDIR=%{_libdir} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libzita-convolver.so.* +%doc AUTHORS COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/zita-convolver.h +%{_libdir}/libzita-convolver.so +%doc README + +%changelog +* Tue Oct 15 2019 Silvan Calarco 4.0.3-1mamba +- package created using the webbuild interface