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