[Version] 0.2.2
[Issue Type] Coverage
Change-Id: I05d3e74ec139f771bece4f04bbd6a74b37f77c28
Name: capi-media-tone-player
Summary: A tone player library in Tizen C API
-Version: 0.2.1
+Version: 0.2.2
Release: 0
Group: Multimedia/API
License: Apache-2.0
%description devel
%devel_desc
+%if 0%{?gcov:1}
+%package gcov
+Summary: Line Coverage files
+Group: Development/Multimedia
+%description gcov
+Collection of files related to line coverage using gcov.
+%endif
%prep
%setup -q
make %{?jobs:-j%jobs}
+%if 0%{?gcov:1}
+mkdir -p gcov-obj
+find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
+%endif
+
%install
%make_install
+%if 0%{?gcov:1}
+mkdir -p %{buildroot}%{_datadir}/gcov/obj
+install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
+%endif
+
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%{_includedir}/media/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libcapi-media-tone-player.so
+
+%if 0%{?gcov:1}
+%files gcov
+%{_datadir}/gcov/obj/*
+%endif