71 lines
1.9 KiB
RPMSpec
71 lines
1.9 KiB
RPMSpec
Name: iir1
|
|
Version: 1.10.0
|
|
Release: 1mamba
|
|
Summary: Realtime C++ IIR filter library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Claude <claude@openmamba.org>
|
|
URL: https://github.com/berndporr/iir1
|
|
Source: https://github.com/berndporr/iir1.git/%{version}/iir1-%{version}.tar.bz2
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
iir1 is a C++ library implementing Butterworth, Chebyshev I, Chebyshev II and RBJ IIR filters with realtime performance. It provides a clean API and supports any number of filter coefficients.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n lib%{name}
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%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}.
|
|
|
|
%prep
|
|
%autosetup -n iir1-%{version}
|
|
|
|
%build
|
|
%cmake \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
|
|
|
%cmake_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%cmake_install
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libiir.so.*
|
|
%doc COPYING
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/Iir.h
|
|
%{_includedir}/iir/
|
|
%{_libdir}/libiir.so
|
|
%{_libdir}/libiir_static.a
|
|
%{_libdir}/pkgconfig/iir.pc
|
|
%{_libdir}/cmake/iir/
|
|
|
|
%changelog
|
|
* Fri Mar 27 2026 Claude <claude@openmamba.org> 1.10.0-1mamba
|
|
- package created
|