2
0

broadvoice.spec.in 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Summary: broadvoice - a library for the BroadVoice 16 and 32 speech codecs
  2. Name: @PACKAGE@
  3. Version: @VERSION@
  4. Release: 1
  5. License: LGPL2.1
  6. Group: System Environment/Libraries
  7. URL: http://www.soft-switch.org/broadvoice
  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. BuildRequires: audiofile-devel
  12. BuildRequires: doxygen
  13. %description
  14. broadvoice is a library for the BroadVoice 16 and 32 speech codecs.
  15. %package devel
  16. Summary: BroadVoice development files
  17. Group: Development/Libraries
  18. Requires: libbroadvoice = %{version}
  19. PreReq: /sbin/install-info
  20. %description devel
  21. libbroadvoice development files.
  22. %prep
  23. %setup -q
  24. %build
  25. %configure --enable-doc --disable-static --disable-rpath
  26. make
  27. %install
  28. rm -rf %{buildroot}
  29. make install DESTDIR=%{buildroot}
  30. rm %{buildroot}%{_libdir}/libbroadvoice.la
  31. %clean
  32. rm -rf %{buildroot}
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc ChangeLog AUTHORS COPYING NEWS README
  36. %{_libdir}/libbroadvoice.so.*
  37. %files devel
  38. %defattr(-,root,root,-)
  39. %doc doc/api
  40. %{_includedir}/broadvoice.h
  41. %{_includedir}/broadvoice
  42. %{_libdir}/libbroadvoice.so
  43. %{_libdir}/pkgconfig/broadvoice.pc
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %changelog
  47. * Sat Nov 15 2009 Steve Underwood <steveu@coppice.org> 0.0.1
  48. - First pass