ortp-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. %define cvs 20080211
  2. Name: ortp
  3. Summary: A C library implementing the RTP protocol (RFC3550)
  4. Version: 0.16.3
  5. Release: 1%{?_dist_release}
  6. #Release: 0.%{cvs}.1%{?_dist_release}
  7. Group: System Environment/Libraries
  8. License: LGPLv2+ and VSL
  9. URL: http://www.linphone.org/index.php/code_review/ortp
  10. Source0: http://download.savannah.nongnu.org/releases/linphone/ortp/sources/ortp-%{version}.tar.gz
  11. # git clone http://jcollie.fedorapeople.org/ortp.git ortp.git
  12. # cd ortp.git
  13. # git archive --format=tar --prefix=ortp-%{version}/ ortp-%{version}-%{cvs} > ortp-%{version}-%{cvs}.tar
  14. # bzip2 ortp-%{version}-%{cvs}.tar
  15. #Source0: ortp-%{version}-%{cvs}.tar.bz2
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: openssl-devel
  18. BuildRequires: doxygen
  19. BuildRequires: graphviz
  20. %description
  21. oRTP is a C library that implements RTP (RFC3550).
  22. %package devel
  23. Summary: Development libraries for 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. * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.16.3-1
  58. - new upstream release
  59. - added BR: openssl-devel
  60. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.14.2-0.20080211.1
  61. - Initial build for Vine Linux
  62. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.14.2-0.5.20080211
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  64. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.14.2-0.4.20080211
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  66. * Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.14.2-0.3.20080211
  67. - fix license tag
  68. - epoch bump to fix pre-release versioning
  69. * Thu Feb 14 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.14.2-0.20080211.2%{?dist}
  70. - Update to 0.14.2 snapshot
  71. * Tue Feb 5 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.14.1-0.20080123.2
  72. - Apply patch to remove -Werror from the build (for PPC).
  73. * Fri Feb 1 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.14.1-0.20080123.1
  74. - Update to 0.14.1 (using CVS snapshot until official release is available).
  75. * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.13.1-4
  76. - Rebuild for selinux ppc32 issue.
  77. * Fri Jun 22 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.13.1-2
  78. - Fix URL
  79. * Mon Apr 23 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.13.1-1
  80. - Update to 0.13.1
  81. - BR doxygen and graphviz for building documentation
  82. * Mon Jan 29 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.13.0-1
  83. - Update to 0.13.0
  84. - ortp-devel BR pkgconfig
  85. - Add ldconfig scriptlets
  86. * Tue Nov 21 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.12.0-1
  87. - Update to 0.12.0
  88. * Mon Oct 9 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.11.0-2
  89. - Bring back -Werror patch (needed for building on PPC)
  90. * Mon Oct 9 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.11.0-1
  91. - Update to 0.11.0
  92. - Remove ortp-0.8.1-Werror.patch
  93. * Wed Aug 30 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.1-3
  94. - Bump release and rebuild
  95. * Mon Feb 13 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-2
  96. - Rebuild for Fedora Extras 5
  97. * Tue Jan 3 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-1
  98. - Upstream update
  99. * Thu Dec 22 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.1-2
  100. - Added ortp.pc to -devel
  101. * Sat Dec 3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.1-1
  102. - Upstream update
  103. * Wed Nov 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.0-6
  104. - Fix a typo in Requires on -devel
  105. * Wed Nov 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.0-5
  106. - Add missing Requires on -devel
  107. * Sun Nov 13 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.0-4
  108. - Split from linphone