%global pre 21 Summary: A DSP library for telephony. Name: @PACKAGE@ Version: @VERSION@ Release: 1 License: LGPLv2 and GPLv2 Group: System Environment/Libraries URL: http://www.soft-switch.org/spandsp Source: http://www.soft-switch.org/downloads/spandsp/@PACKAGE@-@VERSION@.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtiff-devel%{?_isa} BuildRequires: libjpeg-turbo-devel%{?_isa} BuildRequires: libxml2-devel%{?_isa} BuildRequires: libsndfile-devel%{?_isa} BuildRequires: doxygen BuildRequires: libxslt BuildRequires: docbook-style-xsl %description SpanDSP is a library of DSP functions for telephony, in the 8000 sample per second world of E1s, T1s, and higher order PCM channels. It contains low level functions, such as basic filters. It also contains higher level functions, such as cadenced supervisory tone detection, and a complete software FAX machine. The software has been designed to avoid intellectual property issues, using mature techniques where all relevant patents have expired. See the file DueDiligence for important information about these intellectual property issues. %package devel Summary: SpanDSP development files Group: Development/Libraries Requires: spandsp%{?_isa} = %{version}-%{release} Requires: libtiff-devel%{?_isa} Requires: libjpeg-turbo-devel%{?_isa} %description devel SpanDSP development files. %package apidoc Summary: SpanDSP API documentation Group: Development/Libraries %description apidoc SpanDSP API documentation. %prep %setup -q %build %configure --enable-doc --disable-static --disable-rpath make find doc/api -type f | xargs touch -r configure %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} rm %{buildroot}%{_libdir}/libspandsp.la mkdir -p %{buildroot}%{_datadir}/spandsp %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc DueDiligence ChangeLog AUTHORS COPYING NEWS README %{_libdir}/libspandsp.so.* %{_datadir}/spandsp %files devel %defattr(-,root,root,-) %{_includedir}/spandsp.h %{_includedir}/spandsp %{_libdir}/libspandsp.so %{_libdir}/pkgconfig/spandsp.pc %files apidoc %defattr(-,root,root,-) %doc doc/api/html/* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog * Mon Oct 03 2011 Steve Underwood 0.0.6-1 - Converge with what Fedora do * Wed Sep 24 2008 Tzafrir Cohen 0.0.5-1 - Preparing for 0.0.5pre4 release - License: LGPL * Mon Jun 23 2008 Steve Underwood 0.0.5-1 - Cleared out the dependency on libxml2 * Sun Dec 31 2006 Steve Underwood 0.0.3-1 - Preparing for 0.0.3 release * Sat Oct 16 2004 Steve Underwood 0.0.2-1 - Preparing for 0.0.2 release * Thu Apr 15 2004 Steve Underwood 0.0.1-1 - Initial version