1 Name: capi-media-video-util
2 Summary: A Video Utility library in Tizen Native API
5 Group: System/Libraries
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: capi-media-video-util.manifest
9 BuildRequires: pkgconfig(dlog)
10 BuildRequires: pkgconfig(mm-common)
11 BuildRequires: pkgconfig(mm-transcode)
12 BuildRequires: pkgconfig(capi-base-common)
13 BuildRequires: pkgconfig(capi-system-info)
16 BuildRequires: gettext-devel
19 A Video Utility library in Tizen Native API
22 Summary: A Video Utility library in Tizen Native API (Developement)
24 Requires: %{name} = %{version}-%{release}
25 Requires: pkgconfig(dlog)
26 Requires: pkgconfig(mm-common)
27 Requires: pkgconfig(mm-transcode)
28 Requires: pkgconfig(capi-base-common)
31 A Video Utility library in Tizen Native API (Developement)
35 Summary: Line Coverage of Video Utility library in Tizen C API
36 Group: Development/Multimedia
39 Collection of files related to Line Coverage. It is tested as gcov for a video utility library in Tizen native API
48 export CFLAGS+=" -fprofile-arcs -ftest-coverage"
49 export CXXFLAGS+=" -fprofile-arcs -ftest-coverage"
50 export FFLAGS+=" -fprofile-arcs -ftest-coverage"
51 export LDFLAGS+=" -lgcov"
54 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
55 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
59 find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
64 mkdir -p %{buildroot}%{_bindir}
65 cp test/video_util_test %{buildroot}%{_bindir}
67 mkdir -p %{buildroot}%{_datadir}/gcov/obj
68 install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
76 %manifest %{name}.manifest
78 %license LICENSE.Apache-2.0
82 %manifest %{name}.manifest
84 %{_libdir}/pkgconfig/*.pc
85 %{_includedir}/media/*.h
89 %{_datadir}/gcov/obj/*