speexdsp/speexdsp.spec

77 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: speexdsp
Version: 1.2.0
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://ftp.osuosl.org/pub/xiph/releases/speex/speexdsp-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%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
* Mon Dec 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- package created using the webbuild interface