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