ortp-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. %define cvs 20080211
  2. Name: ortp
  3. Summary: A C library implementing the RTP protocol (RFC3550)
  4. Version: 0.16.4
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+ and VSL
  8. URL: http://www.linphone.org/index.php/code_review/ortp
  9. Source0: http://download.savannah.nongnu.org/releases/linphone/ortp/sources/ortp-%{version}.tar.gz
  10. # git clone http://jcollie.fedorapeople.org/ortp.git ortp.git
  11. # cd ortp.git
  12. # git archive --format=tar --prefix=ortp-%{version}/ ortp-%{version}-%{cvs} > ortp-%{version}-%{cvs}.tar
  13. # bzip2 ortp-%{version}-%{cvs}.tar
  14. #Source0: ortp-%{version}-%{cvs}.tar.bz2
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: openssl-devel
  17. BuildRequires: doxygen
  18. BuildRequires: graphviz
  19. %description
  20. oRTP is a C library that implements RTP (RFC3550).
  21. %package devel
  22. Summary: Development libraries for ortp
  23. Summary(ja): ortp の開発用ファイル
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. Requires: openssl-devel
  27. Requires: pkgconfig
  28. %description devel
  29. Libraries and headers required to develop software with ortp.
  30. %prep
  31. %setup0 -q
  32. %{__perl} -pi.dot -e 's/^(HAVE_DOT\s+=)\s+NO$/\1 YES/;s/^(CALL_GRAPH\s+=)\s+NO$/\1 YES/;s/^(CALLER_GRAPH\s+=)\s+NO$/\1 YES/' ortp.doxygen.in
  33. %build
  34. %configure --disable-static --enable-ipv6
  35. make %{?_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install DESTDIR=$RPM_BUILD_ROOT
  39. find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
  40. rm doc/html/html.tar
  41. rm -r $RPM_BUILD_ROOT%{_datadir}/doc/ortp
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %files
  47. %defattr(-,root,root,-)
  48. %doc AUTHORS ChangeLog TODO
  49. %{_libdir}/*.so.*
  50. %files devel
  51. %defattr(-,root,root,-)
  52. %doc doc/html
  53. %{_includedir}/%{name}
  54. %{_libdir}/*.so
  55. %{_libdir}/pkgconfig/ortp.pc
  56. %changelog
  57. * Sun Mar 6 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.16.4-1
  58. - new upstream release
  59. - built with openssl-1.0.0d
  60. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.16.3-2
  61. - rebuilt with rpm-4.8.1 for pkg-config
  62. * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.16.3-1
  63. - new upstream release
  64. - added BR: openssl-devel
  65. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.14.2-0.20080211.1
  66. - Initial build for Vine Linux
  67. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.14.2-0.5.20080211
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  69. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.14.2-0.4.20080211
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  71. * Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.14.2-0.3.20080211
  72. - fix license tag
  73. - epoch bump to fix pre-release versioning
  74. * Thu Feb 14 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.14.2-0.20080211.2%{?dist}
  75. - Update to 0.14.2 snapshot
  76. * Tue Feb 5 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.14.1-0.20080123.2
  77. - Apply patch to remove -Werror from the build (for PPC).
  78. * Fri Feb 1 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.14.1-0.20080123.1
  79. - Update to 0.14.1 (using CVS snapshot until official release is available).
  80. * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.13.1-4
  81. - Rebuild for selinux ppc32 issue.
  82. * Fri Jun 22 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.13.1-2
  83. - Fix URL
  84. * Mon Apr 23 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.13.1-1
  85. - Update to 0.13.1
  86. - BR doxygen and graphviz for building documentation
  87. * Mon Jan 29 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.13.0-1
  88. - Update to 0.13.0
  89. - ortp-devel BR pkgconfig
  90. - Add ldconfig scriptlets
  91. * Tue Nov 21 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.12.0-1
  92. - Update to 0.12.0
  93. * Mon Oct 9 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.11.0-2
  94. - Bring back -Werror patch (needed for building on PPC)
  95. * Mon Oct 9 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.11.0-1
  96. - Update to 0.11.0
  97. - Remove ortp-0.8.1-Werror.patch
  98. * Wed Aug 30 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.1-3
  99. - Bump release and rebuild
  100. * Mon Feb 13 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-2
  101. - Rebuild for Fedora Extras 5
  102. * Tue Jan 3 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-1
  103. - Upstream update
  104. * Thu Dec 22 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.1-2
  105. - Added ortp.pc to -devel
  106. * Sat Dec 3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.1-1
  107. - Upstream update
  108. * Wed Nov 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.0-6
  109. - Fix a typo in Requires on -devel
  110. * Wed Nov 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.0-5
  111. - Add missing Requires on -devel
  112. * Sun Nov 13 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.0-4
  113. - Split from linphone