comparison spandsp-0.0.3/spandsp-0.0.3/spandsp.spec.in @ 5:f762bf195c4b

import spandsp-0.0.3
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 16:00:21 +0200
parents
children
comparison
equal deleted inserted replaced
4:26cd8f1ef0b1 5:f762bf195c4b
1 Summary: Steve's DSP library for telephony spans.
2 Name: @PACKAGE@
3 Version: @VERSION@
4 Release: 1
5 License: GPL
6 URL: http://www.soft-switch.org/spandsp
7 BuildRoot: %{_tmppath}/%{name}-%{version}-root
8 Source: http://www.soft-switch.org/spandsp/@PACKAGE@-@VERSION@.tar.gz
9
10 Group: System Environment/Libraries
11 Obsoletes: spandsp
12 Docdir: %{_prefix}/doc
13
14 %description
15 spandsp is a library for DSP in telephony spans. It can perform many of the
16 common DSP functions, such as the generation and detection of DTMF and
17 supervisory tones.
18
19 %package devel
20 Summary: header files and libraries needed for development with spandsp.
21 Group: Development/Libraries
22 Requires: spandsp = %{version}
23 Obsoletes: spandsp-devel
24 PreReq: /sbin/install-info
25
26 %description devel
27 This package includes the header files and libraries needed for
28 developing programs using spandsp.
29
30 %prep
31 %setup
32
33 automake
34 %build
35 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --sysconfdir=/etc
36 make
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 make prefix=$RPM_BUILD_ROOT/%{_prefix} sysconfdir=$RPM_BUILD_ROOT/etc install
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %post -p /sbin/ldconfig
47
48 %postun -p /sbin/ldconfig
49
50 %files
51 %defattr(-, root, root)
52
53 %{_prefix}/lib/lib*.so.*
54
55 %files devel
56 %defattr(-, root, root)
57
58 %{_prefix}/lib/lib*.a
59 %{_prefix}/lib/lib*.la
60 %{_prefix}/lib/lib*.so
61 %{_prefix}/include/*
62
63 %{_prefix}/share/%{name}/global-tones.xml
64 %{_prefix}/share/%{name}/tones.dtd
65
66 %changelog
67 %changelog
68 * Sat Oct 16 2004 Steve Underwood <steveu@coppice.org> 0.0.2-1
69 - Preparing for 0.0.2 release
70
71 * Thu Apr 15 2004 Steve Underwood <steveu@coppice.org> 0.0.1-1
72 - Initial version

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.