#sbs-git:slp/api/radio capi-media-radio 0.1.0 59dddd8ea3de373c44c66ce2a298ca81240305a8 Name: capi-media-radio Summary: A Radio library in Tizen Native API Version: 0.1.1 Release: 12 Group: TO_BE_FILLED License: TO_BE_FILLED Source0: %{name}-%{version}.tar.gz BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(mm-radio) BuildRequires: pkgconfig(capi-base-common) BuildRequires: pkgconfig(capi-system-info) BuildRequires: cmake BuildRequires: gettext-devel %description A Radio library in Tizen Native API. %package devel Summary: A Radio library in Tizen Native API (Development) Group: TO_BE_FILLED Requires: %{name} = %{version}-%{release} %description devel A Radio library in Tizen Native API (Development). %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 mkdir -p %{buildroot}/usr/share/license mkdir -p %{buildroot}/opt/usr/devel cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name} cp test/radio_test %{buildroot}/opt/usr/devel %post %postun %files %manifest capi-media-radio.manifest %defattr(-,root,root,-) /usr/lib/libcapi-media-radio.so.* /usr/share/license/%{name} /opt/usr/devel/* %files devel %defattr(-,root,root,-) /usr/include/media/radio.h /usr/lib/pkgconfig/capi-media-radio.pc /usr/lib/libcapi-media-radio.so