tizen 2.3.1 release
[external/speex.git] / packaging / speex.spec
1 #sbs-git:slp/unmodified/speex speex 1.2rc1 9bb0e6afe6171ab1c8764f46a809cfa83be7c0d4
2
3 # Do not Edit! Generated by:
4 # spectacle version 0.14
5
6
7 Name:       speex
8 Summary:    A voice compression format (codec)
9 Version:    1.2rc1
10 Release:    5
11 Group:      System/Libraries
12 License:    BSD-2.0
13 URL:        http://www.speex.org/
14 Source0:    %{name}-%{version}.tar.gz
15 Requires(post):  /sbin/ldconfig
16 Requires(postun):  /sbin/ldconfig
17 BuildRequires:  pkgconfig(ogg)
18
19 %description
20 Speex is a patent-free compression format designed especially for
21 speech. It is specialized for voice communications at low bit-rates in
22 the 2-45 kbps range. Possible applications include Voice over IP
23 (VoIP), Internet audio streaming, audio books, and archiving of speech
24 data (e.g. voice mail).
25
26
27
28 %package tools
29 Summary:    The tools package for %{name}
30 Group:      Applications/Multimedia
31 Requires:   %{name} = %{version}-%{release}
32
33 %description tools
34 Speex is a patent-free compression format designed especially for
35 speech. This package contains tools files and user's manual for %{name}.
36
37
38 %package devel
39 Summary:    Development package for %{name}
40 Group:      Development/Libraries
41 Requires:   %{name} = %{version}-%{release}
42
43 %description devel
44 Speex is a patent-free compression format designed especially for
45 speech. This package contains development files for %{name}
46
47
48
49 %prep
50 %setup -q -n %{name}-1.2rc1
51
52
53 %build
54
55 %configure -disable-static \
56 %ifarch %arm
57         --enable-arm5e-asm \
58         --disable-oggtest \
59         --disable-float-api \
60         --disable-vbr \
61         --enable-fixed-point 
62 %endif
63
64 make %{?jobs:-j%jobs}
65
66 %install
67 rm -rf %{buildroot}
68 mkdir -p %{buildroot}/usr/share/license
69 cp COPYING %{buildroot}/usr/share/license/%{name}
70 %make_install
71
72 rm -f $RPM_BUILD_ROOT%{_docdir}/speex/manual.pdf
73
74
75
76 %post -p /sbin/ldconfig
77
78 %postun -p /sbin/ldconfig
79
80
81
82
83 %files
84 %manifest speex.manifest
85 %defattr(-,root,root,-)
86 %doc COPYING
87 %{_libdir}/libspeex*.so.*
88 /usr/share/license/%{name}
89
90 %files tools
91 %manifest tools.manifest
92 %defattr(-,root,root,-)
93 %{_bindir}/speexenc
94 %{_bindir}/speexdec
95 %doc %{_mandir}/man1/speexenc.1*
96 %doc %{_mandir}/man1/speexdec.1*
97
98 %files devel
99 %defattr(-,root,root,-)
100 %doc doc/manual.pdf
101 %{_includedir}/speex
102 %{_datadir}/aclocal/speex.m4
103 %{_libdir}/pkgconfig/speex*.pc
104 %{_libdir}/libspeex*.so
105