opus-vl.spec 6.2 KB

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