forked from ASWATFZLLC/spandsp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspandsp.spec
86 lines (68 loc) · 2.29 KB
/
spandsp.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Summary: A DSP library for telephony.
Name: spandsp
Version: 0.0.6
Release: 1
License: LGPL
Group: System Environment/Libraries
URL: http://www.soft-switch.org/spandsp
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Source: http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtiff-devel
BuildRequires: audiofile-devel
BuildRequires: doxygen
# for xsltproc:
BuildRequires: libxslt
%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 = %{version}
Requires: libtiff-devel
PreReq: /sbin/install-info
%description devel
SpanDSP development files.
%prep
%setup -q
%build
%configure --enable-doc --disable-static --disable-rpath
make
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
rm %{buildroot}%{_libdir}/libspandsp.la
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc DueDiligence ChangeLog AUTHORS COPYING NEWS README
%{_libdir}/libspandsp.so.*
%files devel
%defattr(-,root,root,-)
%doc doc/api
%{_includedir}/spandsp.h
%{_includedir}/spandsp
%{_libdir}/libspandsp.so
%{_libdir}/pkgconfig/spandsp.pc
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Wed Sep 24 2008 Tzafrir Cohen <[email protected]> 0.0.5-1
- Preparing for 0.0.5pre4 release
- License: LGPL
* Mon Jun 23 2008 Steve Underwood <[email protected]> 0.0.5-1
- Cleared out the dependency on libxml2
* Sun Dec 31 2006 Steve Underwood <[email protected]> 0.0.3-1
- Preparing for 0.0.3 release
* Sat Oct 16 2004 Steve Underwood <[email protected]> 0.0.2-1
- Preparing for 0.0.2 release
* Thu Apr 15 2004 Steve Underwood <[email protected]> 0.0.1-1
- Initial version