diff options
-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 |