File: sipxtapi.spec

package info (click to toggle)
sipxtapi 3.3.0~test17-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 23,012 kB
  • ctags: 25,370
  • sloc: cpp: 252,045; ansic: 11,911; sh: 11,657; makefile: 2,449; java: 2,264; xml: 225; perl: 161
file content (91 lines) | stat: -rw-r--r-- 2,485 bytes parent folder | download | duplicates (3)
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
87
88
89
90
91
Name: sipxtapi
Version: 3.3.0~test17
Release: 4

Summary: SIP stack, RTP media framework and codecs
License: LGPLv2
Url: http://www.sipxtapi.org

Source: http://www.sipxtapi.org/files/pub/sipX/%{name}-%{version}.tar.gz

BuildRequires: libtool automake autoconf
BuildRequires: cppunit-devel
BuildRequires: doxygen
BuildRequires: gsm-devel
BuildRequires: openssl-devel >= 0.9.8
BuildRequires: pcre-devel
BuildRequires: spandsp-devel
BuildRequires: xerces-c-devel

%description
sipXtapi is a framework that makes it easy to construct SIP user agents,
including soft-phones and telephony servers.

%package devel
Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: Development files for %{name}

%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%package doc
Summary: API documentation for %{name}

%description doc
sipXtapi is a framework that makes it easy to construct SIP user agents,
including softphones and telephony servers.

This package provides developer documentation about the API.

%prep
%setup -q

%build
%configure --enable-topology-graph --disable-codec-ilbc --disable-codec-g726 --enable-codec-g722 --enable-codec-gsm --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}

# sipXtapi provides unit tests but they are not currently invoked
# automatically as they demand network access and other local resources
# that have to be manually configured
#%check

%install
make DESTDIR=%{buildroot} install
rm -f %{buildroot}%{_libdir}/lib*.a
rm -f %{buildroot}%{_libdir}/lib*.la
rm -rf %{buildroot}%{_bindir}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root, -)
%doc COPYING
%{_libdir}/lib*.so.*
%{_libdir}/sipxtapi/

%files devel
%defattr(-, root, root, -)
%doc COPYING
%{_includedir}/sipxtapi/
%{_libdir}/lib*.so
%{_datarootdir}/sipxtapi/

%files doc
%defattr(-, root, root, -)
%doc %{_docdir}/%{name}/*

%changelog
* Wed Aug  7 2013 Daniel Pocock <daniel@pocock.com.au> - 3.3.0~test17-4
- Tweak documentation packaging
* Wed Aug  7 2013 Daniel Pocock <daniel@pocock.com.au> - 3.3.0~test17-3
- Various spec file improvements
* Wed Aug  7 2013 Daniel Pocock <daniel@pocock.com.au> - 3.3.0~test17-2
- Various spec file improvements
* Mon May  6 2013 Daniel Pocock <daniel@pocock.com.au> - 3.3.0~test17-1
- Initial build