diff options
author | Yan Yin <yan.yin@intel.com> | 2012-03-14 12:02:53 +0800 |
---|---|---|
committer | Yan Yin <yan.yin@intel.com> | 2012-03-14 12:02:53 +0800 |
commit | 9655a4418200506aaf07083abd3258a4bba0cc00 (patch) | |
tree | 3b3550ee87c319c0a19dc7a8bf14f165ba6efcf7 | |
parent | bb98cc7be09896b2ba5ad4a338cf641f2ba0802e (diff) | |
download | connection-9655a4418200506aaf07083abd3258a4bba0cc00.tar.gz connection-9655a4418200506aaf07083abd3258a4bba0cc00.tar.bz2 connection-9655a4418200506aaf07083abd3258a4bba0cc00.zip |
update for beta universally
-rw-r--r-- | packaging/capi-network-connection.spec | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/packaging/capi-network-connection.spec b/packaging/capi-network-connection.spec index b1aeff0..f31e896 100644 --- a/packaging/capi-network-connection.spec +++ b/packaging/capi-network-connection.spec @@ -1,13 +1,14 @@ Name: capi-network-connection Summary: Network Connection 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) -BuildRequires: pkgconfig(dnet) +BuildRequires: pkgconfig(vconf) +BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(capi-base-common) Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig @@ -29,7 +30,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 +47,7 @@ rm -rf %{buildroot} %files -%{_libdir}/libcapi-network-connection.so +%{_libdir}/libcapi-network-connection.so* %files devel %{_includedir}/network/*.h |