Name: capi-media-tone-player
Summary: A tone player library in Tizen Native API
-Version: 0.0.1
+Version: 0.1.0
Release: 1
Group: TO_BE/FILLED_IN
-License: TO BE FILLED IN
+License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: pkgconfig(mm-sound)
%build
-cmake .
-
+FULLVER=%{version}
+MAJORVER=`echo ${FULLVER} | cut -d '.' -f 1`
+cmake . -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER}
make %{?jobs:-j%jobs}
%files
-%{_libdir}/libcapi-media-tone-player.so
+%{_libdir}/libcapi-media-tone-player.so*
%files devel
%{_includedir}/media/*.h