forked from Mirrors/freeswitch
1220bbcff2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10732 d0543943-73ff-0310-b7d9-9358b9ac24b2
66 lines
1.4 KiB
RPMSpec
66 lines
1.4 KiB
RPMSpec
Summary: libg722_1 is a library for the ITU G.722.1 and Annex C wideband speech codecs.
|
|
Name: @PACKAGE@
|
|
Version: @VERSION@
|
|
Release: 1
|
|
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@-@VERSION@.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Docdir: %{_prefix}/doc
|
|
|
|
BuildRequires: audiofile-devel
|
|
BuildRequires: doxygen
|
|
|
|
%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: libg722_1 = %{version}
|
|
PreReq: /sbin/install-info
|
|
|
|
%description devel
|
|
libg722_1 development files.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%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.*
|
|
|
|
%{_datadir}/libg722_1
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%doc doc/api
|
|
%{_includedir}/g722_1.h
|
|
%{_includedir}/g722_1
|
|
%{_libdir}/libg722_1.so
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%changelog
|
|
* Sat Sep 20 2008 Steve Underwood <steveu@coppice.org> 0.0.1
|
|
- First pass
|