#sbs-git:slp/api/sound-manager capi-media-sound-manager 0.1.0 6ac5ae741e8b8dc20b33fc82c3f74602b19732d4 Name: capi-media-sound-manager Summary: Sound Manager library Version: 0.1.0 Release: 13 Group: TO_BE/FILLED_IN License: TO BE FILLED IN Source0: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(mm-sound) BuildRequires: pkgconfig(mm-session) BuildRequires: pkgconfig(capi-base-common) Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description A Sound Manager library in Tizen C API %package devel Summary: Sound Manager library (Development) Group: TO_BE/FILLED_IN Requires: %{name} = %{version}-%{release} %description devel A Sound Manager library in Tizen C API (DEV) %prep %setup -q %build MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %{_libdir}/libcapi-media-sound-manager.so.* %files devel %{_includedir}/media/sound_manager.h %{_libdir}/pkgconfig/*.pc %{_libdir}/libcapi-media-sound-manager.so