ilbc.spec.in 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Summary: iLBC is a library for the iLBC low bit rate speech codec.
  2. Name: @PACKAGE@
  3. Version: @VERSION@
  4. Release: 1
  5. License: Global IP Sound iLBC Public License, v2.0
  6. Group: System Environment/Libraries
  7. URL: http://www.soft-switch.org/voipcodecs
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. Source: http://www.soft-switch.org/downloads/voipcodecs/@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. iLBC is a library for the iLBC low bit rate speech codec.
  16. %package devel
  17. Summary: iLBC development files
  18. Group: Development/Libraries
  19. Requires: ilbc = %{version}
  20. PreReq: /sbin/install-info
  21. %description devel
  22. iLBC 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}/libilbc.la
  32. %clean
  33. rm -rf %{buildroot}
  34. %files
  35. %defattr(-,root,root,-)
  36. %doc ChangeLog AUTHORS COPYING NEWS README
  37. %{_libdir}/libilbc.so.*
  38. %{_datadir}/ilbc
  39. %files devel
  40. %defattr(-,root,root,-)
  41. %doc doc/api
  42. %{_includedir}/ilbc.h
  43. %{_includedir}/ilbc
  44. %{_libdir}/libilbc.so
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %changelog
  48. * Thu Feb 7 2008 Steve Underwood <steveu@coppice.org> 0.0.1
  49. - First pass