opus-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: opus
  3. Version: 1.5.2
  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. %debug_package
  47. %prep
  48. %setup -q -n %{name}-%{version}
  49. cp %{SOURCE1} .
  50. %build
  51. %configure --enable-custom-modes --disable-static
  52. make %{?_smp_mflags} V=1
  53. %install
  54. rm -rf %{buildroot}
  55. make install DESTDIR=%{buildroot}
  56. # Remove libtool archives and static libs
  57. find %{buildroot} -type f -name "*.la" -delete
  58. rm -rf %{buildroot}%{_datadir}/doc/opus/html
  59. %check
  60. make check
  61. %files
  62. %defattr(-,root,root,-)
  63. %{!?_licensedir:%global license %%doc}
  64. %license COPYING
  65. %{_libdir}/libopus.so.*
  66. %files devel
  67. %defattr(-,root,root,-)
  68. %doc README doc/html rfc6716.txt
  69. %{_includedir}/opus
  70. %{_libdir}/libopus.so
  71. %{_libdir}/pkgconfig/opus.pc
  72. %{_datadir}/aclocal/opus.m4
  73. %{_datadir}/man/man3/opus_*.3.gz
  74. %if %{build_compat32}
  75. %files -n compat32-%{name}
  76. %defattr(-,root,root,-)
  77. %{_libdir}/libopus.so.*
  78. %files -n compat32-%{name}-devel
  79. %defattr(-,root,root,-)
  80. %{_libdir}/libopus.so
  81. %endif
  82. %changelog
  83. * Sat Jul 06 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.2-1
  84. - new upstream release.
  85. * Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.1-1
  86. - new upstream release.
  87. * Sun Feb 25 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-1
  88. - new upstream release.
  89. - added compat32 packages.
  90. * Mon Dec 21 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-2
  91. - initial build for Vine Linux.
  92. * Thu Nov 26 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-1
  93. - Update 1.1.1 GA
  94. * Wed Oct 28 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-0.4.rc
  95. - Update to 1.1.1 RC (further ARM optimisations)
  96. * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-0.3.beta
  97. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  98. * Tue Feb 3 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-0.2.beta
  99. - Use %%license
  100. * Wed Oct 15 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-0.1.beta
  101. - Update to 1.1.1 beta (SSE, ARM, MIPS optimisations)
  102. * Sun Oct 5 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-5
  103. - Install html docs in devel package
  104. * Fri Oct 3 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-4
  105. - Build developer docs
  106. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
  107. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  108. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
  109. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  110. * Fri Dec 6 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-1
  111. - 1.1 release
  112. * Tue Dec 3 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-0.3rc3
  113. - Update to 1.1-rc3
  114. * Thu Nov 28 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-0.2rc2
  115. - Update to 1.1-rc2
  116. * Tue Nov 26 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-0.1rc
  117. - Update to 1.1-rc
  118. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
  119. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  120. * Sun Jul 14 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.3-1
  121. - 1.0.3 release
  122. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
  123. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  124. * Thu Jan 10 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.2-2
  125. - Enable extra custom modes API
  126. * Thu Dec 6 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.2-1
  127. - Official 1.0.2 release
  128. * Wed Sep 12 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.1-1
  129. - Official 1.0.1 release now rfc6716 is stable
  130. * Tue Sep 4 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.1rc3-0.1
  131. - Update to 1.0.1rc3
  132. * Thu Aug 9 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.0rc1-0.1
  133. - Update to 1.0.0rc1
  134. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-2
  135. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  136. * Sun May 27 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9.14-1
  137. - Update to 0.9.14
  138. * Sat May 12 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9.10-2
  139. - Add make check - fixes RHBZ # 821128
  140. * Fri Apr 27 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9.10-1
  141. - Update to 0.9.10
  142. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-2
  143. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  144. * Tue Nov 8 2011 Peter Robinson <pbrobinson@fedoraproject.org> 0.9.8-1
  145. - Update to 0.9.8
  146. * Mon Oct 10 2011 Peter Robinson <pbrobinson@fedoraproject.org> 0.9.6-1
  147. - Initial packaging