summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorKim Kibum <kb0929.kim@samsung.com>2012-04-29 16:58:24 +0900
committerKim Kibum <kb0929.kim@samsung.com>2012-04-29 16:58:24 +0900
commitdcf72b8eb11ba639b3617674dc098cfc264c5ce5 (patch)
treeaaf9f459ac903523b8e9a3984ebe6711d5a406a3 /packaging
parenta6f585bb7b4c5d8c9a85b3ebf665f220874cb9ef (diff)
downloadefl-util-dcf72b8eb11ba639b3617674dc098cfc264c5ce5.tar.gz
efl-util-dcf72b8eb11ba639b3617674dc098cfc264c5ce5.tar.bz2
efl-util-dcf72b8eb11ba639b3617674dc098cfc264c5ce5.zip
upload tizen1.0 source
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/capi-ui-efl-util.spec10
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/capi-ui-efl-util.spec b/packaging/capi-ui-efl-util.spec
index 5562dc1..290e7b3 100755
--- a/packaging/capi-ui-efl-util.spec
+++ b/packaging/capi-ui-efl-util.spec
@@ -1,7 +1,7 @@
Name: capi-ui-efl-util
Summary: An EFL utility library in Tizen Native API
Version: 0.1.0
-Release: 1
+Release: 5
Group: TO_BE/FILLED_IN
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
@@ -29,9 +29,8 @@ Requires: %{name} = %{version}-%{release}
%build
-FULLVER=%{version}
-MAJORVER=`echo ${FULLVER} | cut -d '.' -f 1`
-cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER}
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
make %{?jobs:-j%jobs}
@@ -46,10 +45,11 @@ rm -rf %{buildroot}
%files
-%{_libdir}/libcapi-ui-efl-util.so*
+%{_libdir}/libcapi-ui-efl-util.so.*
%files devel
%{_includedir}/ui/*.h
%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-ui-efl-util.so