diff options
-rw-r--r-- | packaging/capi-content-media-content.spec | 10 |
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 |