1 Name: capi-media-player
2 Summary: A Media Player library in Tizen Native API
6 License: TO BE FILLED IN
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(dlog)
10 BuildRequires: pkgconfig(mm-player)
11 BuildRequires: pkgconfig(capi-base-common)
12 BuildRequires: pkgconfig(capi-media-sound-manager)
13 BuildRequires: pkgconfig(mm-ta)
14 Requires(post): /sbin/ldconfig
15 Requires(postun): /sbin/ldconfig
21 Summary: A Media Player library in Tizen Native API (Development)
22 Group: TO_BE/FILLED_IN
23 Requires: %{name} = %{version}-%{release}
32 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
33 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
40 mkdir -p %{buildroot}/usr/share/license
41 cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
44 %post -p /sbin/ldconfig
46 %postun -p /sbin/ldconfig
50 %manifest capi-media-player.manifest
51 %{_libdir}/libcapi-media-player.so.*
52 %{_datadir}/license/%{name}
55 %{_includedir}/media/*.h
56 %{_libdir}/pkgconfig/*.pc
57 %{_libdir}/libcapi-media-player.so