summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Yin <yan.yin@intel.com>2012-03-14 15:45:59 +0800
committerYan Yin <yan.yin@intel.com>2012-03-14 15:45:59 +0800
commit8168dbdfc37927f2fb2b4e9c55d80559a98adbb2 (patch)
tree1cf5b10347d19de79b1f4847fbfffb291fbfafc1
parentd42be5ffc31f17e33bfb4a1d7fa375aa0f7f0195 (diff)
downloadlocation-manager-8168dbdfc37927f2fb2b4e9c55d80559a98adbb2.tar.gz
location-manager-8168dbdfc37927f2fb2b4e9c55d80559a98adbb2.tar.bz2
location-manager-8168dbdfc37927f2fb2b4e9c55d80559a98adbb2.zip
update for beta universally
-rw-r--r--packaging/capi-location-manager.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/packaging/capi-location-manager.spec b/packaging/capi-location-manager.spec
index 82cfb96..0fa633f 100644
--- a/packaging/capi-location-manager.spec
+++ b/packaging/capi-location-manager.spec
@@ -1,9 +1,9 @@
Name: capi-location-manager
Summary: A Location Manager library in Tizen Native 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-location-manager.so
+%{_libdir}/libcapi-location-manager.so*
%files devel
%{_includedir}/location/*.h