ortp-vl.spec 4.8 KB

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