diff options
author | Yan Yin <yan.yin@intel.com> | 2012-03-14 11:53:20 +0800 |
---|---|---|
committer | Yan Yin <yan.yin@intel.com> | 2012-03-14 11:53:20 +0800 |
commit | 777cf1aec98857904b0034338ac6883bfae67044 (patch) | |
tree | 33507d11003d73573e42c725a59a2a95de19ee15 /packaging | |
parent | 37814df2668b6850c8c8cda0e9b78677e148042f (diff) | |
download | geocoder-777cf1aec98857904b0034338ac6883bfae67044.tar.gz geocoder-777cf1aec98857904b0034338ac6883bfae67044.tar.bz2 geocoder-777cf1aec98857904b0034338ac6883bfae67044.zip |
update for beta universally
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/capi-location-geocoder.spec | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/packaging/capi-location-geocoder.spec b/packaging/capi-location-geocoder.spec index ebaa0cc..63962e2 100644 --- a/packaging/capi-location-geocoder.spec +++ b/packaging/capi-location-geocoder.spec @@ -1,9 +1,9 @@ Name: capi-location-geocoder Summary: A Geocoder 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-geocoder.so +%{_libdir}/libcapi-location-geocoder.so* %files devel %{_includedir}/location/geocoder.h |