summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Yin <yan.yin@intel.com>2012-03-14 11:53:06 +0800
committerYan Yin <yan.yin@intel.com>2012-03-14 11:53:06 +0800
commite9d13977a737f6a2a751422974f7b917b044fa7b (patch)
tree7987c358266a9fa722685c4f1214ff9d49604cb7
parent7275751b68f89fd87cda7655d6b486c54a5eec16 (diff)
downloadmedia-content-e9d13977a737f6a2a751422974f7b917b044fa7b.tar.gz
media-content-e9d13977a737f6a2a751422974f7b917b044fa7b.tar.bz2
media-content-e9d13977a737f6a2a751422974f7b917b044fa7b.zip
update for beta universally
-rw-r--r--packaging/capi-content-media-content.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/packaging/capi-content-media-content.spec b/packaging/capi-content-media-content.spec
index 9143ecd..cb8ac89 100644
--- a/packaging/capi-content-media-content.spec
+++ b/packaging/capi-content-media-content.spec
@@ -1,9 +1,9 @@
Name: capi-content-media-content
Summary: A Media content library in SLP 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)
@@ -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-content-media-content.so
+%{_libdir}/libcapi-content-media-content.so*
%files devel
%{_includedir}/media-content/*.h