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