-
Notifications
You must be signed in to change notification settings - Fork 4
/
g722_1.spec.in
64 lines (49 loc) · 1.42 KB
/
g722_1.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
63
64
Summary: libg722_1 is a library for the ITU G.722.1 and Annex C wideband speech codecs.
Name: @PACKAGE@
Version: @VERSION@
Release: 1%{?dist}
License: Polycom
Group: System Environment/Libraries
URL: http://www.soft-switch.org/libg722_1
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)
Docdir: %{_prefix}/doc
BuildRequires: audiofile-devel
BuildRequires: doxygen libtool
%description
libg722_1 is a library for the ITU G.722.1 and Annex C wideband speech codecs.
%package devel
Summary: G.722.1 development files
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
libg722_1 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}/libg722_1.la
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc ChangeLog AUTHORS COPYING NEWS README
%{_libdir}/libg722_1.so.*
%files devel
%defattr(-,root,root,-)
%doc doc/api
%{_includedir}/g722_1.h
%{_includedir}/g722_1
%{_libdir}/libg722_1.so
%{_libdir}/pkgconfig/g722_1.pc
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Sat Sep 20 2008 Steve Underwood <[email protected]> 0.0.1
- First pass