1 Name: capi-media-wav-player
2 Summary: A wav player library in Tizen C API
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: capi-media-wav-player.manifest
10 BuildRequires: pkgconfig(mm-sound)
11 BuildRequires: pkgconfig(dlog)
12 BuildRequires: pkgconfig(capi-base-common)
13 BuildRequires: pkgconfig(capi-media-sound-manager)
16 A wav player library in Tizen C API.
19 Summary: A wav player library in Tizen C API (Development)
20 Group: Development/Multimedia
21 Requires: %{name} = %{version}-%{release}
31 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
32 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
33 %if "%{tizen_profile_name}" != "tv"
34 -DTIZEN_FEATURE_TESTSUITE=On
36 -DTIZEN_FEATURE_TESTSUITE=Off
38 %__make %{?jobs:-j%jobs}
43 %post -p /sbin/ldconfig
45 %postun -p /sbin/ldconfig
48 %manifest %{name}.manifest
49 %license LICENSE.APLv2
50 %{_libdir}/libcapi-media-wav-player.so.*
51 %if "%{tizen_profile_name}" != "tv"
52 %{_bindir}/wav_player_test
56 %manifest %{name}.manifest
57 %{_includedir}/media/*.h
58 %{_libdir}/pkgconfig/*.pc
59 %{_libdir}/libcapi-media-wav-player.so