opal-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. Summary: Open Phone Abstraction Library
  2. Name: opal
  3. Version: 3.10.11
  4. Release: 1%{?_dist_release}
  5. Group: System Environment/Libraries
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: MPL
  9. URL: http://www.opalvoip.org/
  10. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  11. # We cannot use unmodified upstream source code because it contains some areas of legal concern.
  12. # rm -rf plugins/video/H.263-1998/
  13. # rm -rf plugins/video/H.264/
  14. # rm -rf plugins/video/MPEG4-ffmpeg/
  15. #Source0: https://download.gnome.org/sources/opal/%{shortver}/%{name}-%{version}.tar.xz
  16. Source0: %{name}-%{version}-clean.tar.xz
  17. Patch0: opal-3.10-fix-cflags.patch
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. BuildRequires: ruby
  20. BuildRequires: expat-devel
  21. BuildRequires: libtheora-devel
  22. BuildRequires: openldap-devel
  23. BuildRequires: openssl-devel
  24. BuildRequires: ptlib-devel >= 2.10.11
  25. BuildRequires: SDL-devel
  26. BuildRequires: swig
  27. BuildRequires: speex-devel
  28. BuildRequires: speexdsp-devel
  29. Obsoletes: openh323
  30. %description
  31. Open Phone Abstraction Library, implementation of the ITU H.323
  32. teleconferencing protocol, and successor of the openh323 library.
  33. %package devel
  34. Summary: Development package for opal
  35. Summary(ja): opal の開発用パッケージ
  36. Group: Development/Libraries
  37. Requires: opal = %{version}-%{release}
  38. Requires: ptlib-devel >= 2.10.11
  39. Requires: speex-devel
  40. Obsoletes: openh323-devel
  41. %description devel
  42. Static libraries and header files for development with opal.
  43. %prep
  44. %setup -q
  45. %patch0 -p1 -b.cf
  46. for file in dll so bin lib exe; do
  47. find . -name "*.$file" -delete
  48. done
  49. %build
  50. %configure
  51. make OPTCCFLAGS="$RPM_OPT_FLAGS" %{?_smp_mfalgs}
  52. %install
  53. rm -rf $RPM_BUILD_ROOT
  54. make DESTDIR=$RPM_BUILD_ROOT install
  55. rm -f $RPM_BUILD_ROOT/%{_datadir}/opal/opal_inc.mak
  56. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
  57. %clean
  58. rm -rf $RPM_BUILD_ROOT
  59. %post -p /sbin/ldconfig
  60. %postun -p /sbin/ldconfig
  61. %files
  62. %defattr(-,root,root)
  63. %license mpl-1.0.htm
  64. %{_libdir}/lib*.so.*
  65. %dir %{_libdir}/opal-%{version}
  66. %dir %{_libdir}/opal-%{version}/codecs
  67. %dir %{_libdir}/opal-%{version}/codecs/audio
  68. %dir %{_libdir}/opal-%{version}/codecs/video
  69. %{_libdir}/opal-%{version}/codecs/audio/*.so
  70. %{_libdir}/opal-%{version}/codecs/video/*.so
  71. %files devel
  72. %defattr(-,root,root)
  73. %doc samples
  74. %{_includedir}/*
  75. %{_libdir}/lib*.so
  76. %{_libdir}/pkgconfig/*
  77. %changelog
  78. * Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.10.11-1
  79. - new upstream release.
  80. - rebuilt with openssl-1.1.x.
  81. * Sat Jul 02 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.10-4
  82. - rebuild with gcc-5.4.0
  83. * Sat May 07 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.10-3
  84. - rebuild with openssl-1.0.2
  85. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.10-2
  86. - rebuild with VineSeed environment
  87. * Sun Mar 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.10-1
  88. - new upstream release
  89. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.9-1
  90. - new upstream release
  91. - add BuildRequires: speex-devel, expat-devel
  92. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.7-1
  93. - new upstream release
  94. - add BuildRequires: ruby, swig, celt-devel
  95. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  96. - new upstream release
  97. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  98. - new upstream release
  99. * Mon Jan 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.8-2
  100. - rebuild with openssl-1.0.0c
  101. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.8-1
  102. - new upstream release
  103. - add Requires: speex-devel (devel package)
  104. * Sun Mar 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.7-1
  105. - new upstream release
  106. - fix URL
  107. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.6.2-1
  108. - new upstream release
  109. * Sat Apr 4 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.4.4-1
  110. - new upstream release
  111. * Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.4.2-1
  112. - new upstream release
  113. * Tue Sep 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.4.1-1
  114. - new upstream release
  115. * Sat Sep 29 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.11-0vl1
  116. - new upstream release
  117. * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.8-0vl3
  118. - rebuilt with openssl-0.9.8e
  119. * Sat May 12 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.8-0vl2
  120. - rebuilt with new toolchains
  121. * Sat Apr 14 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.8-0vl1
  122. - new upstream release
  123. * Fri Feb 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.5-0vl1
  124. - new upstream release
  125. * Sat Feb 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.4-0vl1
  126. - initial built for Vine Linux 4.0
  127. * Wed May 31 2006 Daniel Veillard <veillard@redhat.com> - 2.2.2-1
  128. - new release for ekiga-2.0.2
  129. - try to fix #192740 mutilib problem
  130. * Tue Mar 14 2006 Daniel Veillard <veillard@redhat.com> - 2.2.1-1
  131. - last minute break fix and new release
  132. * Tue Mar 14 2006 Ray Strode <rstrode@redhat.com> - 2.2.0-2
  133. - rebuild
  134. * Mon Mar 13 2006 Daniel Veillard <veillard@redhat.com> - 2.2.0-1
  135. - final version for ekiga-2.0.0
  136. * Mon Feb 13 2006 Daniel Veillard <veillard@redhat.com> - 2.1.3-1
  137. - new beta version for ekiga
  138. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.1-1.2
  139. - bump again for double-long bug on ppc(64)
  140. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.1-1.1
  141. - rebuilt for new gcc4.1 snapshot and glibc changes
  142. * Tue Jan 24 2006 Daniel Veillard <veillard@redhat.com> - 2.1-1
  143. - initial version based on the openh323 spec file