[11539] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
[9889] | 3 | Name: opus |
---|
[12380] | 4 | Version: 1.3.1 |
---|
[11539] | 5 | Release: 1%{?_dist_release} |
---|
[9889] | 6 | Summary: An audio codec for use in low-delay speech and audio communication |
---|
[12380] | 7 | Group: System Environment/Libraries |
---|
| 8 | Vendor: Project Vine |
---|
| 9 | Distribution: Vine Linux |
---|
| 10 | Packager: tomop |
---|
[9889] | 11 | |
---|
| 12 | License: BSD |
---|
| 13 | URL: http://www.opus-codec.org/ |
---|
| 14 | Source0: http://downloads.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz |
---|
| 15 | # This is the final IETF Working Group RFC |
---|
| 16 | Source1: http://tools.ietf.org/rfc/rfc6716.txt |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 18 | BuildRequires: doxygen |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | The Opus codec is designed for interactive speech and audio transmission over |
---|
| 22 | the Internet. It is designed by the IETF Codec Working Group and incorporates |
---|
| 23 | technology from Skype's SILK codec and Xiph.Org's CELT codec. |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Development package for opus |
---|
| 27 | Group: Development/Libraries |
---|
| 28 | Requires: libogg-devel |
---|
| 29 | Requires: opus = %{version}-%{release} |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | Files for development with opus. |
---|
| 33 | |
---|
[11539] | 34 | %if %{build_compat32} |
---|
| 35 | %package -n compat32-%{name} |
---|
| 36 | Summary: An audio codec for use in low-delay speech and audio communication |
---|
| 37 | |
---|
| 38 | Group: System Environment/Libraries |
---|
| 39 | Requires: %{name} = %{version}-%{release} |
---|
| 40 | |
---|
| 41 | %description -n compat32-%{name} |
---|
| 42 | The Opus codec is designed for interactive speech and audio transmission over |
---|
| 43 | the Internet. It is designed by the IETF Codec Working Group and incorporates |
---|
| 44 | technology from Skype's SILK codec and Xiph.Org's CELT codec. |
---|
| 45 | |
---|
| 46 | %package -n compat32-%{name}-devel |
---|
| 47 | Summary: Development package for opus |
---|
| 48 | Group: Development/Libraries |
---|
| 49 | Requires: compat32-libogg-devel |
---|
| 50 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 51 | Requires: opus = %{version}-%{release} |
---|
| 52 | |
---|
| 53 | %description -n compat32-%{name}-devel |
---|
| 54 | Files for development with opus. |
---|
| 55 | |
---|
| 56 | %endif |
---|
| 57 | |
---|
[9889] | 58 | %prep |
---|
| 59 | %setup -q -n %{name}-%{version} |
---|
| 60 | cp %{SOURCE1} . |
---|
| 61 | |
---|
| 62 | %build |
---|
| 63 | %configure --enable-custom-modes --disable-static |
---|
| 64 | |
---|
| 65 | make %{?_smp_mflags} V=1 |
---|
| 66 | |
---|
| 67 | %install |
---|
| 68 | rm -rf %{buildroot} |
---|
| 69 | make install DESTDIR=%{buildroot} |
---|
| 70 | |
---|
| 71 | # Remove libtool archives and static libs |
---|
| 72 | find %{buildroot} -type f -name "*.la" -delete |
---|
| 73 | rm -rf %{buildroot}%{_datadir}/doc/opus/html |
---|
| 74 | |
---|
| 75 | %check |
---|
| 76 | make check |
---|
| 77 | |
---|
| 78 | %clean |
---|
| 79 | rm -rf %{buildroot} |
---|
| 80 | |
---|
| 81 | %post -p /sbin/ldconfig |
---|
| 82 | |
---|
| 83 | %postun -p /sbin/ldconfig |
---|
| 84 | |
---|
| 85 | %files |
---|
| 86 | %defattr(-,root,root,-) |
---|
| 87 | %{!?_licensedir:%global license %%doc} |
---|
| 88 | %license COPYING |
---|
| 89 | %{_libdir}/libopus.so.* |
---|
| 90 | |
---|
| 91 | %files devel |
---|
| 92 | %defattr(-,root,root,-) |
---|
| 93 | %doc README doc/html rfc6716.txt |
---|
| 94 | %{_includedir}/opus |
---|
| 95 | %{_libdir}/libopus.so |
---|
| 96 | %{_libdir}/pkgconfig/opus.pc |
---|
| 97 | %{_datadir}/aclocal/opus.m4 |
---|
| 98 | %{_datadir}/man/man3/opus_*.3.gz |
---|
| 99 | |
---|
[11539] | 100 | %if %{build_compat32} |
---|
| 101 | %files -n compat32-%{name} |
---|
| 102 | %defattr(-,root,root,-) |
---|
| 103 | %{_libdir}/libopus.so.* |
---|
| 104 | |
---|
| 105 | %files -n compat32-%{name}-devel |
---|
| 106 | %defattr(-,root,root,-) |
---|
| 107 | %{_libdir}/libopus.so |
---|
| 108 | %endif |
---|
| 109 | |
---|
[9889] | 110 | %changelog |
---|
[12380] | 111 | * Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.1-1 |
---|
| 112 | - new upstream release. |
---|
| 113 | |
---|
[11539] | 114 | * Sun Feb 25 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-1 |
---|
| 115 | - new upstream release. |
---|
| 116 | - added compat32 packages. |
---|
| 117 | |
---|
[9889] | 118 | * Mon Dec 21 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-2 |
---|
| 119 | - initial build for Vine Linux. |
---|
| 120 | |
---|
| 121 | * Thu Nov 26 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-1 |
---|
| 122 | - Update 1.1.1 GA |
---|
| 123 | |
---|
| 124 | * Wed Oct 28 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-0.4.rc |
---|
| 125 | - Update to 1.1.1 RC (further ARM optimisations) |
---|
| 126 | |
---|
| 127 | * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-0.3.beta |
---|
| 128 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
| 129 | |
---|
| 130 | * Tue Feb 3 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-0.2.beta |
---|
| 131 | - Use %%license |
---|
| 132 | |
---|
| 133 | * Wed Oct 15 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-0.1.beta |
---|
| 134 | - Update to 1.1.1 beta (SSE, ARM, MIPS optimisations) |
---|
| 135 | |
---|
| 136 | * Sun Oct 5 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-5 |
---|
| 137 | - Install html docs in devel package |
---|
| 138 | |
---|
| 139 | * Fri Oct 3 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-4 |
---|
| 140 | - Build developer docs |
---|
| 141 | |
---|
| 142 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3 |
---|
| 143 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
| 144 | |
---|
| 145 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2 |
---|
| 146 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 147 | |
---|
| 148 | * Fri Dec 6 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-1 |
---|
| 149 | - 1.1 release |
---|
| 150 | |
---|
| 151 | * Tue Dec 3 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-0.3rc3 |
---|
| 152 | - Update to 1.1-rc3 |
---|
| 153 | |
---|
| 154 | * Thu Nov 28 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-0.2rc2 |
---|
| 155 | - Update to 1.1-rc2 |
---|
| 156 | |
---|
| 157 | * Tue Nov 26 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-0.1rc |
---|
| 158 | - Update to 1.1-rc |
---|
| 159 | |
---|
| 160 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2 |
---|
| 161 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 162 | |
---|
| 163 | * Sun Jul 14 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.3-1 |
---|
| 164 | - 1.0.3 release |
---|
| 165 | |
---|
| 166 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3 |
---|
| 167 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 168 | |
---|
| 169 | * Thu Jan 10 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.2-2 |
---|
| 170 | - Enable extra custom modes API |
---|
| 171 | |
---|
| 172 | * Thu Dec 6 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.2-1 |
---|
| 173 | - Official 1.0.2 release |
---|
| 174 | |
---|
| 175 | * Wed Sep 12 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.1-1 |
---|
| 176 | - Official 1.0.1 release now rfc6716 is stable |
---|
| 177 | |
---|
| 178 | * Tue Sep 4 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.1rc3-0.1 |
---|
| 179 | - Update to 1.0.1rc3 |
---|
| 180 | |
---|
| 181 | * Thu Aug 9 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.0rc1-0.1 |
---|
| 182 | - Update to 1.0.0rc1 |
---|
| 183 | |
---|
| 184 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-2 |
---|
| 185 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 186 | |
---|
| 187 | * Sun May 27 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9.14-1 |
---|
| 188 | - Update to 0.9.14 |
---|
| 189 | |
---|
| 190 | * Sat May 12 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9.10-2 |
---|
| 191 | - Add make check - fixes RHBZ # 821128 |
---|
| 192 | |
---|
| 193 | * Fri Apr 27 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9.10-1 |
---|
| 194 | - Update to 0.9.10 |
---|
| 195 | |
---|
| 196 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-2 |
---|
| 197 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 198 | |
---|
| 199 | * Tue Nov 8 2011 Peter Robinson <pbrobinson@fedoraproject.org> 0.9.8-1 |
---|
| 200 | - Update to 0.9.8 |
---|
| 201 | |
---|
| 202 | * Mon Oct 10 2011 Peter Robinson <pbrobinson@fedoraproject.org> 0.9.6-1 |
---|
| 203 | - Initial packaging |
---|