3 # ortp -- Real-time Transport Protocol Stack
5 # Default is optimized for Pentium IV but will execute on Pentium II &
9 %define ortp_cpu pentium4
12 Summary: Real-time Transport Protocol Stack
14 Version: @ORTP_PKGCONFIG_VERSION@
17 Group: Applications/Communications
18 URL: http://linphone.org/ortp/
19 Source0: %{name}-@ORTP_PKGCONFIG_VERSION@.tar.gz
20 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
26 oRTP is a LGPL licensed C library implementing the RTP protocol
27 (rfc1889). It is available for most unix clones (primilarly Linux and
28 HP-UX), and Microsoft Windows.
31 Summary: Headers, libraries and docs for the oRTP library
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 oRTP is a LGPL licensed C library implementing the RTP protocol
37 (rfc1889). It is available for most unix clones (primilarly Linux and
38 HP-UX), and Microsoft Windows.
40 This package contains header files and development libraries needed to
41 develop programs using the oRTP library.
44 %define ortp_arch_cflags -malign-double -march=i686 -mcpu=%{ortp_cpu}
47 %define ortp_arch_cflags -Wall
49 %define ortp_cflags %ortp_arch_cflags -Wall -g -pipe -pthread -O3 -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 -fstrict-aliasing
58 %{__make} -j$RPM_BUILD_NCPUS CFLAGS="%ortp_cflags" CXXFLAGS="%ortp_cflags"
61 rm -rf $RPM_BUILD_ROOT
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(-,root,root,-)
69 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
73 %defattr(-,root,root,-)
78 %{_libdir}/pkgconfig/*.pc
82 * Tue Oct 25 2005 Francois-Xavier Kowalski <fix@hp.com>
83 - Add to oRTP distribution with "make rpm" target