opus-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: opus
  3. Version: 1.2.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. License: BSD
  8. URL: http://www.opus-codec.org/
  9. Source0: http://downloads.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz
  10. # This is the final IETF Working Group RFC
  11. Source1: http://tools.ietf.org/rfc/rfc6716.txt
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. BuildRequires: doxygen
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: tomop
  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. %{_libdir}/pkgconfig/opus.pc
  85. %endif
  86. %changelog
  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