libvorbis.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Summary: The OGG Vorbis lossy audio compression codec.
  2. Name: vorbis
  3. Version: 0.0
  4. Release: 1
  5. Copyright: GPL
  6. Group: Development/Libraries
  7. Source: http://www.xiph.org/vorbis/download/%{name}-%{version}.src.tgz
  8. Url: http://www.xiph.org/vorbis/index.html
  9. BuildRoot: /var/tmp/vorbis-root
  10. %description
  11. Ogg Vorbis is a fully Open, non-proprietary, patent-and-royalty-free,
  12. general-purpose compressed audio format for high quality (44.1-48.0kHz,
  13. 16+ bit, polyphonic) audio and music at fixed and variable bitrates
  14. from 16 to 128 kbps/channel. This places Vorbis in the same class as
  15. audio representations including MPEG-1 audio layer 3, MPEG-4
  16. audio (AAC and TwinVQ), and PAC.
  17. %package devel
  18. Copyright: LGPL
  19. Summary: Development library for OGG Vorbis
  20. Group: Development/Libraries
  21. %description devel
  22. Ogg Vorbis is a fully Open, non-proprietary, patent-and-royalty-free,
  23. general-purpose compressed audio format for high quality (44.1-48.0kHz,
  24. 16+ bit, polyphonic) audio and music at fixed and variable bitrates
  25. from 16 to 128 kbps/channel. This places Vorbis in the same class as
  26. audio representations including MPEG-1 audio layer 3, MPEG-4
  27. audio (AAC and TwinVQ), and PAC.
  28. %prep
  29. %setup -q
  30. %build
  31. rm -rf $RPM_BUILD_ROOT
  32. CFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=/usr
  33. make
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. install -d $RPM_BUILD_ROOT/usr/include/vorbis
  37. install -d $RPM_BUILD_ROOT/usr/include/vorbis/book
  38. install -d $RPM_BUILD_ROOT/usr/lib
  39. install -d $RPM_BUILD_ROOT/usr/bin
  40. install -m 0755 lib/libvorbis.a $RPM_BUILD_ROOT/usr/lib/
  41. install -m 0755 lib/vorbisfile.a $RPM_BUILD_ROOT/usr/lib/
  42. install -m 0644 include/vorbis/*.h $RPM_BUILD_ROOT/usr/include/vorbis/
  43. install -m 0644 include/vorbis/book/*.vqh $RPM_BUILD_ROOT/usr/include/vorbis/book/
  44. install -m 0755 -s huff/{residuesplit,huffbuild} $RPM_BUILD_ROOT/usr/bin
  45. install -m 0755 -s vq/{genericvqtrain,lspvqtrain,residuevqtrain,\
  46. vqbuild,vqcascade,vqmetrics,vqpartition} \
  47. $RPM_BUILD_ROOT/usr/bin/
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %files
  51. %defattr(-,root,root)
  52. %doc README
  53. /usr/bin/*
  54. %files devel
  55. %defattr(-,root,root)
  56. %doc README docs/*.{png,html}
  57. /usr/include/vorbis/*
  58. /usr/lib/*
  59. %changelog
  60. * Sat Apr 29 2000 Peter Jones <pjones@redhat.com>
  61. - first pass.