Name: capi-mediamuxer
Summary: A Media Muxer library in Tizen Native API
-Version: 0.1.17
+Version: 0.1.18
Release: 1
Group: Multimedia/API
License: Apache-2.0
#BuildRequires: pkgconfig(capi-mediademuxer)
%description
+A Media Muxer library in Tizen Native API
%package devel
Summary: Multimedia Framework Muxer Library (DEV)
Requires: %{name} = %{version}-%{release}
%description devel
+A Media Muxer library in Tizen Native API (Developement)
+
+%if 0%{?gcov:1}
+%package gcov
+Summary: Line Coverage of Media Muxer library in Tizen C API
+Group: Development/Multimedia
+
+%description gcov
+Collection of files related to Line Coverage. It is tested as gcov for a media muxer library in Tizen native API
+%endif
%prep
%setup -q
-
%build
%if 0%{?sec_build_binary_debug_enable}
export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
make %{?jobs:-j%jobs}
+%if 0%{?gcov:1}
+mkdir -p gcov-obj
+find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
+%endif
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
cp test/mediamuxer_test %{buildroot}%{_bindir}
+%if 0%{?gcov:1}
+mkdir -p %{buildroot}%{_datadir}/gcov/obj
+install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
+%endif
%make_install
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libcapi-mediamuxer.so
-
+%if 0%{?gcov:1}
+%files gcov
+%{_datadir}/gcov/obj/*
+%endif