ortp-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. %define cvs 20080211
  2. Name: ortp
  3. Version: 0.14.2
  4. Release: 0.%{cvs}.1%{?_dist_release}
  5. Summary: A C library implementing the RTP protocol (RFC3550)
  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. Patch0: ortp-0.14.1-nowerror.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: doxygen
  18. BuildRequires: graphviz
  19. BuildRequires: autoconf
  20. BuildRequires: automake
  21. BuildRequires: libtool
  22. %description
  23. oRTP is a C library that implements RTP (RFC3550).
  24. %package devel
  25. Summary: Development libraries for ortp
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: pkgconfig
  29. %description devel
  30. Libraries and headers required to develop software with ortp.
  31. %prep
  32. %setup0 -q
  33. %patch0 -p1
  34. %{__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
  35. %build
  36. libtoolize --copy --force
  37. aclocal
  38. autoheader
  39. automake --add-missing --copy
  40. autoconf
  41. %configure --disable-static --enable-ipv6
  42. make %{?_smp_mflags}
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make install DESTDIR=$RPM_BUILD_ROOT
  46. find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
  47. rm doc/html/html.tar
  48. rm -r %{buildroot}%{_datadir}/doc/ortp
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root,-)
  55. %doc AUTHORS ChangeLog TODO
  56. %{_libdir}/*.so.*
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %doc doc/html
  60. %{_includedir}/%{name}
  61. %{_libdir}/*.so
  62. %{_libdir}/pkgconfig/ortp.pc
  63. %changelog
  64. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.14.2-0.20080211.1
  65. - Initial build for Vine Linux
  66. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.14.2-0.5.20080211
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  68. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.14.2-0.4.20080211
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  70. * Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.14.2-0.3.20080211
  71. - fix license tag
  72. - epoch bump to fix pre-release versioning
  73. * Thu Feb 14 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.14.2-0.20080211.2%{?dist}
  74. - Update to 0.14.2 snapshot
  75. * Tue Feb 5 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.14.1-0.20080123.2
  76. - Apply patch to remove -Werror from the build (for PPC).
  77. * Fri Feb 1 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.14.1-0.20080123.1
  78. - Update to 0.14.1 (using CVS snapshot until official release is available).
  79. * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.13.1-4
  80. - Rebuild for selinux ppc32 issue.
  81. * Fri Jun 22 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.13.1-2
  82. - Fix URL
  83. * Mon Apr 23 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.13.1-1
  84. - Update to 0.13.1
  85. - BR doxygen and graphviz for building documentation
  86. * Mon Jan 29 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.13.0-1
  87. - Update to 0.13.0
  88. - ortp-devel BR pkgconfig
  89. - Add ldconfig scriptlets
  90. * Tue Nov 21 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.12.0-1
  91. - Update to 0.12.0
  92. * Mon Oct 9 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.11.0-2
  93. - Bring back -Werror patch (needed for building on PPC)
  94. * Mon Oct 9 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.11.0-1
  95. - Update to 0.11.0
  96. - Remove ortp-0.8.1-Werror.patch
  97. * Wed Aug 30 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.1-3
  98. - Bump release and rebuild
  99. * Mon Feb 13 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-2
  100. - Rebuild for Fedora Extras 5
  101. * Tue Jan 3 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-1
  102. - Upstream update
  103. * Thu Dec 22 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.1-2
  104. - Added ortp.pc to -devel
  105. * Sat Dec 3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.1-1
  106. - Upstream update
  107. * Wed Nov 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.0-6
  108. - Fix a typo in Requires on -devel
  109. * Wed Nov 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.0-5
  110. - Add missing Requires on -devel
  111. * Sun Nov 13 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.0-4
  112. - Split from linphone