speexdsp-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. Name: speexdsp
  2. Version: 1.2
  3. %global rc_ver rc3
  4. Release: 0.14.%{rc_ver}%{?dist}
  5. Summary: A voice compression format (DSP)
  6. Group: System Environment/Libraries
  7. License: BSD
  8. URL: http://www.speex.org/
  9. Source0: http://downloads.xiph.org/releases/speex/%{name}-%{version}%{rc_ver}.tar.gz
  10. # a patch to speex (774c87d) was done usptream to fix this issue but it seems it
  11. # hasn't been replicated in speexdsp. Issue seen in at least pjproject
  12. # upstream ML thread http://lists.xiph.org/pipermail/speex-dev/2014-May/008488.html
  13. Patch0: speexdsp-fixbuilds-774c87d.patch
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. BuildRequires: libtool autoconf automake
  17. # speexdsp was split from speex in 1.2rc2. As speexdsp does not depend on
  18. # speex, a versioned conflict is required.
  19. Conflicts: speex <= 1.2-0.rc2
  20. %description
  21. Speex is a patent-free compression format designed especially for
  22. speech. It is specialized for voice communications at low bit-rates in
  23. the 2-45 kbps range. Possible applications include Voice over IP
  24. (VoIP), Internet audio streaming, audio books, and archiving of speech
  25. data (e.g. voice mail).
  26. This is the DSP package, see the speex package for the codec part.
  27. %package devel
  28. Summary: Development package for %{name}
  29. Group: Development/Libraries
  30. Requires: %{name}%{?_isa} = %{version}-%{release}
  31. # speexdsp was split from speex in 1.2rc2. As speexdsp does not depend on
  32. # speex, a versioned conflict is required.
  33. Conflicts: speex-devel <= 1.2-0.21.rc1
  34. %description devel
  35. Speex is a patent-free compression format designed especially for
  36. speech. This package contains development files for %{name}
  37. This is the DSP package, see the speex package for the codec part.
  38. %prep
  39. %setup -q -n %{name}-%{version}%{rc_ver}
  40. %patch0 -p1 -b .inc
  41. %build
  42. autoreconf -vif
  43. %configure \
  44. %ifarch aarch64
  45. --disable-neon \
  46. %endif
  47. --disable-static
  48. make %{?_smp_mflags} V=1
  49. %install
  50. make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
  51. # Remove libtool archives
  52. find %{buildroot} -type f -name "*.la" -delete
  53. %post -p /sbin/ldconfig
  54. %postun -p /sbin/ldconfig
  55. %files
  56. %doc AUTHORS COPYING TODO ChangeLog README NEWS doc/manual.pdf
  57. %doc %{_docdir}/speexdsp/manual.pdf
  58. %{_libdir}/libspeexdsp.so.*
  59. %files devel
  60. %{_includedir}/speex
  61. %{_libdir}/pkgconfig/speexdsp.pc
  62. %{_libdir}/libspeexdsp.so
  63. %changelog
  64. * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2-0.14.rc3
  65. - initial build for Vine Linux.
  66. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.13.rc3
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  68. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.12.rc3
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  70. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.11.rc3
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  72. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.10.rc3
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  74. * Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.9.rc3
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  76. * Fri Oct 23 2015 Jared Smith <jsmith@fedoraproject.org> - 1.2-0.8.rc3
  77. - Fix building on EPEL6/EPEL7 again, due to manual.pdf
  78. * Fri Oct 23 2015 Jared Smith <jsmith@fedoraproject.org> - 1.2-0.7.rc3
  79. - Fix building by making sure the manual.pdf file is included in the docs
  80. * Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-0.6.rc3
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  82. * Thu Jan 29 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0.5.rc3
  83. - Add patch similar to what was already done upstream in speex but not dsp
  84. * Thu Jan 15 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0.4.rc3
  85. - Fix build on aarch64 (disable NEON)
  86. * Mon Jan 05 2015 David King <amigadave@amigadave.com> - 1.2.0.3.rc3
  87. - Update to 1.2rc3
  88. * Sun Dec 14 2014 David King <amigadave@amigadave.com> - 1.2-0.2.rc2.20141214git
  89. - Use a git snapshot, to ensure that speex_buffer.h is present
  90. * Fri Dec 12 2014 David King <amigadave@amigadave.com> - 1.2-0.1.rc2
  91. - New package, split from speex (#1172829)