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