diff options
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/capi-social-calendar.spec | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/packaging/capi-social-calendar.spec b/packaging/capi-social-calendar.spec index 33692d1..ddc8939 100755 --- a/packaging/capi-social-calendar.spec +++ b/packaging/capi-social-calendar.spec @@ -1,7 +1,7 @@ Name: capi-social-calendar Summary: Calendar library in Tizen Native API Version: 0.1.1 -Release: 1 +Release: 35 Group: TO_BE/FILLED_IN License: Apache-2.0 Source0: %{name}-%{version}.tar.gz @@ -12,6 +12,8 @@ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(alarm-service) BuildRequires: pkgconfig(capi-social-contacts) BuildRequires: pkgconfig(capi-base-common) +BuildRequires: pkgconfig(calendar-service) + Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig @@ -32,9 +34,8 @@ Requires: %{name} = %{version}-%{release} %build -FULLVER=%{version} -MAJORVER=`echo ${FULLVER} | cut -d '.' -f 1` -cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER} +MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` +cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} make %{?jobs:-j%jobs} @@ -49,10 +50,11 @@ rm -rf %{buildroot} %files -%{_libdir}/libcapi-social-calendar.so* +%{_libdir}/libcapi-social-calendar.so.* %files devel %{_includedir}/social/*.h %{_libdir}/pkgconfig/*.pc +%{_libdir}/libcapi-social-calendar.so |