speexdsp/speexdsp.spec

79 lines
2.1 KiB
RPMSpec

Name: speexdsp
Version: 1.2.1
Release: 1mamba
Summary: A patent-free, Open Source/Free Software DSP library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://speex.org/
Source: https://gitlab.xiph.org/xiph/speexdsp.git/SpeexDSP-%{version}/speexdsp-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
SpeexDSP is a patent-free, Open Source/Free Software DSP library.
%package -n lib%{name}
Group: System/Libraries
Summary: A patent-free, Open Source/Free Software DSP library.
%description -n lib%{name}
SpeexDSP is a patent-free, Open Source/Free Software DSP library.
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}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%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}/libspeexdsp.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/speex/*
%{_libdir}/libspeexdsp.a
%{_libdir}/libspeexdsp.la
%{_libdir}/libspeexdsp.so
%{_libdir}/pkgconfig/speexdsp.pc
%{_datadir}/doc/speexdsp/manual.pdf
%doc ChangeLog NEWS README README.blackfin TODO
%changelog
* Wed Jun 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- update to 1.2.1
* Mon Dec 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- package created using the webbuild interface