From a6f585bb7b4c5d8c9a85b3ebf665f220874cb9ef Mon Sep 17 00:00:00 2001 From: Yan Yin Date: Wed, 14 Mar 2012 11:50:54 +0800 Subject: update for beta universally --- packaging/capi-ui-efl-util.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packaging/capi-ui-efl-util.spec b/packaging/capi-ui-efl-util.spec index b4509e4..5562dc1 100755 --- a/packaging/capi-ui-efl-util.spec +++ b/packaging/capi-ui-efl-util.spec @@ -1,9 +1,9 @@ Name: capi-ui-efl-util Summary: An EFL utility 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-ui-efl-util.so +%{_libdir}/libcapi-ui-efl-util.so* %files devel %{_includedir}/ui/*.h -- cgit v1.2.3