123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- Name: speexdsp
- Version: 1.2
- %global rc_ver rc3
- Release: 0.16.%{rc_ver}%{?_dist_release}
- Summary: A voice compression format (DSP)
- Group: System Environment/Libraries
- Vendor: Project Vine
- Distribution: Vine Linux
- License: BSD
- URL: http://www.speex.org/
- Source0: http://downloads.xiph.org/releases/speex/%{name}-%{version}%{rc_ver}.tar.gz
- # a patch to speex (774c87d) was done usptream to fix this issue but it seems it
- # hasn't been replicated in speexdsp. Issue seen in at least pjproject
- # upstream ML thread http://lists.xiph.org/pipermail/speex-dev/2014-May/008488.html
- Patch0: speexdsp-fixbuilds-774c87d.patch
- BuildRequires: libtool autoconf automake
- # speexdsp was split from speex in 1.2rc2. As speexdsp does not depend on
- # speex, a versioned conflict is required.
- Conflicts: speex <= 1.2-0.rc2
- %description
- Speex is a patent-free compression format designed especially for
- speech. It is specialized for voice communications at low bit-rates in
- the 2-45 kbps range. Possible applications include Voice over IP
- (VoIP), Internet audio streaming, audio books, and archiving of speech
- data (e.g. voice mail).
- This is the DSP package, see the speex package for the codec part.
- %package devel
- Summary: Development package for %{name}
- Group: Development/Libraries
- Requires: %{name}%{?_isa} = %{version}-%{release}
- # speexdsp was split from speex in 1.2rc2. As speexdsp does not depend on
- # speex, a versioned conflict is required.
- Conflicts: speex-devel <= 1.2-0.21.rc1
- %description devel
- Speex is a patent-free compression format designed especially for
- speech. This package contains development files for %{name}
- This is the DSP package, see the speex package for the codec part.
- %if %{build_compat32}
- %package -n compat32-%{name}
- Summary: A voice compression format (DSP)
- Group: System Environment/Libraries
- Requires: %{name} = %{version}-%{release}
- %description -n compat32-%{name}
- Speex is a patent-free compression format designed especially for
- speech. It is specialized for voice communications at low bit-rates in
- the 2-45 kbps range. Possible applications include Voice over IP
- (VoIP), Internet audio streaming, audio books, and archiving of speech
- data (e.g. voice mail).
- This is the DSP package, see the speex package for the codec part.
- %package -n compat32-%{name}-devel
- Summary: Development package for %{name}
- Group: Development/Libraries
- Requires: %{name}-devel = %{version}-%{release}
- %description -n compat32-%{name}-devel
- Speex is a patent-free compression format designed especially for
- speech. This package contains development files for %{name}
- %endif
- %prep
- %setup -q -n %{name}-%{version}%{rc_ver}
- %patch0 -p1 -b .inc
- %build
- autoreconf -vif
- %configure \
- --disable-static
- make %{?_smp_mflags} V=1
- %install
- make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
- # Remove libtool archives
- find %{buildroot} -type f -name "*.la" -delete
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %license COPYING
- %doc AUTHORS TODO ChangeLog README NEWS doc/manual.pdf
- %doc %{_docdir}/speexdsp/manual.pdf
- %{_libdir}/libspeexdsp.so.*
- %files devel
- %{_includedir}/speex
- %{_libdir}/pkgconfig/speexdsp.pc
- %{_libdir}/libspeexdsp.so
- %if %{build_compat32}
- %files -n compat32-%{name}
- %{_libdir}/libspeexdsp.so.*
- %files -n compat32-%{name}-devel
- %{_libdir}/pkgconfig/speexdsp.pc
- %{_libdir}/libspeexdsp.so
- %endif
- %changelog
- * Sun Apr 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2-0.16.rc3
- - rebuilt with current environment.
- * Sun Feb 25 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2-0.15.rc3
- - added compat32 packages.
- * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2-0.14.rc3
- - initial build for Vine Linux.
- * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.13.rc3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.12.rc3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
- * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.11.rc3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
- * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.10.rc3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
- * Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.9.rc3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
- * Fri Oct 23 2015 Jared Smith <jsmith@fedoraproject.org> - 1.2-0.8.rc3
- - Fix building on EPEL6/EPEL7 again, due to manual.pdf
- * Fri Oct 23 2015 Jared Smith <jsmith@fedoraproject.org> - 1.2-0.7.rc3
- - Fix building by making sure the manual.pdf file is included in the docs
- * Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-0.6.rc3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
- * Thu Jan 29 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0.5.rc3
- - Add patch similar to what was already done upstream in speex but not dsp
- * Thu Jan 15 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0.4.rc3
- - Fix build on aarch64 (disable NEON)
- * Mon Jan 05 2015 David King <amigadave@amigadave.com> - 1.2.0.3.rc3
- - Update to 1.2rc3
- * Sun Dec 14 2014 David King <amigadave@amigadave.com> - 1.2-0.2.rc2.20141214git
- - Use a git snapshot, to ensure that speex_buffer.h is present
- * Fri Dec 12 2014 David King <amigadave@amigadave.com> - 1.2-0.1.rc2
- - New package, split from speex (#1172829)
|