ortp-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. %define cvs 20080211
  2. Name: ortp
  3. Summary: A C library implementing the RTP protocol (RFC3550)
  4. Version: 0.16.3
  5. Release: 2%{?_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. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.16.3-2
  58. - rebuilt with rpm-4.8.1 for pkg-config
  59. * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.16.3-1
  60. - new upstream release
  61. - added BR: openssl-devel
  62. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.14.2-0.20080211.1
  63. - Initial build for Vine Linux
  64. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.14.2-0.5.20080211
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  66. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.14.2-0.4.20080211
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  68. * Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.14.2-0.3.20080211
  69. - fix license tag
  70. - epoch bump to fix pre-release versioning
  71. * Thu Feb 14 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.14.2-0.20080211.2%{?dist}
  72. - Update to 0.14.2 snapshot
  73. * Tue Feb 5 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.14.1-0.20080123.2
  74. - Apply patch to remove -Werror from the build (for PPC).
  75. * Fri Feb 1 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.14.1-0.20080123.1
  76. - Update to 0.14.1 (using CVS snapshot until official release is available).
  77. * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.13.1-4
  78. - Rebuild for selinux ppc32 issue.
  79. * Fri Jun 22 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.13.1-2
  80. - Fix URL
  81. * Mon Apr 23 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.13.1-1
  82. - Update to 0.13.1
  83. - BR doxygen and graphviz for building documentation
  84. * Mon Jan 29 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.13.0-1
  85. - Update to 0.13.0
  86. - ortp-devel BR pkgconfig
  87. - Add ldconfig scriptlets
  88. * Tue Nov 21 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.12.0-1
  89. - Update to 0.12.0
  90. * Mon Oct 9 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.11.0-2
  91. - Bring back -Werror patch (needed for building on PPC)
  92. * Mon Oct 9 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.11.0-1
  93. - Update to 0.11.0
  94. - Remove ortp-0.8.1-Werror.patch
  95. * Wed Aug 30 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.1-3
  96. - Bump release and rebuild
  97. * Mon Feb 13 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-2
  98. - Rebuild for Fedora Extras 5
  99. * Tue Jan 3 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-1
  100. - Upstream update
  101. * Thu Dec 22 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.1-2
  102. - Added ortp.pc to -devel
  103. * Sat Dec 3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.1-1
  104. - Upstream update
  105. * Wed Nov 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.0-6
  106. - Fix a typo in Requires on -devel
  107. * Wed Nov 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.0-5
  108. - Add missing Requires on -devel
  109. * Sun Nov 13 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.7.0-4
  110. - Split from linphone