celt051-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Name: celt051
  2. Version: 0.5.1.3
  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. # Files without license header are confirmed to be BSD. Will be fixed in later release
  8. # http://lists.xiph.org/pipermail/celt-dev/2009-February/000063.html
  9. URL: http://www.celt-codec.org/
  10. Source0: http://downloads.us.xiph.org/releases/celt/celt-%{version}.tar.gz
  11. BuildRequires: libogg-devel
  12. %description
  13. CELT (Constrained Energy Lapped Transform) is an ultra-low delay audio
  14. codec designed for realtime transmission of high quality speech and audio.
  15. This is meant to close the gap between traditional speech codecs
  16. (such as Speex) and traditional audio codecs (such as Vorbis).
  17. The CELT bitstream format is not yet stable, this package is a special
  18. version of 0.5.1 that has the same bitstream format, but symbols and files
  19. renamed from 'celt*' to 'celt051*' so that it is parallel installable with
  20. the normal celt for packages requiring this particular bitstream format.
  21. %package devel
  22. Summary: Development package for %{name}
  23. Group: Development/Libraries
  24. Requires: libogg-devel
  25. Requires: %{name} = %{version}-%{release}
  26. Requires: pkgconfig
  27. %description devel
  28. The %{name}-devel package contains libraries and header files for
  29. developing applications that use %{name}.
  30. %prep
  31. %setup -q -n celt-%{version}
  32. %build
  33. %configure --disable-static
  34. # Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
  35. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  36. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  37. make %{?_smp_mflags}
  38. %install
  39. make install DESTDIR=$RPM_BUILD_ROOT
  40. rm $RPM_BUILD_ROOT%{_libdir}/libcelt051.la
  41. %post -p /sbin/ldconfig
  42. %postun -p /sbin/ldconfig
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc COPYING README TODO
  46. %{_bindir}/celtenc051
  47. %{_bindir}/celtdec051
  48. %{_libdir}/libcelt051.so.0
  49. %{_libdir}/libcelt051.so.0.0.0
  50. %files devel
  51. %defattr(-,root,root,-)
  52. %doc COPYING README
  53. %{_includedir}/celt051
  54. %{_libdir}/pkgconfig/celt051.pc
  55. %{_libdir}/libcelt051.so
  56. %changelog
  57. * Sun Nov 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.1.3-1
  58. - initial build for Vine Linux
  59. * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1.3-5
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  61. * Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1.3-4
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  63. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1.3-3
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  65. * Fri Jul 9 2010 Alexander Larsson <alexl@redhat.com> - 0.5.1.3-2
  66. - Update according to review (#612979)
  67. * Fri Jul 9 2010 Alexander Larsson <alexl@redhat.com> - 0.5.1.3-1
  68. - First fedora package, based on RHEL package version 0.5.1.3-0