From: Yan Yin Date: Wed, 14 Mar 2012 03:50:41 +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=f61276e3813314d5d6e494bf62c34d8b5c6d3eeb;p=platform%2Fcore%2Fapi%2Fnfc.git update for beta universally --- diff --git a/packaging/capi-network-nfc.spec b/packaging/capi-network-nfc.spec index 0d80d06..3f66b29 100755 --- a/packaging/capi-network-nfc.spec +++ b/packaging/capi-network-nfc.spec @@ -3,7 +3,7 @@ Summary: A NFC library in Tizen Native API Version: 0.0.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) @@ -31,7 +31,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} @@ -46,7 +48,7 @@ rm -rf %{buildroot} %files -%{_libdir}/libcapi-network-nfc.so +%{_libdir}/libcapi-network-nfc.so* %files devel %{_includedir}/network/*.h