-
Notifications
You must be signed in to change notification settings - Fork 1
/
broadvoice.spec.in
62 lines (48 loc) · 1.4 KB
/
broadvoice.spec.in
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
Summary: broadvoice - a library for the BroadVoice 16 and 32 speech codecs
Name: @PACKAGE@
Version: @VERSION@
Release: 1%{?dist}
License: LGPL2.1
Group: System Environment/Libraries
URL: http://www.soft-switch.org/broadvoice
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Source: http://www.soft-switch.org/downloads/codecs/@PACKAGE@-@[email protected]
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: audiofile-devel
BuildRequires: doxygen libtool
%description
broadvoice is a library for the BroadVoice 16 and 32 speech codecs.
%package devel
Summary: BroadVoice development files
Group: Development/Libraries
Requires: libbroadvoice = %{version}
%description devel
libbroadvoice development files.
%prep
%setup -q
%build
./autogen.sh
%configure --enable-doc --disable-static --disable-rpath
make
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
rm %{buildroot}%{_libdir}/libbroadvoice.la
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc ChangeLog AUTHORS COPYING NEWS README
%{_libdir}/libbroadvoice.so.*
%files devel
%defattr(-,root,root,-)
%doc doc/api
%{_includedir}/broadvoice.h
%{_includedir}/broadvoice
%{_libdir}/libbroadvoice.so
%{_libdir}/pkgconfig/broadvoice.pc
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Sat Nov 15 2009 Steve Underwood <[email protected]> 0.0.1
- First pass