From: Yan Yin Date: Wed, 14 Mar 2012 03:53:31 +0000 (+0800) Subject: update for beta universally X-Git-Tag: 2.0_alpha~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=336d009873cc424dbf7e93295e29b27ed507f992;p=platform%2Fcore%2Fapi%2Fsensor.git update for beta universally --- diff --git a/packaging/capi-system-sensor.spec b/packaging/capi-system-sensor.spec index 588d867..66c7a0a 100644 --- a/packaging/capi-system-sensor.spec +++ b/packaging/capi-system-sensor.spec @@ -1,9 +1,9 @@ Name: capi-system-sensor Summary: A Sensor library in TIZEN C API -Version: 0.0.1 +Version: 0.1.0 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) @@ -29,7 +29,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} @@ -44,7 +46,7 @@ rm -rf %{buildroot} %files -%{_libdir}/libcapi-system-sensor.so +%{_libdir}/libcapi-system-sensor.so* %files devel %{_includedir}/system/sensors.h