projects
/
framework
/
api
/
sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
06d91bd
)
update for beta universally
author
Yan Yin
<yan.yin@intel.com>
Wed, 14 Mar 2012 03:54:03 +0000
(11:54 +0800)
committer
Yan Yin
<yan.yin@intel.com>
Wed, 14 Mar 2012 03:54:03 +0000
(11:54 +0800)
packaging/capi-telephony-sim.spec
patch
|
blob
|
history
diff --git
a/packaging/capi-telephony-sim.spec
b/packaging/capi-telephony-sim.spec
index
58039ea
..
122c33c
100644
(file)
--- a/
packaging/capi-telephony-sim.spec
+++ b/
packaging/capi-telephony-sim.spec
@@
-1,9
+1,9
@@
Name: capi-telephony-sim
Summary: Telephony SIM Framework
Name: capi-telephony-sim
Summary: Telephony SIM Framework
-Version: 0.
0.1
+Version: 0.
1.0
Release: 1
Group: TO_BE/FILLED_IN
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)
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
@@
-31,7
+31,9
@@
Requires: %{name} = %{version}-%{release}
%build
%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}
make %{?jobs:-j%jobs}
@@
-46,7
+48,7
@@
rm -rf %{buildroot}
%files
%files
-%{_libdir}/libcapi-telephony-sim.so
+%{_libdir}/libcapi-telephony-sim.so
*
%files devel
%{_includedir}/telephony/sim.h
%files devel
%{_includedir}/telephony/sim.h