2
0

g722_1.spec.in 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Summary: libg722_1 is a library for the ITU G.722.1 and Annex C wideband speech codecs.
  2. Name: @PACKAGE@
  3. Version: @VERSION@
  4. Release: 1
  5. License: Polycom
  6. Group: System Environment/Libraries
  7. URL: http://www.soft-switch.org/libg722_1
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. Source: http://www.soft-switch.org/downloads/codecs/@PACKAGE@-@VERSION@.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  11. Docdir: %{_prefix}/doc
  12. BuildRequires: audiofile-devel
  13. BuildRequires: doxygen
  14. %description
  15. libg722_1 is a library for the ITU G.722.1 and Annex C wideband speech codecs.
  16. %package devel
  17. Summary: G.722.1 development files
  18. Group: Development/Libraries
  19. Requires: libg722_1 = %{version}
  20. PreReq: /sbin/install-info
  21. %description devel
  22. libg722_1 development files.
  23. %prep
  24. %setup -q
  25. %build
  26. %configure --enable-doc --disable-static --disable-rpath
  27. make
  28. %install
  29. rm -rf %{buildroot}
  30. make install DESTDIR=%{buildroot}
  31. rm %{buildroot}%{_libdir}/libg722_1.la
  32. %clean
  33. rm -rf %{buildroot}
  34. %files
  35. %defattr(-,root,root,-)
  36. %doc ChangeLog AUTHORS COPYING NEWS README
  37. %{_libdir}/libg722_1.so.*
  38. %files devel
  39. %defattr(-,root,root,-)
  40. %doc doc/api
  41. %{_includedir}/g722_1.h
  42. %{_includedir}/g722_1
  43. %{_libdir}/libg722_1.so
  44. %{_libdir}/pkgconfig/g722_1.pc
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %changelog
  48. * Sat Sep 20 2008 Steve Underwood <steveu@coppice.org> 0.0.1
  49. - First pass