summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Yin <yan.yin@intel.com>2012-03-14 11:54:09 +0800
committerYan Yin <yan.yin@intel.com>2012-03-14 11:54:09 +0800
commit6c1b43fb6c3e0f57d7e319d80725ca3623b47e04 (patch)
tree484c4de213cd4bb04b93fa6211d07bed6d393624
parentb7f4e4cfe7951a4cb52683c28172a36e8bc8666e (diff)
downloadcalendar-6c1b43fb6c3e0f57d7e319d80725ca3623b47e04.tar.gz
calendar-6c1b43fb6c3e0f57d7e319d80725ca3623b47e04.tar.bz2
calendar-6c1b43fb6c3e0f57d7e319d80725ca3623b47e04.zip
update for beta universally
-rwxr-xr-xpackaging/capi-social-calendar.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/packaging/capi-social-calendar.spec b/packaging/capi-social-calendar.spec
index eec912a..33692d1 100755
--- a/packaging/capi-social-calendar.spec
+++ b/packaging/capi-social-calendar.spec
@@ -1,9 +1,9 @@
Name: capi-social-calendar
Summary: Calendar library in Tizen Native API
-Version: 0.0.1
+Version: 0.1.1
Release: 1
Group: TO_BE/FILLED_IN
-License: TO BE FILLED IN
+License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
@@ -32,7 +32,9 @@ Requires: %{name} = %{version}-%{release}
%build
-cmake . -DCMAKE_INSTALL_PREFIX=/usr
+FULLVER=%{version}
+MAJORVER=`echo ${FULLVER} | cut -d '.' -f 1`
+cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER}
make %{?jobs:-j%jobs}
@@ -47,7 +49,7 @@ rm -rf %{buildroot}
%files
-%{_libdir}/libcapi-social-calendar.so
+%{_libdir}/libcapi-social-calendar.so*
%files devel
%{_includedir}/social/*.h