diff options
author | Yan Yin <yan.yin@intel.com> | 2012-03-14 12:03:11 +0800 |
---|---|---|
committer | Yan Yin <yan.yin@intel.com> | 2012-03-14 12:03:11 +0800 |
commit | 964a7459780bab7feccaad18cbe06e0586b53121 (patch) | |
tree | ac8d364069409320de314b003794d560ed799597 | |
parent | dca65941436451bbd75cb3e935bfa1c611794932 (diff) | |
download | image-util-964a7459780bab7feccaad18cbe06e0586b53121.tar.gz image-util-964a7459780bab7feccaad18cbe06e0586b53121.tar.bz2 image-util-964a7459780bab7feccaad18cbe06e0586b53121.zip |
update for beta universally
-rwxr-xr-x | packaging/capi-media-image-util.spec | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/packaging/capi-media-image-util.spec b/packaging/capi-media-image-util.spec index 273e8c0..cb83a1d 100755 --- a/packaging/capi-media-image-util.spec +++ b/packaging/capi-media-image-util.spec @@ -1,14 +1,16 @@ -Name: capi-image-util +Name: capi-media-image-util Summary: A Image 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(capi-base-common) BuildRequires: pkgconfig(mmutil-jpeg) BuildRequires: pkgconfig(mmutil-imgp) BuildRequires: pkgconfig(dlog) +BuildRequires: pkgconfig(mm-common) Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig @@ -29,7 +31,9 @@ Requires: %{name} = %{version}-%{release} %build -cmake . +FULLVER=%{version} +MAJORVER=`echo ${FULLVER} | cut -d '.' -f 1` +cmake . -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER} make %{?jobs:-j%jobs} @@ -44,7 +48,7 @@ rm -rf %{buildroot} %files -%{_libdir}/libcapi-media-image-util.so +%{_libdir}/libcapi-media-image-util.so* %files devel %{_includedir}/media/*.h |