celt-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Name: celt
  2. Version: 0.11.1
  3. Release: 1%{?_dist_release}
  4. Summary: An audio codec for use in low-delay speech and audio communication
  5. Group: System Environment/Libraries
  6. License: BSD
  7. URL: http://www.celt-codec.org/
  8. Source0: http://downloads.us.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz
  9. BuildRequires: libogg-devel
  10. %description
  11. CELT (Constrained Energy Lapped Transform) is an ultra-low delay audio
  12. codec designed for realtime transmission of high quality speech and audio.
  13. This is meant to close the gap between traditional speech codecs
  14. (such as Speex) and traditional audio codecs (such as Vorbis).
  15. %package devel
  16. Summary: Development package for celt
  17. Group: Development/Libraries
  18. Requires: libogg-devel
  19. Requires: celt = %{version}-%{release}
  20. Requires: pkgconfig
  21. %description devel
  22. Files for development with celt.
  23. %prep
  24. %setup -q
  25. %build
  26. %configure --enable-custom-modes
  27. # Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
  28. %__sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  29. %__sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  30. %__make %{?_smp_mflags}
  31. %install
  32. %__make install DESTDIR=%{buildroot}
  33. %__rm %{buildroot}%{_libdir}/*.a
  34. %__rm %{buildroot}%{_libdir}/*.la
  35. %post -p /sbin/ldconfig
  36. %postun -p /sbin/ldconfig
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc COPYING README TODO
  40. %{_bindir}/celtenc
  41. %{_bindir}/celtdec
  42. %{_libdir}/libcelt0.so.2
  43. %{_libdir}/libcelt0.so.2.0.0
  44. %files devel
  45. %defattr(-,root,root,-)
  46. %doc COPYING README
  47. %{_includedir}/celt
  48. %{_libdir}/pkgconfig/celt.pc
  49. %{_libdir}/libcelt0.so
  50. %changelog
  51. * Sun Oct 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.11.1-1
  52. - initial build
  53. * Sun Feb 20 2011 Peter Robinson <pbrobinson@gmail.com> 0.11.1-2
  54. - add --enable-custom-modes
  55. * Wed Feb 16 2011 Peter Robinson <pbrobinson@gmail.com> 0.11.1-1
  56. - New 0.11.1 release
  57. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  59. * Wed Dec 22 2010 Peter Robinson <pbrobinson@gmail.com> 0.10.0-1
  60. - New 0.10.0 release
  61. * Wed Sep 29 2010 jkeating - 0.8.1-2
  62. - Rebuilt for gcc bug 634757
  63. * Wed Sep 22 2010 Peter Robinson <pbrobinson@gmail.com> 0.8.1-1
  64. - New 0.8.1 release
  65. * Fri Jul 2 2010 Peter Robinson <pbrobinson@gmail.com> 0.8.0-2
  66. - Cleanup the spec file and update lib names
  67. * Fri Jul 2 2010 Peter Robinson <pbrobinson@gmail.com> 0.8.0-1
  68. - New 0.8.0 upstream release
  69. * Fri Oct 30 2009 Peter Robinson <pbrobinson@gmail.com> 0.7.0-1
  70. - New 0.7.0 upstream release
  71. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-2
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  73. * Mon Jul 6 2009 Peter Robinson <pbrobinson@gmail.com> 0.6.0-1
  74. - New 0.6.0 upstream release
  75. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  77. * Wed Feb 18 2009 Peter Robinson <pbrobinson@gmail.com> 0.5.2-1
  78. - New upstream release, remove note about license as fix upstream
  79. * Mon Feb 2 2009 Peter Robinson <pbrobinson@gmail.com> 0.5.1-2
  80. - Updates for package review
  81. * Mon Jan 5 2009 Peter Robinson <pbrobinson@gmail.com> 0.5.1-1
  82. - Initial package