speexdsp-vl.spec 5.6 KB

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