3 # mediastreamer2 -- A mediastreaming library for telephony applications
7 %define mediastreamer2_cpu pentium4
10 Summary: Audio/Video real-time streaming
12 Version: @MEDIASTREAMER2_PKGCONFIG_VERSION@
15 Group: Applications/Communications
16 URL: http://linphone.org/mediastreamer2/
17 Source0: %{name}-@MEDIASTREAMER2_PKGCONFIG_VERSION@.tar.gz
18 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
24 Mediastreamer2 is a GPL licensed library to make audio and video
25 real-time streaming and processing. Written in pure C, it is based
26 upon the oRTP library.
29 Summary: Headers, libraries and docs for the mediastreamer2 library
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
34 Mediastreamer2 is a GPL licensed library to make audio and video
35 real-time streaming and processing. Written in pure C, it is based
36 upon the ortp library.
38 This package contains header files and development libraries needed to
39 develop programs using the mediastreamer2 library.
42 %define mediastreamer2_arch_cflags -malign-double -march=i686 -mcpu=%{mediastreamer2_cpu}
45 %define mediastreamer2_arch_cflags -Wall
47 %define mediastreamer2_cflags %mediastreamer2_arch_cflags -Wall -g -pipe -pthread -O3 -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 -fstrict-aliasing
55 --enable-shared --enable-static
56 make -j$RPM_BUILD_NCPUS CFLAGS="%mediastreamer2_cflags" CXXFLAGS="%mediastreamer2_cflags"
59 rm -rf $RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(-,root,root,-)
67 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
71 %defattr(-,root,root,-)
76 %{_libdir}/pkgconfig/*.pc
80 * Tue Oct 25 2005 Francois-Xavier Kowalski <fix@hp.com>
81 - Add to mediastreamer2 distribution with "make rpm" target