1 Name: libmm-streamrecorder
2 Summary: Media Stream Recorder library
5 Group: Multimedia/Other
7 Source0: %{name}-%{version}.tar.gz
8 Requires(post): /sbin/ldconfig
9 Requires(postun): /sbin/ldconfig
10 BuildRequires: pkgconfig(mm-common)
11 BuildRequires: pkgconfig(mm-log)
12 BuildRequires: pkgconfig(gstreamer-base-1.0)
13 BuildRequires: pkgconfig(gstreamer-video-1.0)
14 BuildRequires: pkgconfig(gstreamer-app-1.0)
15 BuildRequires: pkgconfig(iniparser)
18 This library is for making video/audio files with gstreamer
22 Summary: Common recorder development library
25 Requires: %{name} = %{version}-%{release}
28 Media Stream Recorder development library
36 #export CFLAGS+=" -DGST_EXT_TIME_ANALYSIS"
37 export CFLAGS+=" -Wall -Wextra -Wno-array-bounds -Wno-empty-body -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow -Wwrite-strings -Wswitch-default -Wno-unused-but-set-parameter -Wno-unused-but-set-variable"
38 export CFLAGS+=" -DSYSCONFDIR=\\\"%{_sysconfdir}\\\""
40 %configure --disable-static
45 mkdir -p %{buildroot}/usr/share/license
46 cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
55 %postun -p /sbin/ldconfig
58 %manifest libmm-streamrecorder.manifest
59 %defattr(-,root,root,-)
62 %{_datadir}/license/%{name}
66 %defattr(-,root,root,-)
67 %{_includedir}/mmf/mm_streamrecorder.h
68 %{_libdir}/pkgconfig/mm-streamrecorder.pc