Name: capi-media-sound-pool
-Version: 0.0.14
+Version: 0.0.18
Summary: Tizen Sound Pool module
Release: 0
Group: Multimedia/Framework
BuildRequires: pkgconfig(openal)
#BuildRequires: pkgconfig(freealut)
BuildRequires: pkgconfig(alure)
-BuildRequires: pkgconfig(mm-session)
-BuildRequires: pkgconfig(mm-sound)
%description
Tizen Sound Pool Module allowing sounds playing for audio resources.
%description devel
SoundPool Library in Tizen Native API (DEV).
+%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
cp %{SOURCE1001} .
make %{?jobs:-j%jobs}
+%if 0%{?gcov:1}
+mkdir -p gcov-obj
+find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
+%endif
+
%install
rm -rf %{buildroot}
%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}/lib%{name}.so
+
+%if 0%{?gcov:1}
+%files gcov
+%{_datadir}/gcov/obj/*
+%endif